Move account pages into a menu under the user's name (SCR-3)
CI / validate-monitoring (push) Successful in 8s
CI / lint (push) Successful in 13s
CI / federation-interop (push) Successful in 1m41s
CI / test (push) Successful in 4m13s
CI / images (push) Skipped
CI / assets (push) Skipped
CI / python-package (push) Skipped
CI / trigger-deploy (push) Skipped
CI / notify (push) Successful in 5s

The header's name link and Sign out become a button opening a menu of Profile, Sharing,
Apps, Sessions, Import and Sign out; the main nav keeps Overview, History and Album art.
Keyboard and screen-reader friendly. The Profile page now refetches the user after a
failed change instead of showing stale state.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
mattandClaude Sonnet 5.5 committed 2026-10-13 22:12:02 +01:00
1 parent a7ba6360e5
commit 7f8afdcdbb
6 files changed
+193 -33

No files matched your search

+2
View File
@@ -29,6 +29,8 @@ async function change(action, done) {
say(h("p", { class: "notice notice-ok" }, done));
} catch (error) {
say(errorBox(describeError(error)));
// The change may have half-happened, or the page was out of date: show what's true now.
user = await api("/auth/me").catch(() => user);
}
render();
const slot = document.querySelector(".account-avatar");