How to use studio?

Account and cluster

Sessions, password, theme, notifications and switching between cluster nodes in the agdb studio

Account menu

Your username at the top right opens the account menu:

  • Admin View / User View: for the server admin, switches to the admin pages and back.
  • Sessions: opens Active Sessions, your logins in this and other browsers and devices, with when they were created and when they expire. Log out any of them with its button.
  • Change password: your Current password and a New password of at least 8 characters, twice.
  • Theme: System (follows your operating system), Light or Dark. The choice is kept in the browser.
  • Log out: when you have more than one session, choose Current session, All sessions, Other sessions or a single one. Log out on all nodes in the cluster is ticked by default.

Sessions

A login lasts for the server's token_expiry_seconds (1 hour by default). The studio checks it every minute. When it ends, all open dialogs close, the login page says Session ended, and after you log in again as the same user you are back on the page you were on.

The login is shared by all tabs of the browser: logging out in one tab logs out the others.

Notifications

Messages appear at the bottom right of the page. Errors stay until you close them, other messages go away after a few seconds. The bell button in the same corner opens the last 50 of them, with a button to clear them all (it asks first).

If the server stops answering, the studio says Can't reach the server and keeps retrying for a while when the page loads. If it still cannot connect, start the server and reload the page.

Cluster

The top bar shows Connected to: and the server you are on (hidden while a cluster has no leader). When the server runs as a cluster, a crown shows when you are on the leader, and a coloured dot shows the health of the cluster:

ColourMeaning
greenAll nodes are up and there is a leader.
amberA node is down, or there is no leader (election running).
redAll nodes are down, there are no nodes, or the status could not be fetched.
greyThe status is not loaded yet.

When something is wrong, the text Cluster degraded, Cluster unhealthy or Cluster unknown is shown as well.

Hover or click it to see the nodes: whether each one is online, and whether you are logged in there. Click an online node to switch the studio to it (until you reload the page). If you are not logged in on that node, the studio logs you out of the current node in this browser (in all tabs) and opens the login page with the new node's address filled in. Log in with Log in on all nodes in the cluster to switch freely.