From b0e711f9f7e0d2d9f6b39dd987004d2f9b1dcda7 Mon Sep 17 00:00:00 2001 From: tv Date: Mon, 9 Nov 2026 12:11:26 +0000 Subject: dashboard: nothing shown or read after logging out, back button included After "log out" the page went to the login page, and the browser's back button brought it back as it was (kept whole in its history): the map, the peers and the console went on updating, by the stream it still had open and the subscriptions' token it still held, though the session had ended (the document box, reading anew, got 401s). Now leaving for the login page (`toLogin`: logging out, or the login ending) stops the page's reading first: its stream, its subscriptions, its timers and tokens. And a page the browser brings back whole (`pageshow`, `persisted`) loads again instead, so it reads with the session it has now, and without one goes to the login page. --- docs/dashboard.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs/dashboard.md') diff --git a/docs/dashboard.md b/docs/dashboard.md index 4948c03..ec99f97 100644 --- a/docs/dashboard.md +++ b/docs/dashboard.md @@ -27,7 +27,9 @@ dashboard is open (half way through the token's life, looked at again when the p shows, so after the computer slept too) until the login ends (`--session-lifetime`), then back to the login page; it ends with the token's lifetime once not renewed, or with "Log out of this browser" on the login page, or "log out" in the user's menu on the dashboard (its -name, top right), which ends this browser's session only. Where the page got in by +name, top right), which ends this browser's session only: the page stops reading +and goes to the login page, and brought back by the browser's back button it loads +again, so it shows nothing from before. Where the page got in by what it can't end, the proxy's, "log out" is greyed, and says how instead. The menu's "credentials…" shows the user's keys, each by its name and as much of the key as fits the dialog, cut in the middle where it doesn't (its end and comment always shown, the whole in its tooltip), and `edit` at the right: its name -- cgit v1.3.1