memos/web/src
johnnyjoygh ec689c3a03 chore(sidebar): replace static mode with a library-content fallback
The rail had two navigation grammars for the same destinations: a
compact icon strip on recognized routes, and StaticNavigation — full
labeled rows — on everything else (/about, /403, /404, wildcard).
Crossing onto one of those pages rearranged the entire rail, and any
route nobody remembered to classify silently inherited the alternate
layout.

Make the frame invariant instead: header, global strip, contextual
content, footer — on every route. Pages without a specific sidebar
tenant now fall back to the default library content (the home
collection for signed-in users, explore for guests), following the
convention that error and utility pages render inside the persistent
shell rather than degrading it. The memo-detail route gets the same
fallback while the page has not yet published its descriptor, instead
of a blank scroll area.

Off the collection routes the library is display-plus-navigation, so
StatisticsView and TagsSection accept a navigationTarget: calendar and
tag clicks land on / or /explore with the filter in the query string,
which RootLayout's route-change effect would otherwise wipe.

StaticNavigation is deleted, About returns to living only in the user
menu (the showAbout prop is gone), and the guest strip now marks About
active on /about.
2026-08-07 00:04:04 +08:00
..
components chore(sidebar): replace static mode with a library-content fallback 2026-08-07 00:04:04 +08:00
contexts chore(sidebar): improve view and tag controls 2026-08-05 23:12:49 +08:00
hooks refactor(sidebar): reduce tooltip noise and refine tags 2026-08-05 23:52:13 +08:00
layouts feat(sidebar): make the desktop rail resizable (#6148) 2026-08-06 19:18:38 +08:00
lib feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
locales feat(sidebar): make the desktop rail resizable (#6148) 2026-08-06 19:18:38 +08:00
pages fix(web): keep task checkboxes controlled so check-all updates render 2026-08-06 09:09:37 +08:00
router perf(web): reduce memo feed startup and rendering work 2026-07-20 00:15:26 +08:00
themes fix(editor): restore CodeMirror default spacing 2026-07-14 21:35:55 +08:00
types feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
utils chore(web): prune frontend dependencies 2026-08-06 00:13:09 +08:00
App.tsx chore: scope memo providers to authenticated routes 2026-07-30 23:42:37 +08:00
auth-state.ts fix(auth): recover session via refresh cookie when localStorage is empty (#5748) 2026-03-20 19:21:11 +08:00
connect.ts fix(sse): stream initial response and refresh tokens 2026-05-09 09:15:50 +08:00
i18n.ts feat(i18n): expand European locale coverage 2026-06-09 09:07:28 +08:00
index.css refactor: rebuild the editor on CodeMirror as decorated source 2026-06-28 22:59:14 +08:00
main.tsx refactor(sidebar): reduce tooltip noise and refine tags 2026-08-05 23:52:13 +08:00