mirror of
https://github.com/PR0M3TH3AN/SeedPass.git
synced 2026-11-06 04:42:35 +00:00
feat(tui-v2): shorten wide action lines and add exploratory walkthrough tests
Shorten TOTP Actions line from 99→78 chars and Seed/Managed from 91→75 chars to fit standard terminal widths. Add 12-test exploratory walkthrough covering all 9 entry types, archive/restore lifecycle, managed sessions, vault lock/unlock, density modes, filters, links, card frames, error handling, search, and a full user journey. Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
1 parent
2691387e83
commit
165c825d9e
3 files changed
+1076
-4
No files matched your search
@@ -2067,7 +2067,7 @@ def launch_tui2(
|
||||
(
|
||||
"Actions: v reveal(cfm) | g qr | copy seed cfm | export cfm | a archive"
|
||||
if self._dense_hires_layout
|
||||
else "Actions: Reveal (v confirm) | QR (g) | Copy Seed (confirm) | Export (confirm) | Archive (a)"
|
||||
else "Actions: Reveal (v cfm) | QR (g) | Copy (cfm) | Export (cfm) | Archive (a)"
|
||||
),
|
||||
]
|
||||
return "\n".join(lines)
|
||||
@@ -2112,7 +2112,7 @@ def launch_tui2(
|
||||
(
|
||||
"Actions: 6 board | 2fa-copy | 2fa-copy-url | v reveal | g qr | a archive"
|
||||
if self._dense_hires_layout
|
||||
else "Actions: 2FA Board (6) | Copy Code (Ctrl+P) | Copy URL (Ctrl+P) | Reveal (v) | QR (g) | Archive (a)"
|
||||
else "Actions: 2FA Board (6) | Copy Code | Copy URL | Reveal (v) | QR (g) | Archive (a)"
|
||||
),
|
||||
]
|
||||
return "\n".join(lines)
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1494,7 +1494,7 @@ async def test_tui2_textual_seed_and_managed_seed_boards_show_fidelity() -> None
|
||||
assert "+- Seed Info " in board
|
||||
assert "+- Quick Actions " in board
|
||||
assert "Word Count: 12" in board
|
||||
assert "Copy Seed (confirm)" in board
|
||||
assert "Copy Seed(confirm)" in board
|
||||
|
||||
app._run_palette_command("open 2")
|
||||
await pilot.pause()
|
||||
@@ -1503,7 +1503,7 @@ async def test_tui2_textual_seed_and_managed_seed_boards_show_fidelity() -> None
|
||||
assert "+- Seed Info " in board
|
||||
assert "+- Quick Actions " in board
|
||||
assert "Word Count: 12" in board
|
||||
assert "Export (confirm)" in board
|
||||
assert "Export (cfm)" in board
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
||||
Reference in new issue
Block a user