feat: beginner-friendly file explorer with live git status#15
Merged
Conversation
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…mands Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Buttons in FileTree.svelte had no explicit background, so the browser's default ButtonFace (light gray) showed through against the light terminal-fg/dim text, failing WCAG AA contrast (axe flagged the "+ Example files" button at 1.34:1, well under the 4.5:1 minimum). Every other button in the app already sets an explicit bg-terminal-bg variant; the explorer's buttons now follow the same pattern with bg-transparent so the dark sidebar background shows through instead. Found via tests/e2e/a11y.spec.ts, whose axe scan now covers the sidebar.
Remove deleted files from the hasTracked predicate so the Simulate Changes button disables when the only tracked files are deleted. Previously, the button would enable but silently no-op because simulateChangeCommands filters out missing-from-VFS files. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…i listing Scope the spec promise about staged-and-remodified files showing M to committed files only, since the engine's getModifiedFiles compares against the committed tree. Staged-but-never-committed files keep the ● badge after edits — documented as a possible fast-follow engine change. Also update CLAUDE.md Project Structure ui/ section: remove non-existent MobileToolbar.svelte and add actual components GithubLink.svelte and ResetButton.svelte. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
Co-Authored-By: Claude Fable 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.
Summary
Makes Gitverse approachable for git beginners with an IDE-style file explorer:
Uuntracked, yellowMmodified, blue●staged, red struck-throughDdeleted. Clicking a file prefillscat <file>in the terminal; a one-line legend teaches the three-area model.README.md,index.html,src/app.jsby running realmkdir/touchcommands through the terminal, so beginners watch the commands happen and can repeat them. Idempotent.echo "…" >> fileso there is always something togit add/commit(implements the "Simulate Changes" item from the original design spec). Disabled with a hint until something is tracked.mkdirbuiltin (flat + 1-level VFS rules, real-shell error text), added to help + tab-completion.Zero engine changes — the sidebar derives everything from existing engine queries, so the tree can never disagree with
git status.Spec:
docs/specs/2026-07-11-beginner-file-explorer-design.md· Plan:docs/plans/2026-07-11-beginner-file-explorer.mdTest plan
buildFileTreestatus model, command planners), all passingU→git add .→●→ commit → clean → simulate →M→ click-to-cat) + collapse/expand; pre-existing axe WCAG AA scan passes with the new sidebar (one real contrast violation found and fixed during development)Release: RC bumped to
v0.9.0-rc.0; merge auto-deploysv0.9.0per deploy.yml.🤖 Generated with Claude Code