-
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
7338 refactor actionbar and contextmenu to use the context store #7462
7338 refactor actionbar and contextmenu to use the context store #7462
Conversation
…se-the-context-store
…se-the-context-store
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 refactors the ActionBar and ContextMenu components to use a new context store, improving state management and component organization.
- Introduced new context store states for managing object metadata, view IDs, and targeted record IDs
- Replaced separate action bar and context menu states with a unified action menu state
- Added new ActionMenuEffect, ActionBar, and ActionMenuDropdown components for centralized action menu management
- Removed RecordBoardActionBar and RecordBoardContextMenu components, consolidating functionality into new action menu components
- Updated RecordBoard and RecordBoardCard components to use the new action menu system and context store
30 file(s) reviewed, 6 comment(s)
Edit PR Review Bot Settings
packages/twenty-front/src/effect-components/PageChangeEffect.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/action-menu/components/ActionBar.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/action-menu/components/ActionMenuDropdown.tsx
Show resolved
Hide resolved
packages/twenty-front/src/modules/action-menu/components/ActionMenuEffect.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/action-menu/components/ActionMenuNavigationModal.tsx
Outdated
Show resolved
Hide resolved
packages/twenty-front/src/modules/action-menu/right-drawer/components/RightDrawerActionMenu.tsx
Outdated
Show resolved
Hide resolved
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!
…ext-store' of github.com:twentyhq/twenty into 7338-refactor-actionbar-and-contextmenu-to-use-the-context-store
…se-the-context-store
...ages/twenty-front/src/modules/object-metadata/states/objectMetadataItemFamilySelectorById.ts
Outdated
Show resolved
Hide resolved
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!, We can merge once the tests are green :)
Closes #7338