Release v1.0.4 - Add logging system, lock button, and emoji navigation

- Comprehensive logging system with chrome.storage.session persistence
- NIP-07 action logging in background scripts with standalone functions
- Vault operation logging (unlock, lock, create, reset, import, export)
- Profile and bookmark operation logging
- Logs page with refresh functionality and category icons
- Lock button (🔒) in navigation bar to quickly lock vault
- Reduced nav bar size (40px height, 16px font) with emoji icons
- Reordered navigation: You, Permissions, Bookmarks, Logs, About, Lock
- Bookmarks functionality for saving frequently used Nostr apps
- Fixed lock/unlock flow by properly clearing in-memory session data

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-20 12:42:19 +01:00
parent b535a7b967
commit 45b1fb58e9
51 changed files with 1267 additions and 158 deletions

View File

@@ -14,6 +14,11 @@
flex-shrink: 0;
}
.logs-actions {
display: flex;
gap: 8px;
}
.logs-title {
font-weight: 600;
font-size: 1.1rem;
@@ -34,15 +39,14 @@
}
.log-entry {
font-family: monospace;
font-family: var(--font-sans);
font-size: 11px;
padding: 4px 8px;
padding: 6px 8px;
border-radius: 4px;
margin-bottom: 2px;
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: flex-start;
align-items: center;
&.log-error {
background: rgba(220, 53, 69, 0.15);
@@ -65,29 +69,20 @@
}
}
.log-icon {
font-size: 14px;
flex-shrink: 0;
width: 18px;
text-align: center;
}
.log-time {
color: var(--muted-foreground);
flex-shrink: 0;
}
.log-level {
font-weight: 600;
text-transform: uppercase;
width: 40px;
flex-shrink: 0;
font-size: 10px;
}
.log-message {
flex: 1;
word-break: break-word;
}
.log-data {
width: 100%;
margin: 4px 0 0 0;
padding: 4px;
background: rgba(0, 0, 0, 0.2);
border-radius: 4px;
font-size: 10px;
overflow-x: auto;
}