Skip to content

ADFA-4783: Clone Receive — inline confirm panel + dark-theme notice contrast - #228

Merged
luisguzman-adfa merged 2 commits into
mainfrom
feat/ADFA-clone-receive-confirm-inline
Jul 21, 2026
Merged

luisguzman-adfa merged 2 commits into
mainfrom
feat/ADFA-clone-receive-confirm-inline

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

Two polish items on the Clone Receive screen.

  1. Inline confirm instead of a floating dialog. The transfer confirm ("Update System — you are about to download X … Do you want to start?") popped as an AlertDialog over the "Calculating what to copy…" bar. It's now an inline panel in the Receive card: on the CONFIRM state the progress bar is hidden and the panel shows the size/space message + the replace warning + Continue / Cancel. Cancel aborts the probe; Continue starts the pull. Removed showReceiveConfirm + confirmDialog; onTransferState no longer pops a dialog for CONFIRM (rendered inline). Success/failed/aborted terminal dialogs are unchanged.

  2. Dark-theme contrast of the "This replaces your K2Go library" notice. The notice has a fixed light-pink background, but its body text used k2go_ink, which flips to near-white in the night theme → unreadable. The body is pinned to a new fixed-dark color (k2go_notice_ink) that reads on the pink in both themes. Title and "!" already use clay (non-flipping).

Scope: layout + CloneFragment + one color. Related to ADFA-4725. Compiles via CI.

… in dark theme

1) Replace the transfer-confirm AlertDialog with an inline panel in the Receive
   card: when the state is CONFIRM, the progress bar is hidden and a panel shows
   the size/space message + the replace warning + Continue / Cancel. Cancel aborts
   the probe, Continue starts the pull. Removed showReceiveConfirm + confirmDialog;
   onTransferState no longer pops a dialog for CONFIRM (rendered inline), keeping
   the success/failed/aborted terminal dialogs.

2) Dark-theme contrast: the "This replaces your K2Go library" notice has a fixed
   light-pink background, but its body text used k2go_ink, which flips to near-white
   in night → unreadable. Pin the body to a new fixed-dark color (k2go_notice_ink).

Related to ADFA-4725.
…creet link

Match the Send side's minimalist fallback: the paste toggle was a full
button (k2go_getmore_bg, BodyLarge); now it's a plain teal text link
('Scan didn't work? Enter code as text'), same as Send's 'Show code as
text'. Drops the now-redundant 'Camera not working?' note above it.
@luisguzman-adfa
luisguzman-adfa merged commit 2b053a0 into main Jul 21, 2026
1 check passed
@luisguzman-adfa
luisguzman-adfa deleted the feat/ADFA-clone-receive-confirm-inline branch July 21, 2026 00:32
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