-
Notifications
You must be signed in to change notification settings - Fork 74
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
feat: NEO sider's toggle button and refactoring #2853
Conversation
Your org requires the Graphite merge queue for merging into mainAdd the label “flow:merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “flow:hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
b2825e2
to
f7c1327
Compare
aecdb0d
to
29048ea
Compare
9f465cc
to
e79c472
Compare
29048ea
to
55a302a
Compare
e79c472
to
e4c88ef
Compare
55a302a
to
d3161de
Compare
e4c88ef
to
7f136aa
Compare
d3161de
to
1b30a97
Compare
7f136aa
to
eb4ea48
Compare
1b30a97
to
bc775b7
Compare
930d3ba
to
236b757
Compare
bc775b7
to
e65dfe4
Compare
5423dc8
to
8e397a2
Compare
e65dfe4
to
a436278
Compare
8e397a2
to
e7e9878
Compare
a436278
to
af6f180
Compare
e7e9878
to
07b7970
Compare
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.
LGTM. works fine!
af6f180
to
3c30dc1
Compare
07b7970
to
4541f88
Compare
Merge activity
|
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/XqC2uNFuj0wg8I60sMUh/c3c9b8e7-7063-4fb9-b717-c805530a5a43.png) **Changes:** - Added keyboard shortcut '[' to toggle sidebar collapse state - Introduced a collapsible button on the sidebar that appears on hover - Moved sidebar footer content into a more structured layout - Added `useKeyboardShortcut` hook to handle keyboard shortcuts when no input is focused - Refactored BAISider component to use forwardRef and improve layout structure - Standardized sidebar width constants (COLLAPSED_SIDER_WIDTH = 74, SIDER_WIDTH = 240) - Removed bottomText prop from BAISider in favor of direct content rendering - Added hover detection for showing/hiding the collapse toggle button **Testing Requirements:** 1. Verify the '[' keyboard shortcut toggles sidebar when no input is focused 2. Check that the collapse button appears on sidebar hover 3. Confirm sidebar footer content displays correctly in both expanded/collapsed states 4. Test that keyboard shortcuts don't trigger when inputs or modals are focused
3c30dc1
to
800f145
Compare
4541f88
to
33f7fba
Compare
Changes:
useKeyboardShortcut
hook to handle keyboard shortcuts when no input is focusedTesting Requirements: