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

7338 refactor actionbar and contextmenu to use the context store #7462

Conversation

bosiraphael
Copy link
Contributor

Closes #7338

@bosiraphael bosiraphael linked an issue Oct 7, 2024 that may be closed by this pull request
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 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

Copy link
Member

@charlesBochet charlesBochet left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@charlesBochet charlesBochet left a 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 :)

@charlesBochet charlesBochet merged commit a7d5aa9 into main Oct 10, 2024
13 checks passed
@charlesBochet charlesBochet deleted the 7338-refactor-actionbar-and-contextmenu-to-use-the-context-store branch October 10, 2024 11:26
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.

Refactor ActionBar and ContextMenu to use the context store
2 participants