Repository navigation
ADFA-5154 feat(clone): 2-page Send (Join + Get app, then Copy) - #414
Merged
Merged
Conversation
…R sections The stacked "scan this" section — teal badge + title, QR on a Paper card (with a placeholder), caption/subcaption, and the reveal-on-tap fallback — as a reusable <include>, bound by the shared QrSection holder (ADFA-5157). Generic sec_* ids so a page can include it more than once. Deferred from 5157 until both shapes were concrete; Connect's two-section page and Clone Page 1 (Join + Get app) now consume it.
Collapse the Send wizard into two pages, matching the Connect stacked-QR
pattern. Page 1 (Prepare) stacks two QrSection cards — ① Join the network
and ② Get the app — both live at once; Page 2 (Copy) starts the daemon and
shows the transfer QR. One gate ("Installed? Copy the library" / "Back to
step 1") replaces the old 3-step stage machine.
Removes the stage/sendApp state and the separate "Send the app" sub-screen
(the APK QR is inline on Page 1 now); the daemon/transfer logic in
renderStartState is unchanged. The deep app view, skip-app and send-app
entry are left GONE for a follow-up cleanup once the flow is validated.
Collapse the Send wizard into two pages, matching the Connect stacked-QR
pattern. Page 1 (Prepare) stacks two QrSection cards — ① Join the network
and ② Get the app — both live at once; Page 2 (Copy) starts the daemon and
shows the transfer QR. One gate ("Installed? Copy the library" / "Back to
step 1") replaces the old 3-step stage machine.
Removes the stage/sendApp state and the separate "Send the app" sub-screen
(the APK QR is inline on Page 1 now); the daemon/transfer logic in
renderStartState is unchanged. The deep app view, skip-app and send-app
entry are left GONE for a follow-up cleanup once the flow is validated.
Adds three Page-1 strings (join hotspot/Wi-Fi titles, get-app caption) with
translations across all 33 locales.
Match Connect's layout: move the header/back + Send/Receive tabs + Hotspot/Wi-Fi selector out of the ScrollView into a pinned block, so the active network stays visible while the QR content scrolls. Only fork, the stepper, the two Send pages and the Receive box scroll now. Also stop showing the "STEP 2 BELOW" hint on Page 1 — Connect keeps its equivalent hidden, so Clone matches.
…on, align sharing label Page 2 (Copy) polish plus a matching Library label: - "Starting service" now animates its trailing dots via the shared EllipsisAnimator (as Library/Backup do), so the wait never looks frozen. - Stop sharing (and its Start sharing / Share anyway / Recover variants) moves to a pinned bottom footer, fixed like Library's "Get more" and Settings' "Turn off K2Go", instead of scrolling with the content. - Library's sharing banner "Sharing with another phone" becomes "Transferring between devices", matching the notification wording, across the base string and all 33 locales.
The Send common chrome didn't reset the pinned footer, so returning from Copy to Page 1 (Prepare) left "Stop sharing" showing there. Default it to GONE; only Copy's states re-show it.
Page 1's Join section has a QR on Hotspot but not on Wi-Fi, so the two tabs differ in height and switching mid-scroll left the view offset. Snap the content ScrollView back to the top on mode change.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Collapses the Clone > Send flow from a 3-step wizard into two pages, matching
the Connect stacked-QR pattern (shared QrSection / view_k2go_qr_section).
/ "Back to step 1") advances between them.
sub-screen; the daemon/transfer logic is unchanged.
Hotspot/Wi-Fi selector are pinned above a ScrollView, and the action button
(Stop / Start / Share anyway / Recover) is a pinned bottom footer.
height, since Wi-Fi's Join has no QR).
the notification wording — base string + all 33 locales.
Follow-up: remove the now-vestigial deep app view / skip-app / send-app entry
scaffolding (kept GONE this PR to keep the diff focused).
Verified: build + lint pass; device-tested both tabs, the gate round-trip,
Receive, no-system, and re-bind to a live session.