Skip to content

refactor(chat): remove the card at the head of chat history - #1012

Merged
bmc08gt merged 2 commits into
mainfrom
refactor/remove-transcript-header-card
Oct 7, 2026
Merged

bmc08gt merged 2 commits into
mainfrom
refactor/remove-transcript-header-card

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 7, 2026

Copy link
Copy Markdown
Collaborator

Matches code-payments/code-android-app#1707. A DM no longer opens with the other person's profile card, and a group no longer opens with its own card and Invite People. The encryption marker still heads the transcript.

Both cards repeated what is one tap away: the nav title opens the profile, and Share on the group profile hands out the invite link.

Removed:

  • ChatItem.profileCard and .groupCard, their models and cells, and ContactActionPill
  • The plumbing that only fed them: onContactAction, the transcript's onProfileTap, onGroupInvite, and the conversation screen's invite cover and transcript-head state
  • ChatProfileCardCounterpartTests, which covered the DM card's counterpart lookup

Kept:

  • The nav title's profile and contact-card taps
  • headsHistory, which still places the encryption marker
  • ShareToChatsSheet and the invite analytics

The link card metrics the group card owned move to LinkCardMetrics in LinkGroupCardView.swift, since link cards in messages still use them.

One difference from Android: no spacer in the cards' place. Android added one because long-pressing the oldest message put the reaction strip under the top bar. iOS lifts the message into its own window clamped to the safe area, so the strip can't land under the bar.

Match code-android-app#1707: a DM no longer opens with the counterpart's
profile card, and a group no longer opens with its own card and Invite
People. The nav title still opens the profile, and Share on the group
profile still hands out the invite link.

Android added a spacer in their place because its long-press menu put the
reaction strip under the top bar on the oldest message. iOS lifts the
message into its own window clamped to the safe area, so no spacer here.

The link card metrics the head card owned move to LinkCardMetrics, and
the group card's token lookup goes with it.
@bmc08gt bmc08gt self-assigned this Oct 7, 2026
…cript-header-card

* origin/main:
  fix(chat): morph Send Cash out of the composer's glass (#1008)
  fix(profile): open profiles from favorite groups and username search (#1011)
  fix(photos): set the accent color to blue so picker controls are readable (#1013)
  feat(profile): link a chat's token from its profile (#1010)

# Conflicts:
#	Flipcash/Core/Navigation/AppRouter+Destination.swift
#	Flipcash/Core/Screens/Profile/ChatProfileScreen.swift
@bmc08gt
bmc08gt merged commit cb036f4 into main Oct 7, 2026
2 of 3 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.

1 participant