Skip to content

feat(messenger): invite card in a new group's empty chat - #1927

Merged
bmc08gt merged 13 commits into
code/cashfrom
feat/group-ready-invite-card
Oct 31, 2026
Merged

bmc08gt merged 13 commits into
code/cashfrom
feat/group-ready-invite-card

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 31, 2026

Copy link
Copy Markdown
Collaborator

New groups now open on their chat instead of group info. While the viewer is the only member, the chat shows a card from Flipcash: "Your Group Is Ready / Invite people to join " with an Invite People button.

The card is a client-only transcript item built on ShareProfileWidgetBubble, so it keeps the Share Profile look. It appears only in the chat; it is not stored or synced.

When it shows

isGroup && memberCount == 1 && (canInvite || !isPrivate), once the roster has resolved. Creators of public groups have can_invite false from the server but can still share the group, so !isPrivate counts them in.

Invite People

Opens the existing invite sheet (inviteHost.presentHostSheet), after the keyboard hides. Keyboard.hideIfVisible and its flat 300 ms delay are unchanged.

When someone joins

The card fades out over 200 ms while its row collapses over 320 ms, so the conversation slides up into the space. The row stays in the list for the length of the animation.

Invite sheet

  • The link pill shows a shimmer placeholder when the group has no link, and animates while the link is being created.
  • Share Link uses the standard button's loading state while creating and its success state once the link exists.
  • A link created by that tap stays on screen for PaymentSuccessHoldDuration (1 s), then the full share sheet opens. An existing link opens it immediately.
  • A light haptic fires when creation starts and a confirm haptic when the link is created. The existing-link path has none.

Chat list

A group row that would show "Nothing yet" and meets the card's condition shows "Invite people to get started". The copy is one string resource, label_chat_preview_inviteToStart, and is not yet confirmed.

@bmc08gt bmc08gt self-assigned this Oct 31, 2026
@github-actions github-actions Bot added the type: feature New functionality label Oct 31, 2026
@bmc08gt
bmc08gt merged commit 4507276 into code/cash Oct 31, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant