memos/web
johnnyjoygh af008b2153 feat(web): scope Spaces by URL path instead of a remembered selection
The selected Space used to live in sessionStorage and ride along invisibly
with every collection route. It now lives in the URL: collection pages exist
both globally and beneath /spaces/:spaceUid, and the Space context derives
its scope from the current location.

- Add a Space route branch (Home, Explore, Calendar, Attachments) guarded by
  a SpaceRoute that shows loading, unavailable, and retry states.
- Resolve collection routes through one matchPath-based helper built from the
  route constants; build Space-scoped paths with buildCollectionPath.
- Fetch the route Space directly, seeded from the switcher list so pages are
  not held behind a second round-trip.
- Turn the Space switcher into plain links that preserve the current
  collection view and query.
- Drop the remembered-Space machinery: clearSelectedSpace/selectMemos,
  the compose-placement policy, routeSupportsCollectionScope, and the
  quick-find switchToAll flag are all implied by the URL now.
- Return from memo details to the full origin URL, including its Space.
- Add space.unavailable and space.back-to-memos strings; align the
  Azerbaijani catalog with English.
2026-09-07 09:29:50 +08:00
..
docs refactor(react-query): optimize config, add error boundary, and remove JSDoc 2025-12-25 08:47:36 +08:00
patches feat(markdown): unify tag syntax and recognition (#6132) 2026-08-02 14:46:04 +08:00
public enhance: polish PWA manifest and meta tags (#5695) 2026-03-07 14:02:13 +08:00
scripts feat(markdown): unify tag syntax and recognition (#6132) 2026-08-02 14:46:04 +08:00
src feat(web): scope Spaces by URL path instead of a remembered selection 2026-09-07 09:29:50 +08:00
tests feat(web): scope Spaces by URL path instead of a remembered selection 2026-09-07 09:29:50 +08:00
.gitignore chore: streamline ignore rules 2026-08-22 10:34:28 +08:00
biome.json refactor: remove MemoContentContext and integrate MemoViewContext 2025-12-28 12:46:12 +08:00
components.json feat: themes (#4824) 2025-07-07 20:13:22 +08:00
index.html enhance: polish PWA manifest and meta tags (#5695) 2026-03-07 14:02:13 +08:00
package.json chore(web): bump CodeMirror packages 2026-09-03 23:43:38 +08:00
pnpm-lock.yaml chore(web): bump CodeMirror packages 2026-09-03 23:43:38 +08:00
pnpm-workspace.yaml feat(markdown): unify tag syntax and recognition (#6132) 2026-08-02 14:46:04 +08:00
tsconfig.json feat(web): add a global memo composer to the sidebar (#6219) 2026-08-21 21:14:28 +08:00
vite.config.mts perf: lazy load heavy first-screen dependencies (#5947) 2026-05-12 20:11:39 +08:00
vitest.config.mts refactor(web/routing): guard-based auth flow, migrate tests to Vitest (#5848) 2026-04-18 01:06:54 +08:00