Repository navigation
status: a proof is a captioned link with an icon - #152
Merged
Merged
Conversation
A test's name was printed as code, so a long one widened its column and squeezed the feature's own column to a word a line. A test is named as the sentence it checks; the page now says that sentence, links it to where spin declares the test, and keeps the name as the link's title. The icon says where a link goes: spin's code, the API reference or the CLI's. A capital run in a name that is no known acronym fails refgen, so a new acronym is one line in the list rather than a caption spelled letter by letter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
On the status page, the Exists and End to end columns printed each test's name as code (
TestAWorkspaceBootsARealGuest). Long names widened those columns and squeezed the Feature column to one word a line, with names running off the table's edge.What
tools/refgen/status.go. A test link's caption is the sentence its name spells:TestAWorkspaceBootsARealGuestbecomes "A workspace boots a real guest". TheE2E_andHostslane prefixes are dropped. The full name stays as the link's title, so a reader can still search spin for it. A dashboard test is captioned by its title, with the spec as the link's title.PageTitle.astromarks the status page (data-status), the same way the API pages are marked.custom.cssuses that mark to put an icon before each proof link: GitHub for spin's code,{}for the API reference, a prompt for the CLI.A name can't tell a plural from a possessive, so "A workspaces bandwidth" loses its apostrophe. The test's name is still in the link's title.
Verification
go test ./tools/refgencovers captions, acronyms, the lane prefixes, the link titles, and the failure on an unknown capital run.task referenceregenerated the page from spin v20261121.03, andtask checkpassed.🤖 Generated with Claude Code