WeKnora/frontend
ChenRussell 5036062355 fix(wiki): degrade gracefully when revision snapshot is missing
The page revision history feature (introduced in 0.7.2) only snapshots
a version when an edit supersedes it, so versions written before the
upgrade (e.g. upgrading from 0.7.1 straight to 0.8.0) and old snapshots
removed by retention return 404 when fetched by version. The revision
drawer treated this as an error and surfaced a "wiki page revision not
found" toast.

A missing snapshot is a legal state, not a failure: loadVersionSnapshot
returns null on 404 (cached), the diff pane falls back to showing the
version's full content when the baseline snapshot is missing, a hint
state replaces the diff when the selected version's own snapshot is
gone, and the toast uses localized messages.
2026-09-21 13:10:52 +08:00
..
public feat(i18n): add Japanese (ja-JP) locale support (#3080) 2026-09-07 19:20:41 +08:00
scripts feat(browser): add picture-in-picture task preview 2026-09-12 11:11:36 +08:00
src fix(wiki): degrade gracefully when revision snapshot is missing 2026-09-21 13:10:52 +08:00
.dockerignore feat(ui): multi-stage Docker frontend build (no host npm) (#3074) 2026-09-07 19:33:57 +08:00
.gitignore init commit 2025-08-05 15:08:07 +08:00
Dockerfile chore: remove vendored archives and unused Python helpers 2026-09-16 15:49:36 +08:00
docker-entrypoint.sh feat(i18n): add Japanese (ja-JP) locale support (#3080) 2026-09-07 19:20:41 +08:00
embed.html feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
env.d.ts feat(frontend): inject commit ID into frontend build for version tracking 2026-06-09 18:08:57 +08:00
index.html fix(frontend): bundle tdesign-icons sprite locally for offline deploys 2026-04-23 18:21:49 +08:00
nginx-api-proxy.conf fix(embed): enforce host origin allowlists on framed pages 2026-09-14 18:03:57 +08:00
nginx-http.conf feat(sandbox): add an interactive terminal and files tab beside chat (#3110) 2026-09-08 17:43:15 +08:00
nginx.conf feat(sandbox): add a graphical desktop to session sandboxes (#3245) 2026-09-14 20:37:37 +08:00
package-lock.json chore: remove vendored archives and unused Python helpers 2026-09-16 15:49:36 +08:00
package.json chore: remove vendored archives and unused Python helpers 2026-09-16 15:49:36 +08:00
package.json.md5 fix: update environment configuration for debugging and logging, enhance SQLite FTS5 table management, and improve API base URL handling 2026-04-11 18:51:16 +08:00
pnpm-workspace.yaml fix(frontend): configure pnpm v11 build approvals in workspace file 2026-05-08 16:34:33 +08:00
tsconfig.app.json fix lint and test failures 2026-07-01 17:31:42 +08:00
tsconfig.json init commit 2025-08-05 15:08:07 +08:00
tsconfig.node.json init commit 2025-08-05 15:08:07 +08:00
vite.config.ts feat(session): fork conversations from a historical user message (#3304) 2026-09-17 14:20:18 +08:00