-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fix: Default View Font Color and Reordering #7940
fix: Default View Font Color and Reordering #7940
Conversation
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.
PR Summary
This pull request addresses the default view font color and reordering issue in the ViewPickerListContent component.
- Removed separate handling for default view (key 'INDEX') and integrated it into the DraggableList
- Enabled reordering of the default view along with other views
- Unified font color for all views, including the default view, to primary color
- Maintained consistent icon display behavior for default and custom views
- Simplified component structure by removing conditional rendering based on view type
1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
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, thank you!
Awarding nganphan123: 300 points 🕹️ Well done! Check out your new contribution on oss.gg/nganphan123 |
@Weiko I was just reviewing at the same time, I think it's missing a change so that it also reorders the sidebar |
Hi @FelixMalfait , could you let me know which part of the sidebar you mentioned? I'll make any changes if needed. |
@nganphan123 thanks a lot! Ping me and we can award 150 more points for the fix The problem is the order here in the left sidebar which isn't affected in the same way |
Got it! I'll work on that. |
Hi @FelixMalfait , I couldn't reproduce the issue above. When I reorder, the left navigation bar is also updated. Is this the one you were talking about? Screencast.from.2024-10-24.13-20-52.webm |
@nganphan123 sorry I missed your reply. Yes that's what I was talking about. Strange I still have the issue on my side! I will check and come back to you |
Oh I think I know why, there's a feature flag with 2 different ways of building the menu. You probably don't have that feature flag enabled ( |
Followup of #7940 (comment)
This PR fixes issue #6114
I removed the separate check for default item and add it into the draggable list.