-
Notifications
You must be signed in to change notification settings - Fork 1
StatusBar: Pinned nodes / Restore prev. git status #109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| <TooltipTrigger asChild> | ||
| <Button | ||
| disabled={pinnedGitRevisions[1] === null} | ||
| variant="secondary" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we make it primary to make it visually pop out more?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It did pop out too much as primary for my taste.
As there are potential quite some bottoms in the bar, I liked it too blend in a bit
Removed the old panel
We need to create a new array ref so zustands useShallow detects the change. Also I have added cycling the pinnedNodes.
Now we can also remove the old panel
- Fix git-dialog.tsx by passing full GitMetadata objects to formatGitRevision instead of just rev strings - Convert PinnedState enum to const assertion pattern for compatibility with erasableSyntaxOnly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
55968f0 to
db7dae3
Compare
I have extended the status bar with:
The old panel on the left side was obliterated.
recording_2025-08-26_22-33-59.mp4
Needs merge of #106
Close #107