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

Fix remove no result menu from relation picker #8485

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

Conversation

khuddite
Copy link
Contributor

Fixes: #8455

  1. Summary
    Removed redundant No result menu from relation picker

  2. Screenshot

CleanShot.2024-11-13.at.12.08.31.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

Removed the "No result" message from the relation picker dropdown menu to improve UX clarity when searches yield no results.

  • Simplified empty state handling in SingleEntitySelectMenuItems.tsx by removing redundant "No result" message display
  • Modified dropdown menu behavior to only show "Create New" button when no results are found
  • Reordered exports in twenty-ui/src/display/index.ts for better organization

2 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.

Relation picker no result and new record improvements
2 participants