mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 08:27:27 +02:00
8a4e114d9ff05783d242ade832ebc6d18e2f4dd6
Commands Added: - /accounts: Opens account management window showing all accounts - /logout: Removes the active account - /logout --all: Removes all accounts Components Created: 1. AccountManager (src/components/AccountManager.tsx) - Lists all accounts with avatars, names, and public keys - Shows active account with checkmark indicator - Switch account button for inactive accounts - Remove account button with confirmation dialog - Add account button that opens command launcher - Empty state with helpful instructions 2. LogoutHandler (src/components/LogoutHandler.tsx) - Handles logout and logout-all actions - Shows confirmation dialog for logout-all - Displays toast notifications for success/error - Auto-closes after execution Type System Updates: - Added "account-manager" and "logout-handler" to AppId type - Integrated both components with WindowRenderer routing Man Pages: - Added comprehensive documentation for both commands - Includes usage examples and related commands - Proper categorization as System commands
Languages
TypeScript
98.9%
CSS
0.8%
JavaScript
0.3%