clay-server 5.1.0-beta.2 → 5.1.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +9 -91
- package/lib/builtin-mates.js +7 -7
- package/lib/daemon-settings.js +11 -0
- package/lib/daemon.js +8 -37
- package/lib/linear-store.js +35 -8
- package/lib/mate-identity-file.js +39 -0
- package/lib/mate-knowledge-sync.js +1 -1
- package/lib/mate-ready-creation.js +2 -1
- package/lib/mates-identity.js +4 -4
- package/lib/mates-prompts.js +4 -3
- package/lib/mates.js +12 -11
- package/lib/os-users.js +5 -16
- package/lib/project-connection.js +0 -7
- package/lib/project-debate.js +3 -2
- package/lib/project-filesystem.js +21 -39
- package/lib/project-mate-interaction.js +7 -6
- package/lib/project-server-settings.js +31 -0
- package/lib/project-sessions.js +57 -184
- package/lib/project.js +3 -3
- package/lib/public/app.js +6 -37
- package/lib/public/css/input.css +3 -1
- package/lib/public/css/menus.css +3 -0
- package/lib/public/css/overlays.css +7 -0
- package/lib/public/css/project-settings-modal.css +56 -0
- package/lib/public/css/server-settings-system.css +125 -0
- package/lib/public/css/session-github.css +25 -16
- package/lib/public/css/settings-ui.css +247 -22
- package/lib/public/css/shared-browser.css +7 -3
- package/lib/public/css/title-bar.css +5 -1
- package/lib/public/index.html +173 -447
- package/lib/public/modules/account-island.js +9 -7
- package/lib/public/modules/admin-settings-email.js +197 -0
- package/lib/public/modules/admin-settings-invitations.js +183 -0
- package/lib/public/modules/admin-settings-projects.js +198 -0
- package/lib/public/modules/admin-settings-ui.js +100 -0
- package/lib/public/modules/admin-settings-users.js +331 -0
- package/lib/public/modules/admin.js +19 -949
- package/lib/public/modules/app-dm.js +0 -2
- package/lib/public/modules/app-messages.js +13 -52
- package/lib/public/modules/app-rate-limit.js +70 -12
- package/lib/public/modules/avatar.js +6 -1
- package/lib/public/modules/context-sources.js +27 -18
- package/lib/public/modules/default-ai.js +14 -7
- package/lib/public/modules/header-tui-font.js +10 -20
- package/lib/public/modules/home-mate-avatar-editor.js +2 -2
- package/lib/public/modules/linear-settings.js +3 -2
- package/lib/public/modules/markdown.js +5 -6
- package/lib/public/modules/notification-settings.js +81 -0
- package/lib/public/modules/notifications.js +44 -28
- package/lib/public/modules/personal-settings-dialog.js +51 -0
- package/lib/public/modules/profile.js +15 -6
- package/lib/public/modules/project-settings-environment.js +106 -0
- package/lib/public/modules/project-settings.js +72 -628
- package/lib/public/modules/server-settings-controls.js +316 -0
- package/lib/public/modules/server-settings-environment.js +194 -0
- package/lib/public/modules/server-settings-navigation.js +39 -0
- package/lib/public/modules/server-settings-state.js +54 -0
- package/lib/public/modules/server-settings.js +116 -788
- package/lib/public/modules/server-storage-settings.js +84 -0
- package/lib/public/modules/session-github.js +2 -1
- package/lib/public/modules/session-presence-ui.js +1 -1
- package/lib/public/modules/settings-env-values.js +34 -0
- package/lib/public/modules/settings-select.js +121 -0
- package/lib/public/modules/shared-browser.js +22 -12
- package/lib/public/modules/stt-picker.js +14 -5
- package/lib/public/modules/terminal-prefs.js +22 -0
- package/lib/public/modules/theme.js +88 -52
- package/lib/public/modules/user-settings-account.js +318 -0
- package/lib/public/modules/user-settings-appearance.js +55 -0
- package/lib/public/modules/user-settings-editors.js +24 -0
- package/lib/public/modules/user-settings-integrations.js +104 -0
- package/lib/public/modules/user-settings-layout.js +80 -0
- package/lib/public/modules/user-settings-preferences.js +48 -0
- package/lib/public/modules/user-settings-profile.js +53 -0
- package/lib/public/modules/user-settings-themes.js +38 -0
- package/lib/public/modules/user-settings-voice.js +75 -0
- package/lib/public/modules/user-settings.js +53 -480
- package/lib/public/style.css +4 -0
- package/lib/sdk-message-processor.js +16 -4
- package/lib/sdk-quota-snapshot.js +37 -0
- package/lib/server-appearance-settings.js +71 -0
- package/lib/server-linear.js +14 -8
- package/lib/server-mate-instructions.js +2 -2
- package/lib/server-mates.js +2 -1
- package/lib/server-notification-settings.js +67 -0
- package/lib/server-settings.js +4 -0
- package/lib/server-storage.js +57 -0
- package/lib/server.js +10 -2
- package/lib/sessions.js +3 -4
- package/lib/startup-projects.js +40 -0
- package/lib/storage-native-walk.js +85 -0
- package/lib/storage-usage.js +144 -0
- package/lib/users-preferences.js +0 -74
- package/lib/users.js +0 -4
- package/lib/ws-schema.js +2 -4
- package/lib/yoke/acp-process-manager.js +2 -2
- package/lib/yoke/adapters/codex.js +12 -52
- package/lib/yoke/codex-app-server.js +2 -2
- package/lib/yoke/codex-model-catalog.js +52 -0
- package/lib/yoke/codex-rate-limits.js +26 -0
- package/package.json +3 -3
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
|
|
25
25
|
:is(.us-section, .ps-section, .server-settings-section) h3 {
|
|
26
26
|
margin: 26px 0 8px;
|
|
27
|
-
font-size:
|
|
27
|
+
font-size: 14px;
|
|
28
28
|
font-weight: var(--font-weight-heading, 650);
|
|
29
|
-
letter-spacing: 0
|
|
30
|
-
text-transform:
|
|
31
|
-
color: var(--text
|
|
29
|
+
letter-spacing: 0;
|
|
30
|
+
text-transform: none;
|
|
31
|
+
color: var(--text);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
:is(.us-section, .ps-section, .server-settings-section) .settings-card h3 {
|
|
@@ -41,10 +41,11 @@
|
|
|
41
41
|
|
|
42
42
|
/* --- Navigation --- */
|
|
43
43
|
:is(#user-settings .us-nav-item, #project-settings .settings-nav-item, #server-settings .settings-nav-item) {
|
|
44
|
-
|
|
44
|
+
min-height: 32px;
|
|
45
|
+
padding: 6px 10px;
|
|
45
46
|
border: 0;
|
|
46
47
|
border-radius: var(--sui-radius-control);
|
|
47
|
-
font-size:
|
|
48
|
+
font-size: 13px;
|
|
48
49
|
font-weight: 500;
|
|
49
50
|
color: var(--text-muted);
|
|
50
51
|
}
|
|
@@ -72,23 +73,24 @@
|
|
|
72
73
|
/* --- Cards and rows --- */
|
|
73
74
|
:is(#user-settings, #project-settings, #server-settings) .settings-card {
|
|
74
75
|
margin-bottom: 16px;
|
|
75
|
-
padding:
|
|
76
|
-
overflow:
|
|
77
|
-
border:
|
|
78
|
-
border-radius:
|
|
79
|
-
background:
|
|
76
|
+
padding: 0;
|
|
77
|
+
overflow: visible;
|
|
78
|
+
border: 0;
|
|
79
|
+
border-radius: 0;
|
|
80
|
+
background: transparent;
|
|
80
81
|
box-shadow: none;
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
:is(#user-settings, #project-settings, #server-settings) .settings-card:has(.layout-switcher) { padding:
|
|
84
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-card:has(.layout-switcher) { padding: 12px 0; }
|
|
84
85
|
|
|
85
|
-
:is(#user-settings, #project-settings, #server-settings) .settings-field { padding:
|
|
86
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-field { padding: 12px 0; }
|
|
86
87
|
|
|
87
88
|
:is(#user-settings, #project-settings, #server-settings) .settings-field-row,
|
|
88
89
|
:is(#user-settings, #project-settings, #server-settings) .settings-toggle-row {
|
|
89
90
|
position: relative;
|
|
90
91
|
gap: 16px;
|
|
91
|
-
padding: 12px
|
|
92
|
+
padding: 12px 0;
|
|
93
|
+
border-bottom: 1px solid var(--border-subtle);
|
|
92
94
|
}
|
|
93
95
|
|
|
94
96
|
:is(#user-settings, #project-settings, #server-settings) .settings-label {
|
|
@@ -129,17 +131,17 @@
|
|
|
129
131
|
}
|
|
130
132
|
|
|
131
133
|
/* --- Text controls --- */
|
|
132
|
-
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins,
|
|
134
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins, [id="settings-pin-input"]) {
|
|
133
135
|
box-sizing: border-box;
|
|
134
136
|
width: 100%;
|
|
135
137
|
min-height: var(--sui-control-h);
|
|
136
138
|
padding: 8px 12px;
|
|
137
139
|
border: 1px solid var(--border);
|
|
138
140
|
border-radius: var(--sui-radius-control);
|
|
139
|
-
background: var(--bg);
|
|
141
|
+
background-color: var(--bg);
|
|
140
142
|
color: var(--text);
|
|
141
143
|
font-family: inherit;
|
|
142
|
-
font-size:
|
|
144
|
+
font-size: 13px;
|
|
143
145
|
line-height: 1.4;
|
|
144
146
|
outline: none;
|
|
145
147
|
box-shadow: none;
|
|
@@ -151,17 +153,17 @@
|
|
|
151
153
|
line-height: 1.6;
|
|
152
154
|
}
|
|
153
155
|
|
|
154
|
-
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins,
|
|
156
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins, [id="settings-pin-input"]):hover:not(:disabled) {
|
|
155
157
|
border-color: var(--text-dimmer);
|
|
156
158
|
}
|
|
157
159
|
|
|
158
|
-
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins,
|
|
159
|
-
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins,
|
|
160
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins, [id="settings-pin-input"]):focus,
|
|
161
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .settings-select, .ps-select, .ps-textarea, .settings-network-origins, [id="settings-pin-input"]):focus-visible {
|
|
160
162
|
border-color: var(--accent);
|
|
161
163
|
box-shadow: var(--sui-focus);
|
|
162
164
|
}
|
|
163
165
|
|
|
164
|
-
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .ps-textarea,
|
|
166
|
+
:is(#user-settings, #project-settings, #server-settings) :is(.us-text-input, .ps-text-input, .ps-textarea, [id="settings-pin-input"])::placeholder { color: var(--text-dimmer); }
|
|
165
167
|
|
|
166
168
|
:is(#user-settings, #project-settings, #server-settings) :is(input, textarea, select):disabled { opacity: 0.55; cursor: not-allowed; }
|
|
167
169
|
|
|
@@ -271,7 +273,7 @@
|
|
|
271
273
|
|
|
272
274
|
@media (max-width: 580px) {
|
|
273
275
|
:is(#user-settings, #project-settings, #server-settings) .settings-form-actions > .us-btn { flex: 1 1 auto; }
|
|
274
|
-
:is(#user-settings, #project-settings, #server-settings) .settings-field { padding:
|
|
276
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-field { padding: 12px 0; }
|
|
275
277
|
}
|
|
276
278
|
|
|
277
279
|
/* Monospace controls keep their face after the shared control reset. */
|
|
@@ -293,3 +295,226 @@
|
|
|
293
295
|
margin: 0;
|
|
294
296
|
}
|
|
295
297
|
}
|
|
298
|
+
|
|
299
|
+
/* Shared select anatomy: 36px field, flexible value, fixed trailing icon. */
|
|
300
|
+
.settings-native-select { display: none !important; }
|
|
301
|
+
.settings-picker { display: inline-block; position: relative; width: 200px; max-width: 100%; flex-shrink: 0; }
|
|
302
|
+
.settings-picker-trigger {
|
|
303
|
+
box-sizing: border-box; display: flex; align-items: center; gap: 12px;
|
|
304
|
+
width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--border);
|
|
305
|
+
border-radius: var(--sui-radius-control, 8px); background: var(--bg); color: var(--text);
|
|
306
|
+
font: inherit; font-size: 13px; text-align: left; cursor: pointer;
|
|
307
|
+
}
|
|
308
|
+
.settings-picker-value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
309
|
+
.settings-picker-trigger > svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--text-muted); }
|
|
310
|
+
.settings-picker-trigger:hover:not(:disabled) { border-color: var(--text-dimmer); }
|
|
311
|
+
.settings-picker-trigger:disabled { opacity: .5; cursor: not-allowed; }
|
|
312
|
+
.settings-picker-trigger:focus-visible, .settings-picker-menu button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
313
|
+
.settings-picker-menu {
|
|
314
|
+
position: absolute; z-index: 50; top: calc(100% + 4px); right: 0;
|
|
315
|
+
box-sizing: border-box; width: max-content; min-width: 100%; max-width: min(320px, 80vw);
|
|
316
|
+
max-height: 240px; overflow-y: auto; padding: 4px; border: 1px solid var(--border);
|
|
317
|
+
border-radius: 8px; background: var(--bg); color: var(--text); box-shadow: 0 6px 20px rgba(0,0,0,.14);
|
|
318
|
+
}
|
|
319
|
+
.settings-picker-menu button {
|
|
320
|
+
position: relative; display: block; width: 100%; min-height: 32px; padding: 6px 32px 6px 8px;
|
|
321
|
+
border: 0; border-radius: 4px; background: none; color: inherit; font: inherit; font-size: 13px; text-align: left; cursor: pointer;
|
|
322
|
+
}
|
|
323
|
+
.settings-picker-menu button[aria-selected=true]::after {
|
|
324
|
+
content: ''; position: absolute; right: 12px; top: 10px; width: 5px; height: 9px;
|
|
325
|
+
border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg);
|
|
326
|
+
}
|
|
327
|
+
.settings-picker-menu button:hover:not(:disabled), .settings-picker-menu button:focus { background: var(--bg-alt); }
|
|
328
|
+
.settings-picker-menu button:focus-visible { outline-offset: -2px; }
|
|
329
|
+
.settings-picker-menu button:disabled { opacity: .5; cursor: not-allowed; }
|
|
330
|
+
.settings-picker [hidden] { display: none !important; }
|
|
331
|
+
@media (max-width: 800px) {
|
|
332
|
+
.settings-native-select { display: inline-block !important; }
|
|
333
|
+
.settings-native-select + .settings-picker { display: none; }
|
|
334
|
+
}
|
|
335
|
+
@media (prefers-reduced-motion: reduce) {
|
|
336
|
+
:is(#user-settings, #project-settings, #server-settings) * { transition: none !important; animation: none !important; }
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.settings-picker-menu-above { top: auto; bottom: calc(100% + 4px); }
|
|
340
|
+
/* Native narrow controls use the same trailing slot as desktop pickers. */
|
|
341
|
+
:is(#user-settings, #project-settings, #server-settings, .admin-modal) select:is(.settings-select, .ps-select, .settings-nav-dropdown, .admin-smtp-input, select) {
|
|
342
|
+
box-sizing: border-box; appearance: none; padding-right: 36px;
|
|
343
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.75'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
|
|
344
|
+
background-repeat: no-repeat; background-position: right 12px center;
|
|
345
|
+
}
|
|
346
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-field-row + .settings-field-row,
|
|
347
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-toggle-row + .settings-toggle-row { border-top: 0; }
|
|
348
|
+
@media (min-width: 581px) { #user-settings .us-modal-nav { width: 196px; } }
|
|
349
|
+
@media (max-width: 580px) {
|
|
350
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-field-row:has(select),
|
|
351
|
+
:is(#user-settings, #project-settings, #server-settings) .settings-toggle-row:has(select) {
|
|
352
|
+
flex-direction: column; align-items: stretch; gap: 12px;
|
|
353
|
+
}
|
|
354
|
+
:is(#user-settings, #project-settings, #server-settings) select { max-width: 100%; }
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/* Personal settings use one compact navigation/detail composition. */
|
|
358
|
+
#user-settings [hidden], #user-settings .hidden { display: none !important; }
|
|
359
|
+
#user-settings .us-modal { width: min(900px, calc(100vw - 32px)); max-height: min(760px, calc(100dvh - 32px)); }
|
|
360
|
+
#user-settings .us-modal-content { min-width: 0; padding: 24px; }
|
|
361
|
+
#user-settings .us-modal-nav { width: 196px; flex: 0 0 196px; }
|
|
362
|
+
#user-settings .us-section { max-width: 640px; }
|
|
363
|
+
#user-settings .us-section h3 { margin: 24px 0 10px; }
|
|
364
|
+
#user-settings .settings-card { padding: 0; margin: 0 0 20px; background: none; border: 0; box-shadow: none; }
|
|
365
|
+
#user-settings .settings-field-row h3 { margin: 0 0 6px; }
|
|
366
|
+
#user-settings .settings-toggle-row { border-bottom: 1px solid var(--border-subtle); }
|
|
367
|
+
#user-settings .us-back { display: none; }
|
|
368
|
+
#user-settings .us-experiments { margin-top: 24px; border-top: 1px solid var(--border-subtle); padding-top: 16px; font-size: 13px; }
|
|
369
|
+
#user-settings .us-experiments summary { cursor: pointer; }
|
|
370
|
+
#user-settings .us-editor-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
|
371
|
+
#user-settings .us-editor-heading h3 { margin: 0; }
|
|
372
|
+
#user-settings .us-editor-summary { font-size: 13px; color: var(--text-muted); overflow-wrap: anywhere; }
|
|
373
|
+
#user-settings .default-ai-summary { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--border-subtle); text-align: left; color: var(--text); }
|
|
374
|
+
#user-settings .default-ai-summary-value { flex: 1; min-width: 180px; color: var(--text-muted); }
|
|
375
|
+
#user-settings .default-ai-summary svg { width: 16px; height: 16px; }
|
|
376
|
+
#user-settings .default-ai-label { display: block; margin: 12px 0; font-size: 13px; }
|
|
377
|
+
#user-settings .default-ai-label .settings-picker { display: block; margin-top: 6px; }
|
|
378
|
+
#user-settings .default-ai-status { font-size: 13px; margin-top: 8px; }
|
|
379
|
+
#user-settings .default-ai-error { color: var(--error); }
|
|
380
|
+
#user-settings .default-ai-edit-heading { display: flex; justify-content: space-between; }
|
|
381
|
+
#user-settings :is(.default-ai-cancel,.default-ai-save) { height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); color: var(--text); }
|
|
382
|
+
#user-settings :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
383
|
+
#speech-picker { z-index: 850; }
|
|
384
|
+
@media (max-width: 580px) {
|
|
385
|
+
#user-settings .us-modal { width: calc(100vw - 16px); height: calc(100dvh - 16px); max-height: none; }
|
|
386
|
+
#user-settings .us-modal-nav { display: none; width: auto; flex: auto; }
|
|
387
|
+
#user-settings .us-back { display: inline-flex; margin-bottom: 20px; }
|
|
388
|
+
#user-settings.us-show-navigation .us-modal-nav { display: block; }
|
|
389
|
+
#user-settings.us-show-navigation .us-modal-content { display: none; }
|
|
390
|
+
#user-settings .us-modal-nav-items { display: flex; flex-direction: column; }
|
|
391
|
+
#user-settings .us-nav-item { width: 100%; }
|
|
392
|
+
#user-settings #user-settings-nav-dropdown { display: none; }
|
|
393
|
+
#user-settings .us-modal-content { padding: 16px; }
|
|
394
|
+
}
|
|
395
|
+
@media (prefers-reduced-motion: reduce) {
|
|
396
|
+
#user-settings *, #speech-picker { transition: none !important; animation: none !important; }
|
|
397
|
+
}
|
|
398
|
+
#user-settings .us-config-group { padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
|
|
399
|
+
#user-settings .us-config-group:last-child { border-bottom: 0; }
|
|
400
|
+
#user-settings .us-editor-summary { margin: 6px 0; }
|
|
401
|
+
#user-settings .us-config-group > .settings-hint { margin: 6px 0 0; }
|
|
402
|
+
#user-settings .us-config-group > .settings-card { margin: 12px 0 0; }
|
|
403
|
+
#user-settings .settings-logout-card { background: none; }
|
|
404
|
+
#user-settings .us-modal-content { scrollbar-gutter: stable; }
|
|
405
|
+
#user-settings .default-ai-summary { font-size: 13px; min-height: 36px; }
|
|
406
|
+
#user-settings .default-ai-summary-label { font-size: 13px; }
|
|
407
|
+
#user-settings .default-ai-summary-value { font-size: 13px; }
|
|
408
|
+
#user-settings .us-config-group:has(+ .us-experiments) { border-bottom: 0; }
|
|
409
|
+
#user-settings .theme-picker-item { min-height: 32px; padding: 6px 8px; }
|
|
410
|
+
#user-settings .settings-theme-card > .settings-field > .settings-label { display: none; }
|
|
411
|
+
#email-setup-modal .email-setup-dialog { max-height: calc(100dvh - 32px); overflow: auto; }
|
|
412
|
+
/* Personal choices stay directly accessible; longer drafts use focused editors. */
|
|
413
|
+
#user-settings .us-preference-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
|
|
414
|
+
#user-settings .us-preference-row .settings-hint { margin: 4px 0 0; }
|
|
415
|
+
#user-settings .us-preference-row .settings-picker { width: 260px; }
|
|
416
|
+
#user-settings .us-preference-row > .settings-label { flex-shrink: 0; }
|
|
417
|
+
#user-settings .us-layout-group { border-top: 1px solid var(--border-subtle); padding-top: 20px; }
|
|
418
|
+
#user-settings #us-layout-switcher { display: inline-flex; width: auto; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-alt); }
|
|
419
|
+
#user-settings #us-layout-switcher .layout-option { flex: none; min-width: 92px; min-height: 30px; padding: 5px 14px; border-radius: 5px; border: 0; box-shadow: none; display: block; }
|
|
420
|
+
#user-settings #us-layout-switcher .layout-option-label { font-size: 13px; font-weight: 500; }
|
|
421
|
+
#user-settings #us-layout-switcher .layout-option.selected { background: var(--bg); color: var(--text); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
|
|
422
|
+
#user-settings .us-typography { border-top: 1px solid var(--border-subtle); padding-top: 20px; }
|
|
423
|
+
#user-settings .us-typography h3 { margin-top: 0; }
|
|
424
|
+
#user-settings .us-font-controls { display: flex; gap: 16px; margin-top: 16px; align-items: end; }
|
|
425
|
+
#user-settings .us-font-controls label { display: block; margin-bottom: 6px; }
|
|
426
|
+
#user-settings .us-font-controls .settings-picker { width: 240px; }
|
|
427
|
+
#user-settings .us-font-size { display: flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 13px; }
|
|
428
|
+
#user-settings .us-font-size input { width: 76px; height: 36px; margin: 0; }
|
|
429
|
+
#user-settings .us-font-preview { margin-top: 16px; padding: 12px; background: var(--bg-alt); border-radius: 6px; overflow-wrap: anywhere; }
|
|
430
|
+
#user-settings .us-profile-form { max-width: 360px; margin: 0 0 12px; }
|
|
431
|
+
#user-settings .us-profile-form input { box-sizing: border-box; display: block; width: 100%; height: 36px; margin: 6px 0 10px; padding: 8px 10px; font: inherit; font-size: 13px; color: var(--text); background: var(--bg-alt); border: 1px solid var(--border); border-radius: 6px; }
|
|
432
|
+
#user-settings .us-profile-form .settings-form-actions { display: flex; gap: 8px; margin: 0; }
|
|
433
|
+
#user-settings .us-avatar-edit { position: relative; isolation: isolate; overflow: visible; flex-shrink: 0; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 10px; align-self: start; }
|
|
434
|
+
#user-settings .us-avatar-edit .us-account-avatar { margin: 0; z-index: 0; }
|
|
435
|
+
#user-settings .us-avatar-edit-mark { position: absolute; z-index: 1; pointer-events: none; right: -4px; bottom: -4px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); }
|
|
436
|
+
#user-settings .us-avatar-edit-mark svg { width: 12px; height: 12px; }
|
|
437
|
+
#user-settings .us-avatar-edit:hover .us-avatar-edit-mark { color: var(--accent); border-color: var(--accent); }
|
|
438
|
+
#user-settings .us-account-hero { align-items: start; gap: 16px; }
|
|
439
|
+
#user-settings .settings-picker-menu button { font-size: 13px; min-height: 30px; height: auto; padding: 6px 28px 6px 9px; margin: 0; line-height: 1.4; }
|
|
440
|
+
@media(max-width:580px) {
|
|
441
|
+
#user-settings .us-preference-row { align-items: stretch; flex-direction: column; gap: 8px; }
|
|
442
|
+
#user-settings .us-preference-row select { width: 100%; }
|
|
443
|
+
#user-settings .us-font-controls > :first-child { flex: 1; min-width: 0; }
|
|
444
|
+
#user-settings .us-font-controls select { width: 100%; }
|
|
445
|
+
#user-settings .us-account-hero { flex-wrap: wrap; }
|
|
446
|
+
#user-settings .us-account-hero-copy { flex: 1; min-width: 150px; }
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/* Compact previews explain the choices without requiring a trial change. */
|
|
450
|
+
#user-settings .us-theme-pair { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; margin-top:16px; }
|
|
451
|
+
#user-settings .us-theme-choice { min-width:0; }
|
|
452
|
+
#user-settings .us-theme-choice > .settings-label { display:block; margin-bottom:8px; }
|
|
453
|
+
#user-settings .us-theme-choice .settings-picker { width:100%; }
|
|
454
|
+
#user-settings .us-theme-preview { display:flex; height:68px; border:1px solid var(--border); border-radius:6px; overflow:hidden; margin-top:8px; }
|
|
455
|
+
#user-settings .us-theme-preview-nav { width:26px; }
|
|
456
|
+
#user-settings .us-theme-preview-content { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; flex:1; min-width:0; }
|
|
457
|
+
#user-settings .us-theme-preview strong { font-size:20px; }
|
|
458
|
+
#user-settings .us-theme-swatches { display:flex; flex-wrap:wrap; gap:4px; }
|
|
459
|
+
#user-settings .us-theme-swatches span { width:12px; height:12px; border-radius:50%; }
|
|
460
|
+
#user-settings #us-layout-switcher { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; padding:0; gap:12px; border:0; background:none; }
|
|
461
|
+
#user-settings #us-layout-switcher .layout-option { display:flex; flex-direction:column; align-items:flex-start; min-width:0; padding:12px; border:1px solid var(--border); background:transparent; text-align:left; }
|
|
462
|
+
#user-settings #us-layout-switcher .layout-option.selected { border-color:var(--accent); background:var(--accent-8); }
|
|
463
|
+
#user-settings #us-layout-switcher .layout-option-desc { display:block; font-size:12px; color:var(--text-muted); line-height:1.4; margin-top:4px; }
|
|
464
|
+
#user-settings .us-layout-preview { display:flex; flex-direction:column; gap:5px; height:48px; width:100%; margin-bottom:8px; }
|
|
465
|
+
#user-settings .us-layout-preview i { display:block; width:65%; height:9px; background:var(--text-dimmer); opacity:.5; border-radius:3px; }
|
|
466
|
+
#user-settings .us-layout-preview-bubble i:nth-child(2) { align-self:flex-end; width:50%; background:var(--accent); }
|
|
467
|
+
#user-settings .us-layout-preview-channel i { width:90%; border-left:7px solid var(--accent); border-radius:1px; }
|
|
468
|
+
#user-settings .us-layout-preview-channel i:nth-child(2) { width:75%; }
|
|
469
|
+
@media(max-width:600px) { #user-settings .us-theme-pair { gap:10px; } #user-settings .us-theme-preview-content { padding:8px; gap:6px; } #user-settings .us-theme-preview-nav { width:12px; } }
|
|
470
|
+
#user-settings #us-voice-key-form { margin:12px 0; }
|
|
471
|
+
#user-settings #us-voice-key { display:block; width:min(100%,360px); margin-top:8px; }
|
|
472
|
+
#user-settings #us-voice-key-form a { font-size:12px; color:var(--link); }
|
|
473
|
+
#user-settings #us-voice-connection { border-top:1px solid var(--border-subtle); border-bottom:1px solid var(--border-subtle); padding-bottom:12px; margin-top:12px; }
|
|
474
|
+
|
|
475
|
+
/* Personal voice settings manage one shared key per provider. */
|
|
476
|
+
#user-settings .us-voice-providers { margin-top:16px; }
|
|
477
|
+
#user-settings .us-voice-row-controls { display:flex; align-items:center; gap:10px; padding:10px 0; }
|
|
478
|
+
#user-settings .us-voice-row + .us-voice-row { border-top:1px solid var(--border-subtle); }
|
|
479
|
+
#user-settings .us-voice-provider-logo { width:24px; height:24px; object-fit:contain; border-radius:5px; background:#fff; }
|
|
480
|
+
#user-settings .us-voice-provider-copy { flex:1; min-width:0; }
|
|
481
|
+
#user-settings .us-voice-provider-copy strong { display:block; font-size:13px; font-weight:500; }
|
|
482
|
+
#user-settings .us-voice-provider-copy small { display:block; color:var(--text-muted); font-size:12px; margin-top:3px; }
|
|
483
|
+
#user-settings .us-voice-key-action { flex:0 0 72px; padding:0 8px; font-size:12px; }
|
|
484
|
+
#user-settings .us-voice-row #us-voice-connection { margin:4px 0 12px 34px; padding:0 12px 12px; border:1px solid var(--border-subtle); border-radius:6px; background:var(--bg-alt); }
|
|
485
|
+
#user-settings .us-voice-row #us-voice-key-form { margin-top:12px; }
|
|
486
|
+
@media(max-width:600px) { #user-settings .us-voice-row #us-voice-connection { margin-left:0; } }
|
|
487
|
+
|
|
488
|
+
#user-settings #us-linear-editor { margin:8px 0 16px; padding:12px; border:1px solid var(--border-subtle); border-radius:6px; background:var(--bg-alt); }
|
|
489
|
+
#user-settings #us-linear-editor[hidden] { display:none; }
|
|
490
|
+
#user-settings #us-linear-connections strong, #user-settings #us-linear-connections small { overflow-wrap:anywhere; }
|
|
491
|
+
|
|
492
|
+
/* Personal connection collection and compact service catalog. */
|
|
493
|
+
#user-settings .us-integration-catalog { border-top:1px solid var(--border-subtle); margin-top:24px; padding-top:20px; }
|
|
494
|
+
#user-settings .us-integration-tiles { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:12px; }
|
|
495
|
+
#user-settings .us-integration-tile { display:flex; align-items:center; gap:10px; min-height:48px; padding:10px 12px; border:1px solid var(--border-subtle); border-radius:8px; background:transparent; color:var(--text); font:inherit; font-size:13px; cursor:pointer; text-align:left; }
|
|
496
|
+
#user-settings .us-integration-tile:hover { background:var(--bg-alt); }
|
|
497
|
+
#user-settings .us-integration-tile:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
498
|
+
#user-settings .us-integration-tile svg, #user-settings .us-integration-tile img { width:22px; height:22px; }
|
|
499
|
+
#user-settings .us-integration-brand { display:flex; align-items:center; justify-content:center; width:24px; flex:0 0 24px; }
|
|
500
|
+
#user-settings .us-integration-brand svg, #user-settings .us-integration-brand img { width:20px; height:20px; }
|
|
501
|
+
#user-settings .us-integration-state { color:var(--text-muted); font-size:12px; white-space:nowrap; }
|
|
502
|
+
#user-settings .us-integration-email-row { border-bottom:1px solid var(--border-subtle); }
|
|
503
|
+
#user-settings .us-email-manage { padding:0 0 12px 34px; }
|
|
504
|
+
#user-settings .us-email-manage[hidden] { display:none; }
|
|
505
|
+
#user-settings .us-voice-provider-copy { overflow-wrap:anywhere; }
|
|
506
|
+
@media(max-width:600px) {
|
|
507
|
+
#user-settings .us-integration-tiles { grid-template-columns:repeat(2,minmax(0,1fr)); }
|
|
508
|
+
#user-settings [data-section="us-integrations"] .us-voice-row-controls { display:grid; grid-template-columns:24px minmax(0,1fr) auto; gap:8px; }
|
|
509
|
+
#user-settings [data-section="us-integrations"] .us-integration-state { grid-column:2; grid-row:2; }
|
|
510
|
+
#user-settings [data-section="us-integrations"] .us-voice-row-controls > button { grid-column:3; grid-row:1 / span 2; }
|
|
511
|
+
}
|
|
512
|
+
#user-settings #us-connections-empty { display:none; padding:12px 0; }
|
|
513
|
+
#user-settings [data-connections-loaded="true"]:not(:has(.us-integration-email-row, [data-connection-id])) #us-connections-empty { display:block; }
|
|
514
|
+
#user-settings .us-integration-catalog h3 { margin-top:0; }
|
|
515
|
+
#user-settings .email-setup-inline { margin:8px 0 16px; }
|
|
516
|
+
#user-settings .email-setup-inline .email-setup-dialog { width:100%; max-width:none; max-height:none; overflow:visible; padding:12px; border:1px solid var(--border-subtle); border-radius:6px; background:var(--bg-alt); box-sizing:border-box; }
|
|
517
|
+
#user-settings .email-setup-inline .email-setup-title { font-size:14px; margin:0 0 16px; }
|
|
518
|
+
#user-settings .email-setup-inline .email-setup-input { height:36px; font-size:13px; }
|
|
519
|
+
#user-settings .email-setup-inline .email-setup-actions { flex-wrap:wrap; }
|
|
520
|
+
#user-settings .email-setup-inline .email-setup-btn { min-height:32px; font-size:13px; }
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
/* Shared browser uses the existing mutually exclusive right workbench. */
|
|
4
4
|
.shared-browser-panel { width: 50%; max-width: 780px; min-width: 360px; height: calc(100% - 16px); align-self: center; margin: 8px 8px 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--bg); display: flex; flex-direction: column; overflow: hidden; flex-shrink: 0; box-shadow: 4px 8px 18px rgba(var(--shadow-rgb), .14); }
|
|
5
|
-
.shared-browser-panel.hidden, #shared-browser-btn.hidden { display: none; }
|
|
5
|
+
.shared-browser-panel.hidden, #shared-browser-btn.hidden, #shared-browser-toggle-btn.hidden { display: none; }
|
|
6
|
+
#shared-browser-btn:disabled, #shared-browser-toggle-btn:disabled { opacity: .45; cursor: not-allowed; background: transparent; box-shadow: none; }
|
|
7
|
+
#shared-browser-btn:disabled > .lucide { color: var(--text-muted); background: var(--bg); box-shadow: 0 1px 3px rgba(var(--shadow-rgb), .1); transform: none; }
|
|
6
8
|
.shared-browser-panel.shared-browser-wide { width: 70%; max-width: 1280px; }
|
|
7
9
|
.shared-browser-panel.panel-fullscreen { width: 100%; max-width: none; min-width: 0; height: 100%; margin: 0; border: 0; border-radius: 0; }
|
|
8
10
|
.shared-browser-header { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--border); }
|
|
@@ -14,7 +16,7 @@
|
|
|
14
16
|
.shared-browser-panel button { display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--text); border: 0; border-radius: 6px; padding: 7px; cursor: pointer; font: inherit; }
|
|
15
17
|
.shared-browser-panel button:hover { background: var(--bg-alt); }
|
|
16
18
|
.shared-browser-panel button:disabled, .shared-browser-panel input:disabled, .shared-browser-panel select:disabled { opacity: .45; cursor: default; }
|
|
17
|
-
.shared-browser-panel button:focus-visible, #shared-browser-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
19
|
+
.shared-browser-panel button:focus-visible, #shared-browser-btn:focus-visible, #shared-browser-toggle-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
|
|
18
20
|
.shared-browser-address { display: flex; align-items: center; gap: 3px; padding: 8px; border-bottom: 1px solid var(--border); }
|
|
19
21
|
.shared-browser-address input { flex: 1; width: 0; min-width: 0; background: var(--bg-alt); color: var(--text); border: 1px solid var(--border); border-radius: 6px; padding: 7px 9px; font: inherit; font-size: 11px; }
|
|
20
22
|
.shared-browser-viewport { position: relative; flex: 1; min-height: 0; background: #202224; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 44px; }
|
|
@@ -51,7 +53,7 @@
|
|
|
51
53
|
.shared-browser-details [data-action="end"] { color: var(--text-muted); border-left: 1px solid var(--border); border-radius: 0; padding-left: 10px; }
|
|
52
54
|
.shared-browser-error.hidden { display: none; }
|
|
53
55
|
.shared-browser-error { padding: 8px 12px; margin: 0; font-size: 11px; color: var(--text); background: var(--bg-alt); }
|
|
54
|
-
@media (max-width: 1023px) { #shared-browser-panel, #shared-browser-btn { display: none !important; } }
|
|
56
|
+
@media (max-width: 1023px) { #shared-browser-panel, #shared-browser-btn, #shared-browser-toggle-btn { display: none !important; } }
|
|
55
57
|
|
|
56
58
|
.shared-browser-resolution { position: relative; }
|
|
57
59
|
.shared-browser-resolution [data-viewport-trigger] { gap: 5px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
|
|
@@ -92,3 +94,5 @@
|
|
|
92
94
|
.shared-browser-tab small { font-size: 9px; color: var(--text-muted); }
|
|
93
95
|
.shared-browser-tab [aria-selected="true"] small { color: var(--accent); }
|
|
94
96
|
.shared-browser-tab > button:last-child { padding: 5px; font-size: 15px; color: var(--text-muted); }
|
|
97
|
+
|
|
98
|
+
#shared-browser-toggle-btn[aria-expanded="true"] { color: var(--text); background: rgba(var(--overlay-rgb), .06); }
|
|
@@ -857,7 +857,11 @@
|
|
|
857
857
|
border-radius: 10px;
|
|
858
858
|
font-size: 12px;
|
|
859
859
|
font-weight: 500;
|
|
860
|
-
white-space:
|
|
860
|
+
white-space: normal;
|
|
861
|
+
width: max-content;
|
|
862
|
+
max-width: min(320px, calc(100vw - 32px));
|
|
863
|
+
box-sizing: border-box;
|
|
864
|
+
line-height: 1.4;
|
|
861
865
|
background: color-mix(in srgb, var(--warning) 15%, var(--bg));
|
|
862
866
|
color: var(--warning);
|
|
863
867
|
border: 1px solid color-mix(in srgb, var(--warning) 25%, transparent);
|