Skip to content

fix(dashboard): cosmetic — version double-v, provider label, CLI blurb - #90

Merged
dvcdsys merged 1 commit into
developfrom
chore/dashboard-cosmetics
Jun 22, 2026
Merged

fix(dashboard): cosmetic — version double-v, provider label, CLI blurb#90
dvcdsys merged 1 commit into
developfrom
chore/dashboard-cosmetics

Conversation

@dvcdsys

@dvcdsys dvcdsys commented Jun 22, 2026

Copy link
Copy Markdown
Owner

Three small Home-page fixes you flagged.

1. Version shows vv0.11.0…

The server version string already carries its leading v when built from a release tag (server/vX.Y.Z), but the UI also hard-prefixed v → double v.

  • New lib/version.tsformatVersion() normalizes to exactly one leading v (robust for both tagged builds and the 0.0.0-dev placeholder, which has no v).
  • Routed all four display sites through it: Footer (now cix (v0.11.0) — version parenthesized, per your suggestion), HomePage status stat, and the UpdateBanner's "available" / "you're running" lines.

2. "Sidecar" status label → "Provider"

The embedding provider isn't necessarily an in-process sidecar — it can be a remote ollama / voyage / openai backend. Provider is accurate in all cases. (The Footer already labels by provider kind, so this aligns them.)

3. CLI blurb was inaccurate

Prefer the terminal? cix --help does everything the dashboard does, plus reindex, watch, and bulk operations.

The CLI is a code-search/indexing client — it does not administer the server (users, API keys, runtime config). Reworded to state the split honestly:

Prefer the terminal? cix does code search and navigation from your shell, and manages local project indexing (init, reindex, watch). Administration — users, API keys, and runtime config — lives here in the dashboard.

Notes

  • Source-only; dist/ is gitignored and rebuilt at image build. Dashboard builds clean (tsc -b && vite build).
  • On the parentheses: I applied them only in the Footer (cix (v0.11.0)), where it reads as tool-name + version. In the labeled status stat and the update banner sentence, bare v0.11.0 reads better. Easy to change if you'd prefer parens everywhere.

🤖 Generated with Claude Code

Three UI fixes reported from the Home page:

- Version rendered "vv0.11.0…": the server version string already carries its
  leading "v" when built from a release tag (server/vX.Y.Z), but the UI also
  hard-prefixed "v". Add lib/version.ts → formatVersion() which normalizes to
  exactly one leading "v" (robust for both tagged builds and the "0.0.0-dev"
  placeholder), and route all four display sites through it: Footer (now
  "cix (v0.11.0)" — version parenthesized), HomePage status stat, and the
  UpdateBanner's available/running lines.

- HomePage status panel: rename the "Sidecar" stat to "Provider" — the
  embedding provider isn't necessarily an in-process sidecar (can be a remote
  ollama/voyage/openai backend), so "Provider" is accurate either way.

- HomePage CLI blurb claimed `cix --help` "does everything the dashboard does,
  plus reindex…". Untrue — the CLI does code search/navigation + local indexing
  but not server administration (users, API keys, runtime config). Reword to
  state that split accurately.

Source-only; dist is rebuilt at image build. Dashboard builds clean (tsc + vite).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dvcdsys
dvcdsys merged commit 8f1f96c into develop Jun 22, 2026
1 check passed
@dvcdsys
dvcdsys deleted the chore/dashboard-cosmetics branch June 22, 2026 21:35
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