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

feat: add text truncation to user profile component #1037

Merged
merged 4 commits into from
Oct 10, 2024
Merged

Conversation

iykazrji
Copy link
Collaborator

@iykazrji iykazrji commented Oct 9, 2024

Pull Request Checklist

Screenshots

image
image
image


PR-Codex overview

This PR enhances the UserConnectionMenuDialog and related components by improving styling and structure. It adds utility class handling, adjusts layout properties for better responsiveness, and ensures proper class name usage for elements.

Detailed summary

  • Added className prop to MenuTrigger button.
  • Utilized cn utility for dynamic class names in MenuContent.
  • Modified layout properties in UserConnectionAvatar for better responsiveness.
  • Ensured text overflow handling with text-ellipsis in UserConnectionAvatar.
  • Improved structure and overflow handling in RenderUserConnectionAvatar.
  • Added className to PopoverMenu.Trigger and DialogMenu.Trigger for consistency.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

vercel bot commented Oct 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
aa-sdk-site ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2024 8:56pm
aa-sdk-ui-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 10, 2024 8:56pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants