Repository navigation
feat(statusline): flatten the desktop band, Claude theme colors, Storybook + Vitest - #5
Merged
Merged
Conversation
The desktop draws one flat row instead of a bordered, padded pill per segment: regular-weight figures, wider gaps and thinner 28x4 bars, in Claude-palette tones with at least 3:1 contrast on both themes. The terminal keeps the `shelltime cc statusline` text and draws it in Claude Code's theme keys, so it follows /theme. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A root pnpm workspace, outside the plugin folders, with a stand-in for the engine's JSX runtime and element tables (tooling/engine), Storybook stories for every surface in light and dark, and Vitest specs of the drawings. CI type-checks, tests and builds Storybook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Summary
Desktop band. One flat row replaces the bordered, padded pill each segment used to have.
#FAF9F5) and dark (#262624) desktop backgrounds.Terminal. The text is still exactly the
shelltime cc statuslineline. The colors are now Claude Code theme keys (success,warning,error,planMode,merged), so the line follows/theme. Under an ANSI theme it gets the same colors as the CLI.Storybook + Vitest (repo root, pnpm).
tooling/enginestands in for Claude Code's renderer. It provides the engine's JSX runtime (h) and element tables, which build the same plain-data trees the engine checks. A small React component paints those trees approximately for Storybook.meterSvgplugins/, so installed plugins ship none of it. Vitest only runstests/**/*.spec.*, so it never picks up the engine's*.test.ts.uijob runspnpm typecheck,pnpm testandpnpm build-storybook.Engine suite. Desktop segment keys are renamed from
pill-*tosegment-*. ThemeterSvgtests moved fromsegments.test.tsto Vitest.Test plan
claude plugin validate --strict .andclaude plugin validate --strict plugins/shelltime-statuslinepassclaude plugin test plugins/shelltime-statusline: 23 passtsc -p plugins/shelltime-statusline(the engine's tsconfig) andpnpm typecheckare cleanpnpm test: 31 passpnpm build-storybooksucceedsclaude --plugin-dir plugins/shelltime-statusline) across/themevariants🤖 Generated with Claude Code