feat(web): redesign repository drawer with git status and metadata sections#401
Open
feat(web): redesign repository drawer with git status and metadata sections#401
Conversation
…ctions - add git status section: branch badge, behind count, commit message, committer, timestamp - add open-with actions section (ide, shell, folder) using action-button components - add metadata section displaying repository path with folder icon - add formatrelativetime helper for human-readable commit timestamps - update storybook stories: default, withgitinfo, ondefaultbranch scenarios - add 20-test unit suite covering all new sections and edge cases Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The repository drawer in the control center was not showing git status data (branch, commit message, committer, behind count) because the server page only passed name, path, and id to the client component. Export fetchRepoGitInfo from get-graph-data and call it in the drawer page to enrich the data prop with branch, commitMessage, committer, behindCount, and createdAt fields. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fe33968 to
03d9afa
Compare
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
Changes
repository-drawer.tsxrepository-drawer-client.tsxrepository-drawer.stories.tsxrepository-drawer.test.tsxspecs/070-repo-tab-redesign/Evidence
Running Application
Storybook
Tests
Test plan
🤖 Generated with Claude Code