Skip to content

fix: add dynamic truncate for email in list of signers #1865

Merged
prafull-opensignlabs merged 1 commit intostagingfrom
updates-16598173522
Jul 29, 2025
Merged

fix: add dynamic truncate for email in list of signers #1865
prafull-opensignlabs merged 1 commit intostagingfrom
updates-16598173522

Conversation

@nxglabs
Copy link
Collaborator

@nxglabs nxglabs commented Jul 29, 2025

No description provided.

Copilot AI review requested due to automatic review settings July 29, 2025 13:54
@vercel
Copy link

vercel bot commented Jul 29, 2025

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

Name Status Preview Comments Updated (UTC)
open-sign ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 29, 2025 1:55pm

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR improves the layout and text overflow handling in signer and recipient list components by replacing hardcoded width constraints with flexible CSS utilities for better responsive design.

  • Replaces fixed width classes with flex utilities for better responsive behavior
  • Switches from manual overflow/ellipsis handling to Tailwind's truncate utility
  • Adds flex-shrink-0 to prevent avatar icons from being compressed

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
SignerListComponent.jsx Updates flex layout and text truncation for signer items
RecipientList.jsx Improves layout flexibility and text overflow handling for recipient items

className={`${
obj.Name ? "flex-col" : "flex-row"
} flex items-center`}
} flex overflow-hidden flex-grow-0`}
Copy link

Copilot AI Jul 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The class flex-grow-0 is redundant when combined with overflow-hidden in this context. Consider removing flex-grow-0 as the parent container already controls the flex behavior, and overflow-hidden will handle the text truncation needs.

Suggested change
} flex overflow-hidden flex-grow-0`}
} flex overflow-hidden`}

Copilot uses AI. Check for mistakes.
</div>
<div className="flex flex-col">
<span className="text-[12px] font-bold text-[#424242] w-[100px] whitespace-nowrap overflow-hidden text-ellipsis">
<div className="flex flex-grow-0 flex-col overflow-hidden pr-2">
Copy link

Copilot AI Jul 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The class flex-grow-0 is redundant when combined with overflow-hidden in this context. Consider removing flex-grow-0 as the parent container already controls the flex behavior, and overflow-hidden will handle the text truncation needs.

Suggested change
<div className="flex flex-grow-0 flex-col overflow-hidden pr-2">
<div className="flex flex-col overflow-hidden pr-2">

Copilot uses AI. Check for mistakes.
@prafull-opensignlabs prafull-opensignlabs changed the title Merge pull request #1066 from nxglabs/signers_completed_main fix: add dynamic truncate for email in list of signers Jul 29, 2025
@prafull-opensignlabs prafull-opensignlabs merged commit 369e366 into staging Jul 29, 2025
5 checks passed
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.

3 participants