diff --git a/webclient/src/components/chat/QueuedMessagesChip.vue b/webclient/src/components/chat/QueuedMessagesChip.vue index 6a7fdbe..4688f27 100644 --- a/webclient/src/components/chat/QueuedMessagesChip.vue +++ b/webclient/src/components/chat/QueuedMessagesChip.vue @@ -1,12 +1,9 @@ @@ -28,26 +25,6 @@ flex-wrap: wrap; } -.task-chip { - display: inline-flex; - align-items: center; - gap: 6px; - padding: 3px 10px; - border-radius: 999px; - border: 1px solid var(--gn-border-color-muted); - background: var(--gn-surface-panel-muted); - font-size: 12px; - color: var(--gn-color-text-medium); - - i { color: var(--gn-color-secondary); } - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; - max-width: 100%; - - &.queued i { color: var(--gn-color-secondary); } -} - .fade-enter-active, .fade-leave-active { transition: opacity 0.2s; } .fade-enter-from, .fade-leave-to { opacity: 0; } \ No newline at end of file diff --git a/webclient/src/components/settings/ApiKeysPanel.vue b/webclient/src/components/settings/ApiKeysPanel.vue index 968113c..498fdfa 100644 --- a/webclient/src/components/settings/ApiKeysPanel.vue +++ b/webclient/src/components/settings/ApiKeysPanel.vue @@ -12,47 +12,40 @@ to authenticate without browser-based OAuth.

-
+ Authorization is currently disabled. Any keys created here are tied to the local anonymous user and grant full access to this Navi instance. + + +
+
-
Loading...
- -
- No API keys yet. Create one to get started. -
- -
-
-
- Name - Key - Created - Last used - -
- -
- {{ token.name }} - {{ token.token_prefix }} - {{ formatDate(token.created_at) }} - {{ formatDate(token.last_used_at) || 'Never' }} - - - -
-
-
+ + + + + + { tokensStore.fetchTokens() }) @@ -149,63 +150,22 @@ color: var(--gn-color-text-medium); } -.api-keys-loading, -.api-keys-empty { - padding: 24px; - text-align: center; - color: var(--gn-color-text-dark); - font-size: 0.9rem; -} - .api-keys-warning { - display: flex; - align-items: flex-start; - gap: 8px; - padding: 12px; margin-bottom: 16px; - border: 1px solid var(--gn-color-warning); - border-radius: 8px; - color: var(--gn-color-text-medium); - font-size: 0.875rem; i { - color: var(--gn-color-warning); font-size: 16px; flex-shrink: 0; } } -.api-keys-row { - display: grid; - grid-template-columns: 2fr 1fr 1fr 1fr auto; - gap: 12px; - align-items: center; - padding: 10px 12px; - font-size: 0.875rem; - border-bottom: 1px solid var(--gn-border-color-muted); +.api-keys-loading { + padding: 24px; + text-align: center; } -.api-keys-header-row { - font-weight: 600; - color: var(--gn-color-text-medium); - border-bottom-width: 2px; -} - -.col-name { +.api-keys-panel code { + font-family: var(--gn-font-family-base); color: var(--gn-color-text-medium); } - -.col-prefix { - font-family: monospace; - color: var(--gn-color-text-medium); -} - -.col-created, -.col-last-used { - color: var(--gn-color-text-dark); -} - -.col-actions { - text-align: right; -} - + \ No newline at end of file diff --git a/webclient/src/components/settings/NotificationSettingsPanel.vue b/webclient/src/components/settings/NotificationSettingsPanel.vue index d0ac9f8..eb7b366 100644 --- a/webclient/src/components/settings/NotificationSettingsPanel.vue +++ b/webclient/src/components/settings/NotificationSettingsPanel.vue @@ -8,13 +8,13 @@ no Navi window is open on that session.

-
+ This browser does not support web push (needs HTTPS, a service worker and the Push API). Try Chrome or a recent Firefox. -
+
@@ -87,11 +87,7 @@ display: flex; align-items: flex-start; gap: 8px; - padding: 12px; - border: 1px solid var(--gn-border-color-muted); - border-radius: 8px; - color: var(--gn-color-text-dark); - font-size: 0.875rem; + margin-bottom: 16px; i { font-size: 16px; diff --git a/webclient/src/components/settings/SettingsView.vue b/webclient/src/components/settings/SettingsView.vue index 1ad3184..81b7d92 100644 --- a/webclient/src/components/settings/SettingsView.vue +++ b/webclient/src/components/settings/SettingsView.vue @@ -1,14 +1,15 @@