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: Relation picker UX improvements #7292

Merged
merged 4 commits into from
Oct 9, 2024

Conversation

harshit078
Copy link
Contributor

@harshit078 harshit078 commented Sep 27, 2024

Closes #7287

Note

This PR solves the issue #7287
Updated margins between button and seperator and gave seperator full width

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 PR addresses UX improvements for the relation picker component, focusing on the MultiRecordSelect component.

  • Added StyledDropdownMenuSeparator in MultiRecordSelect.tsx to ensure full-width separator
  • Introduced StyledCreateNewButton with 4px top margin for better spacing
  • Separator now always renders, improving visual consistency
  • Adjusted styling to align with design requirements from issue Relation picker UX improvements #7287
  • Minor change in behavior: separator is now present regardless of selected items

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@Bonapara
Copy link
Member

Bonapara commented Oct 9, 2024

Hi @harshit078 looks there is a "double gap" there is an 2px gap on top of the 4px margin you added

@lucasbordeau lucasbordeau self-assigned this Oct 9, 2024
@lucasbordeau lucasbordeau merged commit 0e01ddf into twentyhq:main Oct 9, 2024
11 checks passed
Copy link

github-actions bot commented Oct 9, 2024

Thanks @harshit078 for your contribution!
This marks your 26th PR on the repo. You're top 2% of all our contributors 🎉
See contributor page - Share on LinkedIn - Share on Twitter

Contributions

harshit078 added a commit to harshit078/twenty that referenced this pull request Oct 14, 2024
Closes twentyhq#7287

> [!Note]
> This PR solves the issue twentyhq#7287
> Updated margins between button and seperator and gave seperator full
width

---------

Co-authored-by: Lucas Bordeau <[email protected]>
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 UX improvements
3 participants