aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-03 18:50:51 +0100
committerDanilo M. <danix@danix.xyz>2026-11-03 18:50:51 +0100
commitcebdf8dd4720388d56d9af537fe81fd927e51779 (patch)
tree27555259681fae142becbdaeb5d6183dc72ab712 /docs/superpowers
parent1d8b44dd387c3b78f97e1510bb5c3c719c7d4015 (diff)
downloadHardenedPass-cebdf8dd4720388d56d9af537fe81fd927e51779.tar.gz
HardenedPass-cebdf8dd4720388d56d9af537fe81fd927e51779.zip
refactor(app): remove the legacy settings screens
The Compose settings, git config, commit log and proxy screens replace SettingsActivity with its six preference providers, GitConfigActivity with TextInputDialog, GitLogActivity with its adapter and GitLogModel, and ProxySelectorActivity, with their layouts and manifest entries. The dead OpenKeystore key ID row goes with its string, the Android 14 platform bug summary and normal_margin lose their last users, and the setup intent loses the two starts only Settings used. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers')
-rw-r--r--docs/superpowers/specs/2026-11-02-compose-ui-overhaul-design.md21
1 files changed, 18 insertions, 3 deletions
diff --git a/docs/superpowers/specs/2026-11-02-compose-ui-overhaul-design.md b/docs/superpowers/specs/2026-11-02-compose-ui-overhaul-design.md
index 94f76479..b3d0f0cd 100644
--- a/docs/superpowers/specs/2026-11-02-compose-ui-overhaul-design.md
+++ b/docs/superpowers/specs/2026-11-02-compose-ui-overhaul-design.md
@@ -65,8 +65,22 @@ the maintainer's phone stays on 0.1.4 until then.
repository is created only then, its `.gpg-id` naming the key by its uppercase long key ID, as
`pass init <key ID>` does), and imports the key a store needs: after a clone that no
imported key can decrypt, and when an entry is opened with no key imported.
-- Screens outside the graph (Settings, autofill, git operations) and the entry view's key
- import open these through a `MainActivity` setup intent until steps 6 and 7.
+- Settings opens these within the graph. Autofill, the git operations' "No SSH key" dialog and
+ the entry view's key import open them through a `MainActivity` setup intent until step 7.
+
+### Settings
+
+- Settings lists its categories (general, autofill, passwords, repository, misc, PGP); each opens
+ a screen of rows (switches, single choices, text values, actions) over the existing preference
+ keys. Switches behind the screen lock store their value only after a successful prompt.
+- Rows that lead elsewhere navigate within `MainActivity`: git server, SSH key, key generation,
+ PGP keys, proxy, and the git configuration screen (author name and email, commit log, abort
+ rebase, hard reset, garbage collection).
+- Destructive actions ask first: deleting the repository (which never follows symlinks out of the
+ store and returns to the welcome screen), clearing a saved password or passphrase, the hard
+ reset.
+- The list's sort orders are folders first and recently used; "files first" and "type
+ independent" are gone, and stored values fall back to folders first.
## Architecture
@@ -102,7 +116,8 @@ the maintainer's phone stays on 0.1.4 until then.
Crypto, git, autofill parsing, preference keys, the Keystore-backed secret storage, clipboard
handling and the passphrase cache. Existing stores, keys and settings carry over without
-migration.
+migration, with two exceptions from step 6: a stored "files first" or "type independent" sort
+order (both removed) becomes folders first, and the unused OpenKeychain SSH key ID is dropped.
### Removed at the end