Repository navigation
ADFA-5228 feat(install): confirm before a proot module install - #457
Merged
Merged
Conversation
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.
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.
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.
First of three slices for ADFA-5228 (confirmation → determinate bar → ETA).