Skip to content
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

5922 - UI Overlap and State Persistence in Filter Menus #7270

Merged
merged 3 commits into from
Sep 27, 2024

Conversation

ehconitin
Copy link
Contributor

fixes #5922

2024-09-26.19-05-16.mp4

Copy link
Contributor

@greptile-apps greptile-apps bot left a 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 UI overlap and state persistence issues in filter menus, focusing on improving the user experience and layout. Key changes include:

  • Implemented a new layout for the operand select menu, positioning it above and to the side of the filter menu for better visibility
  • Added state reset functionality when closing dropdowns to prevent unwanted persistence of sub-filter/filter type menus
  • Removed double borders between sub-filter/filter type menus for a cleaner appearance
  • Simplified the ObjectFilterDropdownOperandButton component to always render the DropdownMenuHeader
  • Introduced a handleDropdownClose callback in EditableFilterDropdownButton to reset UI state on closure

4 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link
Member

@FelixMalfait FelixMalfait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job!!!

@FelixMalfait FelixMalfait merged commit ca906bb into twentyhq:main Sep 27, 2024
6 of 11 checks passed
Copy link

Thanks @ehconitin for your contribution!
This marks your 37th PR on the repo. You're top 1% of all our contributors 🎉
See contributor page - Share on LinkedIn - Share on Twitter

Contributions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

UI Overlap and State Persistence in Filter Menus
3 participants