Repository navigation
fix(shell): drop the per-item "Set up" chips from the rail - #5
Merged
Merged
Conversation
Marking every project-scoped nav item was my own requirement and it was wrong. On a new account nothing is usable, so all six rows carried an identical "Set up" chip -- and a marker that applies to every item distinguishes nothing. It read as six faults rather than one next step, and collided with the "new" dots already competing for the same 8px. "+ New project" is the first thing in that rail, and each page now explains what it needs when you open it. That is where the explanation belongs: at the point of intent, not smeared across the navigation. Removes the chips, the needsProject flags, and use_projects.js -- which existed only to tell the rail whether a project exists and is now imported by nothing. The spec requirement is corrected rather than quietly dropped: navigation stays complete and does NOT annotate individual features, with the reason recorded so the next person does not rediscover it by shipping it.
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.
Marking every project-scoped nav item was my own requirement in the previous change, and it was wrong.
On a new account nothing is usable, so all six rows carried an identical "Set up" chip — and a marker that applies to every item distinguishes nothing. It read as six faults rather than one next step, and collided with the purple "new" dots already competing for the same 8px.
+ New projectis the first thing in that rail, and each page now explains what it needs when you open it. That is where the explanation belongs: at the point of intent, not smeared across the navigation.Removes
needsProjectflagsuse_projects.js— it existed only to tell the rail whether a project exists, and is now imported by nothingThe spec is corrected, not quietly dropped
The requirement now says navigation stays complete and does not annotate individual features, with the reason recorded so the next person does not rediscover it by shipping it.
Note on the test
The assertion strips comments before checking. The comment in
sidebar.jsexplains what the chip used to say, and a bare substring check fails against correctly-fixed code the moment somebody documents the old behaviour — a trap this repo has hit before.258 tests pass;
openspec validate --strictpasses.