feat: v2 - minicontent for history window#2269
Open
maxy-shpfy wants to merge 1 commit into
Open
Conversation
Collaborator
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
8 tasks
🎩 PreviewA preview build has been created at: |
56ec36a to
522f084
Compare
15d654a to
2e116a0
Compare
camielvs
reviewed
May 14, 2026
| return ( | ||
| <InlineStack gap="1"> | ||
| <Button | ||
| type="button" |
Collaborator
There was a problem hiding this comment.
Suggested change
| type="button" |
camielvs
reviewed
May 14, 2026
| type="button" | ||
| variant="outline" | ||
| size="icon" | ||
| className="size-8 shrink-0 rounded-md" |
Collaborator
There was a problem hiding this comment.
Suggested change
| className="size-8 shrink-0 rounded-md" |
camielvs
reviewed
May 14, 2026
| <Icon name="Undo2" size="sm" /> | ||
| </Button> | ||
| <Button | ||
| type="button" |
Collaborator
There was a problem hiding this comment.
Suggested change
| type="button" |
Collaborator
There was a problem hiding this comment.
we really need to get the primitive updated if this is going to continue to be an issue
camielvs
reviewed
May 14, 2026
| type="button" | ||
| variant="outline" | ||
| size="icon" | ||
| className="size-8 shrink-0 rounded-md" |
Collaborator
There was a problem hiding this comment.
Suggested change
| className="size-8 shrink-0 rounded-md" |
2e116a0 to
b2a54a9
Compare
522f084 to
93c83fd
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.

Description
Adds a mini content component for the History window that displays compact undo/redo buttons. The
HistoryWindowMiniContentcomponent renders two icon-only buttons (Undo and Redo) that are enabled or disabled based on the current undo/redo state. This mini content is registered with the History window so it can be displayed in a collapsed/mini view of the panel.Related Issue and Pull requests
Type of Change
Checklist
Screenshots (if applicable)
Screen Recording 2026-05-13 at 5.22.20 PM.mov (uploaded via Graphite)
Test Instructions
Additional Comments
Pointer events on the buttons are stopped from propagating to prevent unintended interactions with the surrounding window drag/resize handlers.