Repository navigation
fix: add back navigation to "what's new" changelog page (#1965) - #2127
Conversation
Desk Review — #1965 "What's new (changelog) has no way to navigate back"Verdict: READY TO MERGE. CIAll checks green — 45 pass, 5 skipping, 0 failed/pending. Notably Unit (1m46s), UI (5m18s), Browser (50s) all pass. The new component test runs in CI under the UI job ( TestsRan the new suite locally: Review (Round 1 breadth across 5 dimensions → Round 2 independent confirmation)Correctness — passes. i18n — correct. Robustness / scope — fine. Pure presentational button, no lifecycle/concurrency/resource concerns; fallback is a hardcoded internal route (no boundary/security issue). The second commit's Non-blocking suggestions (optional; do NOT gate merge)
The change meets the acceptance criteria: from "What's new" the user can return to where they came from (or to |
Summary
Closes #1965.
The full-page "What's new" changelog view (
/dashboard/changelog) had no way to navigate back — once the user opened it (from the post-upgrade toast or a deep link) they were stranded.This adds a back affordance at the top of the page:
ChangelogBackButtoncomponent (app/features/changelog/components/changelog-back-button.tsx) that uses TanStack Router'suseRouter().history.back()to return the user to wherever they came from, falling back to/dashboard(viauseCanGoBack()) when there is no history entry to pop (deep link / fresh tab).changelog.viewer.backi18n key added toen,de, andfr(de-CH inherits — no override needed).Acceptance criteria
Tests / checks run locally
changelog-back-button.test.tsx— happy path (pops history) + fallback (navigates to/dashboard). Both pass.bunx tsc --noEmit(typecheck) — green.oxlint --type-awareon changed files — clean.oxfmt --checkon changed files — clean.knip— clean.lib/i18n/messages.test.ts(parity + usage enforce) — green.