Repository navigation
ADFA-5154: Connect (Hotspot) — both QRs on one scrollable page - #412
Merged
Merged
Conversation
…shing step) Replace the single-QR Join/Open wizard with two stacked sections (1 Join, 2 Open), always present, on one scroll; sticky tabs pinned outside the scroll; a "STEP 2 BELOW" hint between them; per-section fallback reveal. While the LocalOnly hotspot is still starting both slots show a placeholder (record-time, so a blink); a genuine failure/unsupported is one status, not two dead frames. Wi-Fi keeps its single QR. Preserves no-system->Recover (5150), network re-render, location permission and Done->Library. Adds the teal section-badge drawable.
New strings: section titles (Join my hotspot / Open the library), the "STEP 2 BELOW" hint, and Done. Translated across all 33 locales.
New strings: section titles (Join my hotspot / Open the library), the stepper labels (Join / Open), the "STEP 2 BELOW" hint, and Done. Translated across all 33 locales.
…port Collapse the three QR sections (Join / Open / single) into a Section holder (frame, code, placeholder, captions, and its own fallback-reveal state), so the fragment no longer carries parallel field sets or an index into a fbOpen[] array. Remove the now-unused android.graphics.Color import (the section badge is always filled). No behavior 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.
Connect half of ADFA-5154. The Hotspot tab stops hiding the QR of the step you're not on:
both codes now sit on one scrollable page at fixed positions, so the user builds a stable
spatial map instead of chasing a code that swaps in place.
What changes
single-QR Join->Open wizard. The old wizard controls ("show next" / "back to step 1") are
gone; the two QRs are independent, so there is no gate.
scrolls, with a visible scrollbar and a "STEP 2 BELOW" hint between the sections so the
lower one is discoverable on small screens.
manager publishes all three together at Phase.ON. While it is still starting, both slots
show a caption placeholder in a fixed-size frame (record-time on LocalOnly, so a blink) and
the QR fills in with no layout shift. A genuine failure / unsupported device is one status
in the single container, not two dead frames.
33 locales.
Preserved (no functional loss)
Both QR payloads, per-section scan fallback (reveal-on-tap), the hotspot lifecycle states,
no-system -> Recover (ADFA-5150), redraw on network change, the location-permission prompt,
and Done -> Library.
Scope / follow-up
is a separate PR; nothing here depends on it. The shared pieces (section card, numbered
badge, "STEP N BELOW" hint) originate here and Clone will reuse them.
Verification
javalang parse on ConnectFragment; XML well-formedness on the layout, the badge drawable and
all 34 strings files; every locale carries the 4 new strings (MissingTranslation is a hard
error). Visual/interaction pass is on-device (a layout + render change can't be rendered in
CI); the 33-locale wording is a first pass and may want a human review.