fix(ui): admin errors filters, overview views, phone menu, ended projects

- Admin errors: filters stack on phones (tabs, search, Sort and Group,
  refresh) instead of squeezing into one row
- Admin overview: Summary / Performance / Cache views, kept in the URL
  hash; charts take the full width on phones
- Phone menu: aligned rows with icons, neutral fill for the current page,
  account links inline, no duplicate Sign in
- My work: removed and expired projects get a labelled badge, a muted
  "Link offline" in place of the copy link, and an inline Enable/Extend

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Thomas DurieuxandClaude Opus 5.5 committed 2026-11-09 09:18:25 +00:00
1 parent 4263a87399
commit 9ba9af2b44
9 files changed
+132 -34

No files matched your search

+6
View File
@@ -1778,6 +1778,12 @@ export const overviewAdminController = function (state, http, location, interval
state.cacheError = null;
state.cacheMinutes = 60;
state.cacheTraffic = "all";
// The overview is split into views; the hash keeps the chosen one on reload.
state.ovView = ["performance", "cache"].includes((window.location.hash || "").slice(1)) ? window.location.hash.slice(1) : "summary";
state.setOvView = function (view) {
state.ovView = view;
try { window.history.replaceState(null, "", view === "summary" ? window.location.pathname : "#" + view); } catch (e) { /* ignore */ }
};
var cacheLoading = false;
state.loadCache = function () {
if (cacheLoading) return;