Skip to content

ADFA-5228 feat(install): confirm before a proot module install - #457

Merged
luisguzman-adfa merged 3 commits into
mainfrom
feat/ADFA-5228-proot-install-confirm
Aug 21, 2026
Merged

luisguzman-adfa merged 3 commits into
mainfrom
feat/ADFA-5228-proot-install-confirm

Conversation

@luisguzman-adfa

Copy link
Copy Markdown
Collaborator

A proot module install (Maps, Calibre-Web, Code, …) runs an Ansible runrole with the server paused and confines the user to the progress screen for a long time, and today it starts with no warning. Add an informative confirmation before it.

  • New InstallConfirm.gate(activity, op, onProceed): shows the dialog only for a STOPPED op (!op.isLive()); LIVE work (content downloads, dashboard REST update) passes straight through. Decision reads the operation class, not a name list.
  • Gated at the initiation points — SetupLibraryActivity.openModuleIndex() and openMapsIndex() — not the index drain, so the already-confirmed wizard batch is not asked again per module.
  • Strings in a per-feature file (strings_install_confirm.xml).

First of three slices for ADFA-5228 (confirmation → determinate bar → ETA).

A proot module install (Maps, Calibre-Web, Code, …) runs an Ansible runrole with
the server paused and confines the user to the progress screen for a long time,
and today it starts with no warning. Add an informative confirmation before it.

- New InstallConfirm.gate(activity, op, onProceed): shows the dialog only for a
  STOPPED op (!op.isLive()); LIVE work (content downloads, dashboard REST update)
  passes straight through. Decision reads the operation class, not a name list.
- Gated at the initiation points — SetupLibraryActivity.openModuleIndex() and
  openMapsIndex() — not the index drain, so the already-confirmed wizard batch is
  not asked again per module.
- Strings in a per-feature file (strings_install_confirm.xml).

First of three slices for ADFA-5228 (confirmation → determinate bar → ETA).
…atable

Move the ADFA-5228 confirmation strings into a shared strings_not_translated.xml
and mark them translatable="false" so the MissingTranslation check doesn't fail
while the feature is in progress. String names are unchanged, so InstallConfirm
still resolves them. When the feature lands, these move into the main strings.xml
(dropping translatable="false") to enter the translation pipeline.
Move the confirmation strings out of the temporary staging file into
strings_k2go.xml (translatable) and add them across all locales. Wording is
signed off, so they are flipped from translatable="false" and localized in this
PR, per the house l10n rule. Major languages are reviewed; lower-resource
locales are machine-translated and flagged for community review, consistent with
how the existing catalog was seeded.
@luisguzman-adfa
luisguzman-adfa merged commit 7a59139 into main Aug 21, 2026
3 checks passed
@luisguzman-adfa
luisguzman-adfa deleted the feat/ADFA-5228-proot-install-confirm branch August 21, 2026 13:07
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