memos/web/tests
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
..
about-page.test.tsx chore(web): add static navigation for default routes 2026-08-05 21:46:34 +08:00
activity-calendar-tooltip.test.ts feat(activity-calendar): aggregate by ViewContext.timeBasis 2026-05-02 00:26:53 +08:00
app-sidebar-context.test.tsx feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
app-sidebar-logo.test.tsx chore(sidebar): replace static mode with a library-content fallback 2026-08-07 00:04:04 +08:00
app-sidebar-routes.test.ts feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
attachment-library-source-link.test.tsx fix(attachments): link media to source memos 2026-07-29 09:06:42 +08:00
attachment-library-stats.test.ts feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
auth-context-initialization.test.tsx chore: scope memo providers to authenticated routes 2026-07-30 23:42:37 +08:00
auth-page-layout.test.tsx chore(auth): redesign sign-in and sign-up pages with panel layout 2026-07-13 19:40:31 +08:00
auth-redirect.test.ts refactor(web/routing): guard-based auth flow, migrate tests to Vitest (#5848) 2026-04-18 01:06:54 +08:00
calendar-cell-empty-clickable.test.tsx fix(sidebar): stop the month calendar growing with the rail 2026-08-06 22:59:21 +08:00
column-count.test.ts feat(web): add max-columns memo feed layout 2026-07-06 23:55:36 +08:00
column-grid-planner.test.ts fix(web): stabilize multi-column memo layout 2026-07-09 20:56:35 +08:00
column-grid.test.tsx chore(web): unify compact truncation into a single ClampedSection 2026-07-07 21:01:19 +08:00
create-access-token-dialog.test.tsx test(release): cover 0.30.0 changelog promises 2026-07-26 22:21:19 +08:00
create-webhook-dialog.test.tsx test(release): cover 0.30.0 changelog promises 2026-07-26 22:21:19 +08:00
date-filter-navigation.test.tsx feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
derive-default-create-time.test.ts feat(memo): create memos on the selected calendar date (#5925) 2026-05-02 11:53:50 +08:00
editor-controller.test.ts chore: add global quick-create entry 2026-07-29 08:57:04 +08:00
editor-decorations.test.ts fix(markdown): support word-internal apostrophes in tags (#6135) 2026-08-02 21:08:57 +08:00
editor-formatting.test.ts test(release): cover 0.30.0 changelog promises 2026-07-26 22:21:19 +08:00
editor-heading-decorations.test.ts refactor: rebuild the editor on CodeMirror as decorated source 2026-06-28 22:59:14 +08:00
editor-keys.test.ts fix(editor): align CodeMirror markdown event handling 2026-07-10 18:59:33 +08:00
editor-tag-autocomplete.test.ts fix(markdown): support word-internal apostrophes in tags (#6135) 2026-08-02 21:08:57 +08:00
editor.test.tsx chore: scope memo providers to authenticated routes 2026-07-30 23:42:37 +08:00
error.test.ts fix(api): show clean RPC error messages 2026-07-18 11:20:15 +08:00
filtered-memo-stats.test.ts chore(sidebar): improve view and tag controls 2026-08-05 23:12:49 +08:00
formatting-toolbar.test.tsx chore: add global quick-create entry 2026-07-29 08:57:04 +08:00
gfm-email.test.ts feat(markdown): unify tag syntax and recognition (#6132) 2026-08-02 14:46:04 +08:00
gfm-url.test.ts feat(markdown): unify tag syntax and recognition (#6132) 2026-08-02 14:46:04 +08:00
guards.test.tsx perf(web): reduce memo feed startup and rendering work 2026-07-20 00:15:26 +08:00
hoist-new-memo.test.ts feat: surface newly created memo above pinned list 2026-06-21 14:11:46 +08:00
home-loading-boundary.test.tsx chore: scope memo providers to authenticated routes 2026-07-30 23:42:37 +08:00
hooks.test.tsx refactor(frontend): remove react-use dependency 2026-05-31 18:32:17 +08:00
i18n-locale-search.test.ts feat(i18n): add searchable locale picker 2026-06-09 09:33:17 +08:00
live-memo-refresh.test.tsx perf(sse): reduce redundant connections and fanout overhead 2026-07-29 21:47:54 +08:00
locale-picker.test.tsx feat(i18n): add searchable locale picker 2026-06-09 09:33:17 +08:00
location-display-view.test.tsx test(release): cover 0.30.0 changelog promises 2026-07-26 22:21:19 +08:00
location-picker.test.tsx perf: lazy load heavy first-screen dependencies (#5947) 2026-05-12 20:11:39 +08:00
markdown-task-actions.test.ts feat(memo): add task list quick actions (#5983) 2026-05-27 09:13:55 +08:00
media-loading.test.tsx perf(web): reduce demo bandwidth usage 2026-07-18 22:06:14 +08:00
memo-body-compact.test.tsx chore: scope memo providers to authenticated routes 2026-07-30 23:42:37 +08:00
memo-card-height.test.ts fix(web): stabilize multi-column memo layout 2026-07-09 20:56:35 +08:00
memo-comments-pagination.test.tsx test(release): cover 0.30.0 changelog promises 2026-07-26 22:21:19 +08:00
memo-content-footnotes.test.tsx test(release): cover 0.30.0 changelog promises 2026-07-26 22:21:19 +08:00
memo-content-lazy-renderers.test.tsx perf(web): reduce demo bandwidth usage 2026-07-18 22:06:14 +08:00
memo-content-link-preview.test.tsx feat(web): add link preview view setting 2026-06-25 20:45:51 +08:00
memo-content-list.test.tsx fix(markdown): keep task item content in one grid column 2026-05-27 23:57:23 +08:00
memo-content-paragraph.test.tsx feat(stats): support filtered all-user stats 2026-05-09 09:11:04 +08:00
memo-content-security.test.tsx fix(web): preserve task checkbox state (#5867) 2026-04-20 23:27:00 +08:00
memo-detail-sidebar.test.tsx feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
memo-display-setting-menu.test.tsx chore(sidebar): improve view and tag controls 2026-08-05 23:12:49 +08:00
memo-editor-cache.test.ts chore: add global quick-create entry 2026-07-29 08:57:04 +08:00
memo-editor-extensions.test.ts fix(editor): restore CodeMirror default spacing 2026-07-14 21:35:55 +08:00
memo-filter-context.test.tsx feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
memo-markdown-memoization.test.tsx perf(web): reduce memo feed startup and rendering work 2026-07-20 00:15:26 +08:00
memo-share-image.test.ts perf(web): reduce demo bandwidth usage 2026-07-18 22:06:14 +08:00
memo-views.test.ts feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
mermaid-block.test.tsx perf: lazy load heavy first-screen dependencies (#5947) 2026-05-12 20:11:39 +08:00
month-navigator.test.tsx feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
near-viewport.test.tsx perf(web): reduce memo feed startup and rendering work 2026-07-20 00:15:26 +08:00
oauth.test.ts feat(auth): add SSO user identity linkage (#5883) 2026-04-23 08:51:45 +08:00
overflow-title.test.tsx refactor(sidebar): reduce tooltip noise and refine tags 2026-08-05 23:52:13 +08:00
paged-memo-list.test.tsx chore: scope memo providers to authenticated routes 2026-07-30 23:42:37 +08:00
password-sign-in-form.test.tsx chore(demo): harden SSO-only demo experience 2026-07-13 00:31:15 +08:00
placeholder-component.test.tsx feat(frontend): add pixel bird tilemaps 2026-05-14 00:03:21 +08:00
placeholder-pool.test.ts feat(about): add about page with bird sprites 2026-05-14 20:30:37 +08:00
preview-image-dialog.test.tsx chore(web): migrate UI primitives to Base UI 2026-07-14 09:06:40 +08:00
query-deduplication.test.tsx perf(web): reduce memo feed startup and rendering work 2026-07-20 00:15:26 +08:00
quick-find.test.ts feat(web): unify navigation in a route-aware sidebar (#6144) 2026-08-05 09:05:57 +08:00
redirect-safety.test.ts feat(auth): add private instance mode derived from instance_url 2026-07-05 22:48:00 +08:00
remark-mention.test.ts feat(user): define username format and mention syntax (#6134) 2026-08-02 19:57:16 +08:00
remark-tag.test.tsx fix(markdown): support word-internal apostrophes in tags (#6135) 2026-08-02 21:08:57 +08:00
router-config.test.tsx perf(web): reduce memo feed startup and rendering work 2026-07-20 00:15:26 +08:00
scroll-restoration.test.tsx chore: scope memo providers to authenticated routes 2026-07-30 23:42:37 +08:00
select.test.tsx fix(ui): keep select menus above parent popovers 2026-07-27 22:05:20 +08:00
setup.ts refactor: rebuild the editor on CodeMirror as decorated source 2026-06-28 22:59:14 +08:00
sidebar-resize-handle.test.tsx feat(sidebar): make the desktop rail resizable (#6148) 2026-08-06 19:18:38 +08:00
sidebar-row-grammar.test.tsx fix(sidebar): stop the month calendar growing with the rail 2026-08-06 22:59:21 +08:00
sidebar-width.test.tsx feat(sidebar): make the desktop rail resizable (#6148) 2026-08-06 19:18:38 +08:00
sign-in-page.test.tsx fix(auth): stabilize SSO option loading 2026-07-14 20:06:54 +08:00
tag-grammar.test.ts fix(markdown): support word-internal apostrophes in tags (#6135) 2026-08-02 21:08:57 +08:00
tag-tree-render.test.tsx refactor(sidebar): reduce tooltip noise and refine tags 2026-08-05 23:52:13 +08:00
tag-tree.test.ts chore(sidebar): improve view and tag controls 2026-08-05 23:12:49 +08:00
tag-unicode-parity.test.ts feat(markdown): unify tag syntax and recognition (#6132) 2026-08-02 14:46:04 +08:00
tag.test.ts feat(markdown): unify tag syntax and recognition (#6132) 2026-08-02 14:46:04 +08:00
task-list-item-check-all.test.tsx fix(web): keep task checkboxes controlled so check-all updates render 2026-08-06 09:09:37 +08:00
toolbar-compact-width.test.ts feat(editor): add focus-mode formatting toolbar 2026-06-21 11:57:45 +08:00
use-auto-save.test.tsx refactor(editor): modularize formatting and simplify editor state 2026-06-22 23:51:59 +08:00
username.test.ts feat(user): define username format and mention syntax (#6134) 2026-08-02 19:57:16 +08:00
video-poster.test.tsx perf(web): reduce demo bandwidth usage 2026-07-18 22:06:14 +08:00
view-context-columns.test.tsx chore(sidebar): improve view and tag controls 2026-08-05 23:12:49 +08:00