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

322 compact command chips dropdown #10456

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

bosiraphael
Copy link
Contributor

Closes twentyhq/core-team-issues#322

Enregistrement.de.l.ecran.2025-02-24.a.18.26.32.mov

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 introduces a new constant for dropdown identifiers and modifies several components to enhance the command menu functionality, particularly in relation to context chips.

  • Added COMMAND_MENU_CONTEXT_CHIP_GROUPS_DROPDOWN_ID in packages/twenty-front/src/modules/command-menu/constants/CommandMenuContextChipGroupsDropdownId.ts.
  • Updated CommandMenuContextChipGroupsWithRecordSelection.tsx to use openRootCommandMenu for context chip interactions.
  • Integrated framer-motion animations in CommandMenuTopBar.tsx for smoother transitions.
  • Introduced LeftComponent prop in MenuItemLeftContent.tsx and MenuItem.tsx for enhanced customization.
  • Enhanced dropdown management in useCommandMenu.ts using useDropdownV2 for better state handling.

7 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

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.

Compact command chips dropdown
1 participant