Skip to content

ADFA-5062 refactor(setup-progress): read execution class from the mod… - #439

Merged
luisguzman-adfa merged 1 commit into
mainfrom
refactor/ADFA-5062-setup-progress-class
Aug 20, 2026
Merged

ADFA-5062 refactor(setup-progress): read execution class from the mod…#439
luisguzman-adfa merged 1 commit into
mainfrom
refactor/ADFA-5062-setup-progress-class

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

…el, not the key prefix

Retires the per-row class derivation in SetupProgressActivity (ADFA-5062, front #3). openDetail no
longer re-derives whether a detail runs with the box stopped from the key prefix; it reads the
execution class from the model — Operation.appInstall(...) for module installs, ContentType.byKey(key)
for content — and gates the "Run in background" button from it (LIVE shows it, STOPPED hides it).

Behaviour-preserving: mod:/maps hide the button (STOPPED), zim/kolibri/books show it (LIVE), as before.
The key→fragment routing stays (presentation); the index-level prootActive() gating is a separate
run-status axis and is untouched. An unknown key now hides the button (conservative; not reachable).

@luisguzman-adfa
luisguzman-adfa merged commit 2840850 into main Aug 20, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the refactor/ADFA-5062-setup-progress-class branch August 20, 2026 12:22
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