Skip to content

feat(profile): drop the pinned footer when opened from the chat - #1027

Merged
bmc08gt merged 1 commit into
mainfrom
feat/profile-from-chat-footer
Oct 8, 2026
Merged

bmc08gt merged 1 commit into
mainfrom
feat/profile-from-chat-footer

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

A profile opened from its own chat pinned Open Chat, which only returns to the screen underneath.

Group profile, opened from its chat: Open Chat is hidden and Leave Chat moves into the scroll. Opened from a featured group, the pinned Open Chat + Leave Chat footer is unchanged.

User profile, opened from the DM: when Open Chat would have been the pinned button, the bar is gone and the e2ee footer moves into the scroll. Unblock and Start Chatting stay pinned.

Bottom edge: when the content fits, Leave Chat and the e2ee footer sit at the bottom of the screen with no fade. When it scrolls, the bottom fade and its 56pt clearance return. ProfileScrollFit decides which, and ignores the height the clearance itself takes so the fade doesn't flip back off once it's on. It has its own tests in ProfileScrollFitTests.

Matches code-payments/code-android-app#1733, except Android blurs the bottom edge with Haze where iOS keeps the existing fade. The system bottom scroll-edge effect didn't render behind an empty bar.

A profile opened from its own chat pinned Open Chat, which only returns
to the screen underneath. From the chat, the group profile now hides
Open Chat and puts Leave Chat in the scroll, and the user profile drops
its bar when Open Chat was the pinned button, moving the e2ee footer
into the scroll. Unblock and Start Chatting stay pinned.

When the content fits, Leave Chat and the e2ee footer sit at the bottom
of the screen with no fade. When it scrolls, the bottom fade and its
clearance return. ProfileScrollFit decides which, and keeps the
clearance from flipping it back once it's on.

This matches code-android-app#1733, except Android blurs the bottom edge
with Haze where iOS keeps the existing fade.
@bmc08gt bmc08gt self-assigned this Oct 8, 2026
@bmc08gt
bmc08gt merged commit 0463acc into main Oct 8, 2026
2 of 3 checks passed
@bmc08gt
bmc08gt deleted the feat/profile-from-chat-footer branch October 8, 2026 22:53
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