Skip to content

fix(chat): head every group with its invite card - #885

Merged
bmc08gt merged 1 commit into
mainfrom
fix/group-header-invite-card
Sep 28, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
fix/group-header-invite-card

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 28, 2026

Copy link
Copy Markdown
Collaborator

A group's transcript opened with the invite link card only while the viewer was its sole member (ConversationScreen.showsGroupInvite). Once anyone else joined, the head fell back to the older bordered card, and the invite was only on the chat's profile.

The head card is now the link card in every group:

  • Member: the card with "Invite People", however many people have joined.
  • Not a member: the same card with no button, since there's no link to hand out. It shrinks to its content.

LinkGroupCardContent.ctaTitle is now optional to allow the buttonless card. The bordered card in GroupCardView, and the Layout values only it used, are removed. DM heads are unchanged.

Android made the same change in code-payments/code-android-app#1581.

A group's transcript opened with the invite link card only while the
viewer was its sole member. Once anyone else joined, the head fell back
to the older bordered card, and the invite moved to the chat's profile.

The head card is now the link card in every group. A member gets the
"Invite People" button however many people have joined. Someone who
hasn't joined has no link to hand out, so their card has no button and
shrinks to its content.

LinkGroupCardContent takes an optional CTA title for that case. The
bordered card and the layout values only it used are gone.

Android made the same change in code-payments/code-android-app#1581.
@bmc08gt bmc08gt self-assigned this Sep 28, 2026
@bmc08gt
bmc08gt merged commit e10477e into main Sep 28, 2026
1 check failed
@bmc08gt
bmc08gt deleted the fix/group-header-invite-card branch October 5, 2026 15:14
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.

1 participant