Skip to content

MC-68: show the running version in the sidebar footer - #10

Merged
mmhy2003 merged 6 commits into
developfrom
megoo/MC-68-show-current-version
Nov 19, 2026
Merged

mmhy2003 merged 6 commits into
developfrom
megoo/MC-68-show-current-version

Conversation

@mmhy2003

@mmhy2003 mmhy2003 commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

What changed

Everyone who is signed in now sees which version the server runs, as a quiet v0.23.1 at the foot of the sidebar. Clicking it opens that release's notes on GitHub in a new tab. A build from source shows plain dev with no link.

  • Backend: GET /api/updates gets an app_version field, the running version, sent to every signed-in person. The latest release (app.latest, app.url) is still for admins only.
  • Frontend:
    • versionLabel and releaseUrl helpers in lib/versions.ts.
    • A new AppVersion component that reads the existing useUpdates query, so it adds no request and picks up a server upgrade without a reload.
    • On the desktop sidebar the version sits on the Collapse row. On the collapsed rail it is hidden like the other labels.
    • The phone menu shows it as its last row.

Why

MC-68 asked for the current version to appear somewhere in the UI. The owner picked the sidebar footer from four mockups. It's handy when writing bug reports.

How it was tested

  • Backend: uv run pytest -n auto passes (2054 tests).
    • Timing-sensitive, also on develop: tests/dashboard/test_speed.py passes in the full run, but fails when run on its own (fastest of three requests about 0.32 to 0.37s, limit 0.3s). A clean origin/develop checkout fails the same way, and MC-68 does not touch the dashboard.
  • Frontend: vitest (1284 tests), eslint, tsc --noEmit and next build all pass.
  • Playwright: 50 of 51 pass, including the new test in e2e/layout.spec.ts. It checks that a member sees dev both on the desktop sidebar and in the phone menu.
    • Known failure, also on develop: e2e/mobile.spec.ts, "every page fits a phone, 280 and 344 pixels wide". At 280px, /settings/notifications overflows to 315px because of SoundSetting.tsx:27 (from MC-46). A clean origin/develop checkout fails the same way. It will be fixed in a separate task.

🤖 Generated with Claude Code

mmhy2003 and others added 6 commits November 19, 2026 01:47
… (MC-68)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ease notes (MC-68)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mmhy2003
mmhy2003 merged commit b72e004 into develop Nov 19, 2026
11 of 12 checks passed
@mmhy2003
mmhy2003 deleted the megoo/MC-68-show-current-version branch November 19, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant