Repository navigation
feat(graph): left panel, commit details and diff (G1 Task 14) - #148
Open
dwikiriyadi wants to merge 2 commits into
Open
dwikiriyadi wants to merge 2 commits into
dwikiriyadi wants to merge 2 commits into
Conversation
The repository screen now has the left panel (Local, Remote, Tags, Stashes, with hide, solo, pin and speed search), commit details (S5) and the diff screen (S6), docked around the graph. They share one RepositoryViewState: the saved choices, the selection, and what the center shows. - Stashes appear on the graph as hollow nodes just above their base commit. - The diff screen steps through a commit's files and toggles unified or side by side and ignore whitespace (both app settings). It shows images side by side and handles binary, too-large, renamed, mode-only and submodule files. - FileContents.readBytes reads a blob's bytes for the image diff. Closes #22 Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Dwiki Riyadi <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Dwiki Riyadi <[email protected]>
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.
G1 Task 14, built to the approved wireframes in
plans/G1.md. All four questions went with their first option: shared state, stashes on the graph now, image diff now, and a temporary repository screen.Shared state:
RepositoryViewStatein:module:presentation, one per repository tab. It holds:state.json, one writer);The three screens talk through it alone.
Left panel:
/folders, a node per remote, and pinned refs first.Commit details (S5):
Diff screen (S6):
Stashes on the graph: a hollow node just above its base commit, its line curving into the base.
Data:
FileContents.readBytesfor the image diff.RepositoryScreendocks the panel and details around the graph, until Task 20's host replaces it.Rulings are in
plans/progress.md. The main ones:settings.json.Tests:
./gradlew checkpasses on macOS.Closes #22
🤖 Generated with Claude Code