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

Merged
merged 3 commits into from
Nov 15, 2024

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

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.

Thank you!

@FelixMalfait FelixMalfait merged commit ac93d35 into twentyhq:main Nov 15, 2024
17 checks passed
Copy link

Thanks @khuddite for your contribution!
This marks your 6th PR on the repo. You're top 5% 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.

Relation picker no result and new record improvements
3 participants