Skip to content

Add version display to dashboard header#35

Closed
kosinal wants to merge 1 commit intomasterfrom
feature/22-add-version-to-dashboard
Closed

Add version display to dashboard header#35
kosinal wants to merge 1 commit intomasterfrom
feature/22-add-version-to-dashboard

Conversation

@kosinal
Copy link
Copy Markdown
Owner

@kosinal kosinal commented Mar 2, 2026

Summary

  • Reads the package version from package.json at startup and passes it through createServer()getDashboardHtml()
  • Displays the version as a subtle muted badge (v0.0.7) next to the dashboard title in the header
  • Gracefully handles missing package.json (version badge simply not shown)

Closes #22

Test plan

  • npm test — 91 tests pass (2 new version badge tests)
  • npm run build — builds successfully
  • npm run lint — no issues
  • Visual: verify version badge appears in dashboard header

🤖 Generated with Claude Code

Read the package version from package.json and display it as a subtle
badge next to the title in the dashboard header, making it easier to
identify which version is running when debugging issues.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kosinal kosinal closed this Mar 2, 2026
@kosinal kosinal deleted the feature/22-add-version-to-dashboard branch March 2, 2026 15:39
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.

Missing version in dashboard

1 participant