rouse-context/docs/screenshots
monkopedia-coder 5ac8dc394d
Some checks failed
Android CI / test (push) Waiting to run
CI / Lint (push) Waiting to run
CI / Build & Test (push) Waiting to run
Deploy docs to GitHub Pages / build (push) Has been cancelled
Deploy docs to GitHub Pages / deploy (push) Has been cancelled
Keep Health Connect setup on screen after the base grant (#537) (#610)
The "Grant historical access" button is disabled until the base Health
Connect permission lands, but the grant result navigated straight to the
integration-setup screen — so the button was never in a pressable state
and historical access was unreachable during onboarding.

SETUP mode now stays put after the grant. The primary button becomes
state-aware: "Grant All Health Access" while nothing is granted,
"Continue" once at least one record type is, and Continue performs the
navigation the grant result used to perform. SETTINGS mode, and Cancel's
label and behaviour, are unchanged.

So the post-grant state is correct on the first recomposition after the
dialog returns (no flash of the pre-grant label), onPermissionsResult now
publishes the granted record types synchronously and lets the async
refresh reconcile. The permission-to-record-type mapping it needs moves
into RecordTypeRegistry.namesForPermissions, shared with the repository
that already did the same translation inline.

Its Boolean return is dropped: nothing consumes it now that the caller no
longer branches on it.


Claude-Session: https://claude.ai/code/session_01YYSPuh9bZEJkrzvnEpY1QK

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-08-26 14:01:43 -04:00
..
index.html Keep Health Connect setup on screen after the base grant (#537) (#610) 2026-08-26 14:01:43 -04:00