Skip to content

feat(tips): use the minimized send button only in tip chats - #525

Merged
bmc08gt merged 1 commit into
mainfrom
feat/tip-chat-minimized-send
Jul 27, 2026
Merged

feat(tips): use the minimized send button only in tip chats#525
bmc08gt merged 1 commit into
mainfrom
feat/tip-chat-minimized-send

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Ports Android #1165 (part 3) to iOS.

What & why

Tip chats now always show the compact, symbol-only glass send button instead of the expanded "Send €" pill. Normal chats are unchanged — expanded at rest, collapsing to the symbol only while composing.

  • SendCashMorphButton gains an alwaysMinimized flag, folded into a minimized computed (composing || alwaysMinimized) that the whole morph (label, fill, width, color) keys off.
  • isTipDm threads down from ConversationScreen (reusing the existing tipCounterpart != nil / .tipDm signal) through ChatScreenRepresentable to the bar.

Testing

  • Flipcash app scheme compiles clean (iPhone 16 Pro sim).
  • Please sanity-check on-device: a tip chat shows the minimized send button at rest; a normal chat still shows "Send €".

Note: touches the same three conversation files as the post-tip keyboard PR; whichever merges second will have a trivial adjacent-line conflict.

Tip chats now always show the compact, symbol-only glass send button instead
of the expanded "Send $" pill. Added an alwaysMinimized flag on
SendCashMorphButton, folded into a minimized computed (composing ||
alwaysMinimized) that the whole morph keys off, and threaded isTipDm
(tipCounterpart != nil) down from ConversationScreen. Ordinary chats are
unchanged — expanded at rest, collapsing to the symbol only while composing.
Mirrors Android #1165.
@bmc08gt
bmc08gt merged commit 990d8a8 into main Jul 27, 2026
@bmc08gt
bmc08gt deleted the feat/tip-chat-minimized-send branch July 27, 2026 20:38
bmc08gt added a commit that referenced this pull request Jul 27, 2026
* origin/main:
  fix(tests): restore FlipcashTests compilation under Xcode 27 main-actor isolation (#526)
  chore(tips): remove profile photo from tip card setup for now (#522)
  feat(tips): open post-tip chats with the keyboard up (#524)
  feat(tips): use the minimized send button only in tip chats (#525)
bmc08gt added a commit that referenced this pull request Jul 27, 2026
…payload branch

The #524 (focusOnAppear) and #525 (isTipDm) conversation-bar params were
integrated on main without a separator between them, leaving
ConversationScreen and ChatScreenRepresentable non-compiling. Add the missing
commas so the tree builds.
bmc08gt added a commit that referenced this pull request Jul 27, 2026
…el (#523)

* fix(tips): pad tip code payload reserved bytes with a non-zero sentinel

The tip payload left the reserved trailing bytes (17-19) zero. KikCodes.decode
strips trailing zero bytes, so a frame whose reserved region (or user id tail)
is zero comes back short. Fill the reserved region with incrementing digits
(1, 2, 3) on encode so the frame always ends non-zero and round-trips at full
length. Decoding still re-pads for legacy zero-trailing frames. Mirrors
Android #1163.

* fix(chat): restore dropped comma when merging code/main into the tip payload branch

The #524 (focusOnAppear) and #525 (isTipDm) conversation-bar params were
integrated on main without a separator between them, leaving
ConversationScreen and ChatScreenRepresentable non-compiling. Add the missing
commas so the tree builds.
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