feat(gui): Recovery tab with list / generate / revoke + one-shot copy dialog

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
michael
2026-04-27 11:18:29 -07:00
parent e19ffc9c9b
commit 008dc160bd
2 changed files with 206 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ mod firstrun;
mod keys_page;
mod policy_form;
mod policy_page;
mod recovery_page;
const APP_ID: &str = "io.dangerousthings.AuthForge";
@@ -64,6 +65,9 @@ fn main() -> glib::ExitCode {
let policy = policy_page::PolicyPage::new(ctx.clone());
stack.add_titled(&policy.root, Some("policy"), "Policy");
let recovery = recovery_page::RecoveryPage::new(ctx.clone());
stack.add_titled(&recovery.root, Some("recovery"), "Recovery");
// ToolbarView is libadwaita v1_4-gated; the project sticks with the
// simpler Box layout for portability (see commit c6a5e94).
let layout = gtk::Box::new(gtk::Orientation::Vertical, 0);