Add version display to web UI footer #12

Closed
opened 2026-05-22 17:25:49 +00:00 by gelu · 1 comment
Owner

Description

Show the deployed API version in the web UI footer so it is easy to visually confirm which build is running on staging/production.

Implementation

  • GET /api/health/version added to HealthController — returns { "version": "1.0.0-build.20250522103045" } using GetApplicationVersion(Assembly.GetExecutingAssembly())
  • Both index.html and cv-matcher/index.html footers gain a <span id="app-version"> populated by a JS fetch to /api/health/version
  • Version is styled small, monospace, muted — visible but unobtrusive
  • The api assembly version is already a build-timestamp string baked in via <Version> in api.csproj

Acceptance criteria

  • Footer shows version badge on the home page
  • Footer shows version badge on the CV Matcher page
  • GET /api/health/version returns the correct version JSON
  • Each new deployment shows an updated version
## Description Show the deployed API version in the web UI footer so it is easy to visually confirm which build is running on staging/production. ## Implementation - `GET /api/health/version` added to `HealthController` — returns `{ "version": "1.0.0-build.20250522103045" }` using `GetApplicationVersion(Assembly.GetExecutingAssembly())` - Both `index.html` and `cv-matcher/index.html` footers gain a `<span id="app-version">` populated by a JS fetch to `/api/health/version` - Version is styled small, monospace, muted — visible but unobtrusive - The `api` assembly version is already a build-timestamp string baked in via `<Version>` in `api.csproj` ## Acceptance criteria - [ ] Footer shows version badge on the home page - [ ] Footer shows version badge on the CV Matcher page - [ ] `GET /api/health/version` returns the correct version JSON - [ ] Each new deployment shows an updated version
Author
Owner

Done

Done
gelu closed this issue 2026-05-26 12:08:33 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: AI/myAi#12