Add About settings page and update notice #61

Merged
miro merged 2 commits from claude/settings-about-section-5655b0 into main 2026-10-10 22:39:29 +00:00
Owner

Summary

  • Move the app version from the sidebar into a new About page at the bottom of the settings dialog (app name, repo link, installed version).
  • Fetch the latest release from the Forgejo API at most once every 24 hours, cached in a new kv SQLite table with zod-validated keys and values (LATEST_APP_VERSION, LATEST_APP_VERSION_UPDATED_AT). Dev builds skip the lookup.
  • Show an "Update available" link above the user menu when a newer release exists; it opens the release in a new tab.
  • Move server function files into src/server-functions/, leaving src/server/ for server-only code.

Testing

  • pnpm run typecheck and pnpm run build pass.
  • The e2e spec is now about.spec.ts and covers the About page. It has not been run, and the update link is not covered.
## Summary - Move the app version from the sidebar into a new **About** page at the bottom of the settings dialog (app name, repo link, installed version). - Fetch the latest release from the Forgejo API at most once every 24 hours, cached in a new `kv` SQLite table with zod-validated keys and values (`LATEST_APP_VERSION`, `LATEST_APP_VERSION_UPDATED_AT`). Dev builds skip the lookup. - Show an "Update available" link above the user menu when a newer release exists; it opens the release in a new tab. - Move server function files into `src/server-functions/`, leaving `src/server/` for server-only code. ## Testing - `pnpm run typecheck` and `pnpm run build` pass. - The e2e spec is now `about.spec.ts` and covers the About page. It has not been run, and the update link is not covered.
Add About settings page and update notice
Some checks failed
CI / format (pull_request) Successful in 26s
CI / test (pull_request) Successful in 37s
CI / lint (pull_request) Successful in 40s
CI / typecheck (pull_request) Successful in 41s
CI / knip (pull_request) Successful in 43s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 11s
CI / build (pull_request) Successful in 33s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 14s
E2E / playwright (pull_request) Failing after 1m15s
CI / manifest (pull_request) Has been skipped
9022605c61
Move the app version into a new About page in the settings dialog, with
the app name and repo link. Fetch the latest release from the repo at most
once a day, cache it in a new kv table, and show an update link above the
user menu when a newer release exists. Move server fn files to
src/server-functions.
Match the dev version link exactly in the About e2e test
All checks were successful
CI / format (pull_request) Successful in 25s
CI / test (pull_request) Successful in 40s
CI / knip (pull_request) Successful in 42s
CI / lint (pull_request) Successful in 43s
CI / typecheck (pull_request) Successful in 44s
CI / docker (arm64, docker-arm64) (pull_request) Successful in 11s
CI / build (pull_request) Successful in 32s
CI / docker (amd64, docker-amd64) (pull_request) Successful in 12s
CI / manifest (pull_request) Has been skipped
E2E / playwright (pull_request) Successful in 44s
9ec4aeeac3
miro merged commit 7c3a599259 into main 2026-10-10 22:39:29 +00:00
miro deleted branch claude/settings-about-section-5655b0 2026-10-10 22:39:29 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
miro/files!61
No description provided.