aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-11-02 21:28:50 +0100
committerDanilo M. <danix@danix.xyz>2026-11-02 21:28:50 +0100
commit32ee99b3243da8c55428538b326b159d03f93f6c (patch)
tree3a2bf2c0b7f33bb816eb6f5fe7430a8d08e3376a /docs/superpowers
parent6c2ee8112c2ea0d1eb40d07698813900b78af36b (diff)
downloadHardenedPass-32ee99b3243da8c55428538b326b159d03f93f6c.tar.gz
HardenedPass-32ee99b3243da8c55428538b326b159d03f93f6c.zip
feat(app): show the Compose password list in MainActivity
Folders are back stack entries (ListRoute(path)), so back goes up one level. MainActivity extends BaseGitActivity for pull to sync and the commits after move, rename and delete. 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.md10
1 files changed, 7 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 e2aa6fe3..654bbf60 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
@@ -22,7 +22,10 @@ the maintainer's phone stays on 0.1.4 until then.
- Breadcrumb chips under the search bar.
- Folders in one grouped surface, entries in another below it. Folder rows show their entry
- count; entry rows show the username, plus "OTP" when the entry has one.
+ count; in search results, entry rows show their folder. Username and OTP are not shown: both
+ live inside the encrypted file, and the list never decrypts.
+- One back stack entry per folder level (`ListRoute(path)`): system back goes up one folder and
+ leaves the app at the root.
- Pull to sync. Long-press starts multi-select (move, delete). FAB opens the create sheet
(entry or folder).
@@ -46,8 +49,9 @@ the maintainer's phone stays on 0.1.4 until then.
### Activities
-- `MainActivity` (new, not exported, extends `FragmentActivity` for `BiometricPrompt`, uses no
- fragments) hosts a Compose `NavHost`. It replaces `PasswordStore`, `DecryptActivity`,
+- `MainActivity` (new, not exported, extends `BaseGitActivity`: an `AppCompatActivity`, as the
+ git operations require, and so a `FragmentActivity` for `BiometricPrompt`; uses no fragments)
+ hosts a Compose `NavHost`. It replaces `PasswordStore`, `DecryptActivity`,
`PasswordCreationActivity`, `SelectFolderActivity`, `OnboardingActivity`, `SettingsActivity`,
`GitServerConfigActivity`, `GitConfigActivity`, `GitLogActivity`, `ProxySelectorActivity`,
`SshKeyGenActivity`, `SshKeyImportActivity`, `PGPKeyImportActivity` and `PGPKeyListActivity`.