Skip to content

feat(ui): show each skill's metadata.version in the dashboard - #979

Merged
runkids merged 1 commit into
mainfrom
runkids/skill-version-display
Nov 23, 2026
Merged

runkids merged 1 commit into
mainfrom
runkids/skill-version-display

Conversation

@runkids

@runkids runkids commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • Small improvement (docs, typo, minor refactor)
  • Feature proposal (proposals/ only — see CONTRIBUTING.md)
  • Approved feature or large change (the linked issue has the approved label)

Linked Issue

Closes #975

What changes

  • The resources API returns metadataVersion, read from the frontmatter's metadata.version for skills and agents. Block and flow maps both work, and so does a header that is not valid YAML, such as an unquoted description: Use when: ....
  • The list, cards, tree details and Updates tab show it as a tag, such as v1.4.0. Nothing shows when the field is absent. A tracked repo's row on Updates holds several skills and shows no version.
  • The detail page has a Version row. The row that showed the install commit under the label "Version" is now Commit, in all 11 locales.
  • Saving in the skill editor wrote an untouched version: 1.10 back as 1.1. Unchanged decimals now keep their written form, extending the integer preservation from fix(ui): preserve exact metadata integers on save #971. The editor field still displays 1.1, the same documented limit fix(ui): preserve exact metadata integers on save #971 has for large integers. wiki/frontend.md notes it.
  • website/docs/reference/commands/ui.md and its four translations describe the tag and the two detail rows.

Checks

  • make check passes in the devcontainer.
  • Vitest: 1011 tests pass. format:check, lint:typed (0 errors) and pnpm build pass.
  • The website build passes for all locales.
  • New tests:
    • The list endpoint, for block, flow, absent and invalid-YAML headers.
    • The single-resource endpoint, for a skill and an agent.
    • Dotted fields in ParseFrontmatterFields.
    • formatVersion.
    • Trailing zeros survive an editor save, including a tiny decimal that JS prints in exponent form.
  • Checked by hand in the dashboard (Clean, light; desktop and 390px):
    • The list, cards, tree, Updates and detail page all show the tag or row.
    • An editor save changes only the description line, and the file keeps version: 1.10.

Not in this PR

  • At 390px the list view squeezes the name column to zero width. Names are already hidden on main for skills with no version. This PR's tag makes it more visible, so it needs its own fix.
  • list --json and the TUI do not show metadata.version. The issue asks only for the dashboard.

Checklist

  • I've read CONTRIBUTING.md, including its AI-assisted contributions section
  • I've reviewed every line of the diff and can explain it
  • Tests included and passing (make check) — for code changes
  • No unrelated changes in the diff
  • Scope is focused — one concern per PR

The dashboard gave no way to tell which release of a skill was
installed: the only "Version" it showed was the install commit. The
resources API now returns the frontmatter's metadata.version, and the
list, cards, tree details, Updates tab and detail page show it as a
tag. The detail page's commit row is relabelled "Commit" so the two
are not mistaken for each other.

Saving a skill in the editor wrote an untouched `version: 1.10` back
as `1.1`, which would change the version the dashboard shows.
Unchanged decimals now keep their written form on save, extending the
integer preservation from #971.

Closes #975
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 21, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-21T19:50:49.511045Z 16f9dcf PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@runkids
runkids merged commit fbfc9f2 into main Nov 23, 2026
10 checks passed
@runkids
runkids deleted the runkids/skill-version-display branch November 23, 2026 01:33
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.

The list of skills does not display the version number of the skill.

1 participant