@floless/app 0.157.0 → 0.159.0
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/cli-actions.mjs +7 -0
- package/dist/floless-server.cjs +188306 -155284
- package/dist/schemas/drawing-check.profile.v1.schema.json +33 -1
- package/dist/skills/floless-app-actions/SKILL.md +26 -5
- package/dist/skills/floless-app-bridge/SKILL.md +5 -3
- package/dist/skills/floless-app-knowledge/SKILL.md +14 -1
- package/dist/skills/floless-app-knowledge/references/schema.md +4 -1
- package/dist/skills/floless-app-onboarding/SKILL.md +67 -4
- package/dist/skills/floless-app-onboarding/references/floless-surfaces.md +7 -4
- package/dist/skills/floless-app-queue/SKILL.md +3 -1
- package/dist/skills/floless-app-steel-model/SKILL.md +41 -1
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +71 -1
- package/dist/skills/floless-app-workflows/SKILL.md +6 -3
- package/dist/web/agents.js +12 -5
- package/dist/web/app.css +229 -27
- package/dist/web/app.js +6 -0
- package/dist/web/aware.js +275 -64
- package/dist/web/chat.css +60 -22
- package/dist/web/chat.js +396 -59
- package/dist/web/commands-shell.js +546 -11
- package/dist/web/commands-steel.js +1 -0
- package/dist/web/drawing-check-editor.html +10 -0
- package/dist/web/drawing-check-editor.js +44 -0
- package/dist/web/guide.js +4 -2
- package/dist/web/index.html +66 -12
- package/dist/web/instructor.js +21 -9
- package/dist/web/kb-categories.js +351 -0
- package/dist/web/kb-graph-worker.js +73 -0
- package/dist/web/pages.js +185 -19
- package/dist/web/project-access.js +67 -8
- package/dist/web/project-modules.js +474 -0
- package/dist/web/project-workflows.js +274 -0
- package/dist/web/run-page-view.js +353 -0
- package/dist/web/steel-3d-core.js +46 -0
- package/dist/web/steel-3d-view.js +8 -38
- package/dist/web/steel-editor.html +225 -43
- package/dist/web/tab-signal.js +323 -0
- package/dist/web/terminal-requests.js +48 -7
- package/dist/web/workspace-root-recovery.js +119 -0
- package/dist/web/workspaces.js +1597 -220
- package/launch-starting-page.mjs +184 -0
- package/launch.mjs +214 -73
- package/package.json +7 -1
- package/dist/web/report-files.js +0 -50
package/dist/web/agents.js
CHANGED
|
@@ -432,20 +432,27 @@
|
|
|
432
432
|
}
|
|
433
433
|
|
|
434
434
|
/**
|
|
435
|
-
*
|
|
435
|
+
* Another page saved, paused, resumed, archived or restored this agent — take its state. With unsaved edits the
|
|
436
436
|
* draft stays, and so does the revision it was opened at, so a save over a changed agent still asks first.
|
|
437
437
|
*/
|
|
438
438
|
async function refreshAgentState(agentId) {
|
|
439
439
|
if (!state.open) return;
|
|
440
440
|
if (state.view !== 'page' || state.agent?.agentId !== agentId) { if (state.view !== 'page') void loadAgents(); return; }
|
|
441
|
+
const generation = state.pageGeneration;
|
|
441
442
|
try {
|
|
442
443
|
const fresh = (await api(`/api/chat/agents/${encodeURIComponent(agentId)}`)).agent;
|
|
443
|
-
if (state.agent?.agentId !== agentId) return;
|
|
444
|
+
if (generation !== state.pageGeneration || state.agent?.agentId !== agentId) return;
|
|
445
|
+
// A read begun before our own Save may finish afterwards. Never put its older version back over that save.
|
|
446
|
+
if (fresh.revision < state.agent.revision) return;
|
|
444
447
|
if (!state.dirty) { state.agent = fresh; state.draft = draftOf(fresh); }
|
|
445
|
-
else
|
|
448
|
+
else {
|
|
449
|
+
// A definition save elsewhere changes none of this draft. Avoid rebuilding its active text field too.
|
|
450
|
+
if (state.agent.pausedAt === fresh.pausedAt && state.agent.archivedAt === fresh.archivedAt) return;
|
|
451
|
+
state.agent = { ...state.agent, pausedAt: fresh.pausedAt, archivedAt: fresh.archivedAt };
|
|
452
|
+
}
|
|
446
453
|
paint();
|
|
447
454
|
} catch (error) {
|
|
448
|
-
if (state.agent?.agentId !== agentId) return;
|
|
455
|
+
if (generation !== state.pageGeneration || state.agent?.agentId !== agentId) return;
|
|
449
456
|
console.warn('[agents] could not read this agent again after it changed elsewhere:', error);
|
|
450
457
|
state.banner = { text: 'This agent was changed in another window and FloLess couldn’t read it again. Go back to all agents and open it again to see where it stands.' };
|
|
451
458
|
paint();
|
|
@@ -1141,7 +1148,7 @@
|
|
|
1141
1148
|
refreshRuns() {
|
|
1142
1149
|
if (state.open && state.view === 'page' && state.agent) void loadRuns();
|
|
1143
1150
|
},
|
|
1144
|
-
/**
|
|
1151
|
+
/** An agent was saved, paused, resumed, archived or restored (maybe in another tab). */
|
|
1145
1152
|
refreshAgent(agentId) { void refreshAgentState(agentId); },
|
|
1146
1153
|
/**
|
|
1147
1154
|
* #2046: a Guide suggestion — a new agent's page with its name and instructions filled in. Nothing is saved until the
|
package/dist/web/app.css
CHANGED
|
@@ -4172,7 +4172,7 @@
|
|
|
4172
4172
|
the hide with a class+attribute selector (higher specificity than .menu-theme). */
|
|
4173
4173
|
.menu-startup[hidden] { display: none; }
|
|
4174
4174
|
/* #2448: the AI note switch for every workflow's reports, with its plain hint under it (a hover tip is easy to miss). */
|
|
4175
|
-
.menu-ai-note[hidden] { display: none; }
|
|
4175
|
+
.menu-ai-note[hidden], .menu-run-notify[hidden] { display: none; }
|
|
4176
4176
|
.menu-ai-note-hint { margin: -4px 9px 6px; font-size: 11px; line-height: 1.4; color: var(--text-dim); }
|
|
4177
4177
|
/* Same footgun: .menu-item is display:flex, so JS-hiding the fullscreen row on
|
|
4178
4178
|
browsers without the Fullscreen API needs an explicit hide to win over flex. */
|
|
@@ -5101,7 +5101,13 @@ input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offs
|
|
|
5101
5101
|
.report-stage { position: relative; flex: 1; background: var(--bg); }
|
|
5102
5102
|
/* Only the SHOWN frame fills the stage — `:not([hidden])` so `display:block` never defeats the
|
|
5103
5103
|
`hidden` attribute on the inactive frame (else it keeps its height and pushes the other off-screen). */
|
|
5104
|
-
#report-frame:not([hidden]), #report-frame-3d:not([hidden]) { width: 100%; height: 100%; border: 0; display: block; background: var(--bg); }
|
|
5104
|
+
#report-frame:not([hidden]), #report-frame-3d:not([hidden]), #report-frame-page:not([hidden]) { width: 100%; height: 100%; border: 0; display: block; background: var(--bg); }
|
|
5105
|
+
/* #2476: the run viewer's note on a report with files (saving it to its Page, why it is not shown). */
|
|
5106
|
+
.report-files-note {
|
|
5107
|
+
padding: 8px 18px; border-bottom: 1px solid var(--border); border-left: 3px solid var(--warn);
|
|
5108
|
+
background: var(--surface-2); color: var(--text-muted); font-size: 12px; line-height: 1.5;
|
|
5109
|
+
}
|
|
5110
|
+
.report-files-note[hidden] { display: none; }
|
|
5105
5111
|
|
|
5106
5112
|
/* Live "On trigger" report: a pulsing pip in the viewer subtitle + a brief edge
|
|
5107
5113
|
flash on the stage when a trigger routine (e.g. tekla-selection-report) pushes a
|
|
@@ -6356,7 +6362,7 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6356
6362
|
font-family:var(--ui); font-size:12px; line-height:normal; outline:none; }
|
|
6357
6363
|
.ws-landing-search::placeholder { color:var(--text-muted); opacity:1; }
|
|
6358
6364
|
.ws-landing-search:hover { border-color:var(--accent-dim); }
|
|
6359
|
-
.ws-landing-search:focus-visible { border-color:var(--accent);
|
|
6365
|
+
.ws-landing-search:focus-visible { outline:none; border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }
|
|
6360
6366
|
.ws-landing-search::-webkit-search-decoration { -webkit-appearance:none; appearance:none; }
|
|
6361
6367
|
.ws-landing-search::-webkit-search-cancel-button { -webkit-appearance:none; appearance:none;
|
|
6362
6368
|
width:10px; height:10px; margin-left:6px; cursor:pointer; color:var(--text-muted);
|
|
@@ -6562,12 +6568,18 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6562
6568
|
.ws-archived-summary:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
6563
6569
|
.ws-archived[open] > .ws-archived-summary .ws-archived-caret { transform:rotate(90deg); }
|
|
6564
6570
|
.ws-archived-count { font-family:var(--mono); letter-spacing:0; color:var(--text-muted); }
|
|
6565
|
-
/* Workflows page:
|
|
6566
|
-
|
|
6567
|
-
|
|
6568
|
-
.
|
|
6569
|
-
|
|
6570
|
-
.wf-
|
|
6571
|
+
/* Workflows page: every section (Your workflows, Installed, Archived) is this disclosure holding a card grid (not the
|
|
6572
|
+
Workspaces row list). The divider sits between sections only, never above the first shown, which follows New workflow;
|
|
6573
|
+
the first keeps the same padding so its summary lines up with the others. `hidden` must beat any display. */
|
|
6574
|
+
.ws-archived.wf-section { margin-top:14px; border-top:none; padding-top:10px; }
|
|
6575
|
+
/* After a SHOWN section only: a search that hides Your workflows must not leave a divider above Installed. */
|
|
6576
|
+
.ws-archived.wf-section:not([hidden]) ~ .wf-section { margin-top:18px; border-top:1px solid var(--border); }
|
|
6577
|
+
.wf-section > .ws-grid { margin-top:10px; }
|
|
6578
|
+
/* The summary is the only way into its cards (126 archived ones, for some), so it reads at AA contrast (--text-dim is
|
|
6579
|
+
~3:1 light / ~3.9:1 dark). */
|
|
6580
|
+
.wf-section > .ws-archived-summary { color:var(--text-muted); }
|
|
6581
|
+
.wf-section > .ws-archived-summary:hover { color:var(--text); }
|
|
6582
|
+
.wf-section[hidden] { display:none; }
|
|
6571
6583
|
.ws-archived-list { margin-top:8px; border:1px solid var(--border); border-radius:10px; background:var(--surface);
|
|
6572
6584
|
max-height:320px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
6573
6585
|
.ws-archived-row { display:flex; align-items:center; justify-content:space-between; gap:12px;
|
|
@@ -6732,6 +6744,9 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6732
6744
|
.ws-back:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
6733
6745
|
.tabs.ws-step-tabs { background:transparent; padding:0 6px; }
|
|
6734
6746
|
.tabs.ws-step-tabs button { flex:0 0 auto; padding:10px 14px; }
|
|
6747
|
+
/* The Workflows page's own Workflows | Pages tabs sit under the heading, flush with it (#2568). */
|
|
6748
|
+
.tabs.ws-step-tabs.wf-landing-tabs { padding:0; margin:-4px 0 14px; }
|
|
6749
|
+
.tabs.ws-step-tabs.wf-landing-tabs button:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
6735
6750
|
.tabs.ws-step-tabs button.ws-step-locked { color:var(--text-dim); cursor:not-allowed; opacity:.62; }
|
|
6736
6751
|
.tabs.ws-step-tabs button.ws-step-locked::before { content:'·'; color:var(--border-strong); margin-right:5px; }
|
|
6737
6752
|
.tabs.ws-step-tabs button.ws-step-locked:hover { color:var(--text-muted); border-bottom-color:transparent; }
|
|
@@ -7804,10 +7819,6 @@ tr.hist-diff-row[hidden] { display:none; }
|
|
|
7804
7819
|
/* Metrics come from the shared step-header rule above; this keeps only what is specific to the graph. */
|
|
7805
7820
|
.kb-graph-sub { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 5px 12px; border-bottom: 1px solid var(--border); }
|
|
7806
7821
|
.kb-g-legend { display: flex; gap: 12px; }
|
|
7807
|
-
.kb-gleg { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: var(--text-muted); }
|
|
7808
|
-
.kb-gleg::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
|
|
7809
|
-
.kb-gleg.con::before { background: color-mix(in srgb, var(--accent) 55%, var(--text-muted)); }
|
|
7810
|
-
.kb-gleg.per::before { background: color-mix(in srgb, var(--accent) 25%, var(--text-muted)); }
|
|
7811
7822
|
.kb-g-hint { font-size: 10.5px; color: var(--text-dim); }
|
|
7812
7823
|
.kb-graph-body { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 8px; position: relative; }
|
|
7813
7824
|
.kb-graph-svg { width: 100%; height: 100%; }
|
|
@@ -7824,9 +7835,6 @@ tr.hist-diff-row[hidden] { display:none; }
|
|
|
7824
7835
|
.kb-g-node:hover .kb-g-dot, .kb-g-node:focus-visible .kb-g-dot { fill: var(--accent-bright); filter: drop-shadow(0 0 5px var(--accent-glow)); }
|
|
7825
7836
|
.kb-g-node:focus-visible { outline: none; }
|
|
7826
7837
|
.kb-g-node:focus-visible .kb-g-dot { stroke: var(--accent-bright); }
|
|
7827
|
-
.kb-g-source .kb-g-dot { fill: var(--accent); }
|
|
7828
|
-
.kb-g-concept .kb-g-dot { fill: color-mix(in srgb, var(--accent) 55%, var(--text-muted)); }
|
|
7829
|
-
.kb-g-person .kb-g-dot { fill: color-mix(in srgb, var(--accent) 25%, var(--text-muted)); }
|
|
7830
7838
|
.kb-g-overview { background: transparent; border: 1px solid var(--border-strong); color: var(--text-muted); border-radius: 6px; padding: 2px 8px; font-size: 12px; cursor: pointer; font: inherit; }
|
|
7831
7839
|
.kb-g-overview:hover { color: var(--text); border-color: var(--accent); }
|
|
7832
7840
|
.kb-page-type { margin-left: 8px; font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
|
|
@@ -8133,7 +8141,7 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
8133
8141
|
.approval-revision-note::-webkit-scrollbar, .approval-revision-note textarea::-webkit-scrollbar { width: 8px; }
|
|
8134
8142
|
.approval-revision-note::-webkit-scrollbar-thumb, .approval-revision-note textarea::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 5px; }
|
|
8135
8143
|
.approval-revision-note::-webkit-scrollbar-track, .approval-revision-note textarea::-webkit-scrollbar-track { background: transparent; }
|
|
8136
|
-
.approval-revision-note textarea:focus-visible { outline:
|
|
8144
|
+
.approval-revision-note textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
8137
8145
|
.hist-revision-note { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 5px; }
|
|
8138
8146
|
.hist-revision-note-meta { color: var(--text-dim); font-size: 11px; margin-bottom: 6px; }
|
|
8139
8147
|
.hist-note-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
|
|
@@ -8164,6 +8172,44 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
8164
8172
|
.ws-pages::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:5px; }
|
|
8165
8173
|
.ws-pages::-webkit-scrollbar-track { background:transparent; }
|
|
8166
8174
|
.pg-sub { font-size:12px; color:var(--text-muted); margin:6px 0 14px; }
|
|
8175
|
+
/* #2470 R6.2: a project's Workflows step — the Pages list's rows, with the Workflows page's chip and Archived section. */
|
|
8176
|
+
.ws-workflows .step-head .pw-new { margin-left:auto; padding:4px 10px; font-size:12px; }
|
|
8177
|
+
.ws-workflows .pw-empty .pw-new-empty { margin-top:8px; padding:4px 10px; font-size:12px; }
|
|
8178
|
+
.ws-workflows .pw-archived { max-width:880px; }
|
|
8179
|
+
.ws-workflows .pw-archived .pg-list { margin-top:8px; }
|
|
8180
|
+
.ws-workflows .pw-archived .pg-row-title { color:var(--text-muted); }
|
|
8181
|
+
.ws-workflows [data-pw-heading]:focus { outline:none; }
|
|
8182
|
+
.pw-chip { flex:none; font-size:9px; text-transform:uppercase; letter-spacing:.1em; color:var(--accent-bright);
|
|
8183
|
+
background:var(--surface); border:1px solid var(--accent-dim); padding:2px 7px; border-radius:4px; }
|
|
8184
|
+
.pw-chip.is-muted { color:var(--text-muted); border-color:var(--border-strong); }
|
|
8185
|
+
/* #2470 R6.7: a General project's Modules step — the same rows, a muted chip for every state that cannot open, the
|
|
8186
|
+
Created-here strip in the empty-state card, and the Project access sheet (wider) for Add a module. No new colours. */
|
|
8187
|
+
.ws-modules .step-head .pm-head-acts { margin-left:auto; display:flex; gap:8px; }
|
|
8188
|
+
.ws-modules .step-head .pm-head-acts button { padding:4px 10px; font-size:12px; }
|
|
8189
|
+
.ws-modules [data-pm-heading]:focus { outline:none; }
|
|
8190
|
+
.ws-modules .pm-row { padding-right:6px; }
|
|
8191
|
+
.ws-modules .pm-row.is-off { padding-left:12px; }
|
|
8192
|
+
.ws-modules .pm-row-info { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; padding:9px 0; }
|
|
8193
|
+
.ws-modules .pm-row.is-off .pg-row-title { color:var(--text-muted); }
|
|
8194
|
+
.ws-modules .pm-act { flex:none; padding:4px 10px; font-size:12px; }
|
|
8195
|
+
.ws-modules .pm-unlink { flex:none; width:28px; height:28px; padding:0; font-size:12px; color:var(--text-muted); }
|
|
8196
|
+
.ws-modules .pm-unlink:hover { color:var(--text); }
|
|
8197
|
+
.ws-modules .pm-strip { margin:0 0 12px; max-width:880px; display:flex; flex-direction:column; gap:8px; }
|
|
8198
|
+
.ws-modules .pm-strip-row { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
|
|
8199
|
+
.ws-modules .pm-strip-row > span:first-child { flex:1; min-width:200px; color:var(--text); }
|
|
8200
|
+
.ws-modules .pm-strip-acts { display:flex; gap:6px; }
|
|
8201
|
+
.ws-modules .pm-strip-acts button { padding:3px 10px; font-size:12px; }
|
|
8202
|
+
.ws-modules .pm-strip-more, .pm-note { font-size:12px; color:var(--text-dim); margin:8px 0 0; }
|
|
8203
|
+
.pm-backdrop.pm-wide .pm-sheet { width:min(760px, 100vw); }
|
|
8204
|
+
.pm-sheet .pm-cards { margin:8px 0 4px; }
|
|
8205
|
+
/* No drop target inside a modal (the landing keeps drop): the cards are clicked here, so their drop hint is not shown. */
|
|
8206
|
+
.pm-sheet .ws-seed .ws-seed-hint { display:none; }
|
|
8207
|
+
.pm-sheet .pm-filter { width:100%; margin:8px 0 10px; box-sizing:border-box; }
|
|
8208
|
+
.pm-sheet .pm-pick-list { display:flex; flex-direction:column; gap:6px; }
|
|
8209
|
+
.pm-sheet .pm-pick { width:100%; display:flex; flex-direction:column; align-items:flex-start; gap:3px; padding:9px 12px; text-align:left;
|
|
8210
|
+
background:var(--surface-2); border:1px solid var(--border); border-radius:6px; color:var(--text); font:inherit; cursor:pointer; }
|
|
8211
|
+
.pm-sheet .pm-pick:hover { background:var(--surface-3); }
|
|
8212
|
+
.pm-sheet .pm-pick:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
8167
8213
|
.pg-loading-line { font-size:12px; color:var(--text-dim); margin:8px 0; }
|
|
8168
8214
|
.pg-empty { margin:6px 0 0; padding:11px 14px; background:var(--surface-2); border:1px solid var(--border);
|
|
8169
8215
|
border-left:3px solid var(--accent-dim); border-radius:6px; font-size:12.5px; color:var(--text-muted); max-width:640px; }
|
|
@@ -8173,16 +8219,19 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
8173
8219
|
.pg-group-label { font-size:11px; text-transform:uppercase; letter-spacing:0.08em; font-weight:600; color:var(--text-dim); margin:14px 0 6px; }
|
|
8174
8220
|
.pg-group-label:first-child { margin-top:0; }
|
|
8175
8221
|
.pg-row { display:flex; align-items:center; gap:8px; background:var(--surface-2); border:1px solid var(--border); border-radius:6px; }
|
|
8176
|
-
.
|
|
8222
|
+
/* .pw-row-open: a project's Workflows step (#2470 R6.2) wears the same row; its own class, because pages.js opens a Page for any .pg-row-open click. */
|
|
8223
|
+
.pg-row-open, .pw-row-open, .pm-row-open { flex:1; min-width:0; display:flex; flex-direction:column; align-items:flex-start; gap:3px;
|
|
8177
8224
|
padding:9px 12px; background:transparent; border:0; border-radius:6px; text-align:left; cursor:pointer; color:var(--text); font:inherit; }
|
|
8178
|
-
.pg-row-open:hover { background:var(--surface-3); }
|
|
8179
|
-
.pg-row-open:focus-visible, .pg-row-delete:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
8225
|
+
.pg-row-open:hover, .pw-row-open:hover, .pm-row-open:hover { background:var(--surface-3); }
|
|
8226
|
+
.pg-row-open:focus-visible, .pw-row-open:focus-visible, .pm-row-open:focus-visible, .pg-row-delete:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
8180
8227
|
.pg-row-line { display:flex; align-items:center; gap:8px; min-width:0; max-width:100%; }
|
|
8181
8228
|
.pg-row-title { font-size:13px; font-weight:600; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
8182
8229
|
.pg-row-meta { font-size:11.5px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }
|
|
8183
8230
|
.pg-row-damaged { padding:9px 12px; border-left:3px solid var(--warn); }
|
|
8184
8231
|
.pg-row-text { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
|
|
8185
8232
|
.pg-row-damaged .pg-row-meta { white-space:normal; }
|
|
8233
|
+
/* #2568: a part of the Workflows Pages tab that could not be read is said above the rows that could. */
|
|
8234
|
+
.pg-wf-note { margin:0 0 8px; padding:8px 12px; border-left:3px solid var(--warn); color:var(--text-dim); font-size:12px; }
|
|
8186
8235
|
.pg-row-delete { padding:5px 10px; background:var(--surface-3); color:var(--text-muted); flex-shrink:0; }
|
|
8187
8236
|
.pg-row-delete:hover { color:var(--text); border-color:var(--warn); }
|
|
8188
8237
|
.ws-pages-group:empty { display:none; }
|
|
@@ -8207,18 +8256,26 @@ body.mode-agents #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
8207
8256
|
.page-viewer-backdrop.pv-full { padding:0; }
|
|
8208
8257
|
.page-viewer-backdrop.pv-full .modal.page-viewer { width:100vw; max-width:100vw; height:100vh; border-radius:0; }
|
|
8209
8258
|
/* Keep the existing Instructor usable above the viewer, as for directory decisions. */
|
|
8210
|
-
body:has(.app.has-instructor) #page-viewer.show
|
|
8259
|
+
body:has(.app.has-instructor) #page-viewer.show,
|
|
8260
|
+
body:has(.app.has-instructor) .ai-chat-viewer-backdrop.show { box-sizing:border-box; padding-bottom:128px; }
|
|
8211
8261
|
body:has(.app.has-instructor) #page-viewer.show .modal.page-viewer { max-height:min(86vh, calc(100dvh - 152px)); }
|
|
8262
|
+
/* #2582: AI Chat's source viewers keep the band above them the same way. */
|
|
8263
|
+
body:has(.app.has-instructor) .ai-chat-viewer-backdrop.show .ai-chat-source-viewer { max-height:min(90vh, calc(100dvh - 152px)); }
|
|
8212
8264
|
body:has(.app.has-instructor) #page-viewer.show.pv-full .modal.page-viewer { height:calc(100dvh - 128px); max-height:calc(100dvh - 128px); }
|
|
8213
|
-
body:has(#page-viewer.show) .app.has-instructor #instructor
|
|
8265
|
+
body:has(#page-viewer.show) .app.has-instructor #instructor,
|
|
8266
|
+
body:has(.ai-chat-viewer-backdrop.show) .app.has-instructor #instructor {
|
|
8214
8267
|
position:relative; z-index:101; pointer-events:auto; height:auto; min-height:34px; max-height:84px;
|
|
8215
8268
|
align-items:flex-start; padding:8px 14px; line-height:1.45; white-space:normal; overflow-y:auto;
|
|
8216
8269
|
scrollbar-width:thin; scrollbar-color:var(--text-dim) transparent;
|
|
8217
8270
|
}
|
|
8218
|
-
body:has(#page-viewer.show) #instructor::-webkit-scrollbar
|
|
8219
|
-
body:has(
|
|
8220
|
-
body:has(#page-viewer.show) #instructor::-webkit-scrollbar-
|
|
8221
|
-
body:has(
|
|
8271
|
+
body:has(#page-viewer.show) #instructor::-webkit-scrollbar,
|
|
8272
|
+
body:has(.ai-chat-viewer-backdrop.show) #instructor::-webkit-scrollbar { width:7px; }
|
|
8273
|
+
body:has(#page-viewer.show) #instructor::-webkit-scrollbar-thumb,
|
|
8274
|
+
body:has(.ai-chat-viewer-backdrop.show) #instructor::-webkit-scrollbar-thumb { background:var(--text-dim); border-radius:7px; }
|
|
8275
|
+
body:has(#page-viewer.show) #instructor::-webkit-scrollbar-track,
|
|
8276
|
+
body:has(.ai-chat-viewer-backdrop.show) #instructor::-webkit-scrollbar-track { background:transparent; }
|
|
8277
|
+
body:has(#page-viewer.show) #instructor .ix-parts,
|
|
8278
|
+
body:has(.ai-chat-viewer-backdrop.show) #instructor .ix-parts { display:block; flex:1 1 auto; min-width:0; }
|
|
8222
8279
|
.pv-title-row { display:flex; align-items:center; gap:8px; min-width:0; }
|
|
8223
8280
|
.pv-title-row .modal-title { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
8224
8281
|
.pv-info { color:var(--text-dim); font-size:13px; cursor:help; border-radius:50%; }
|
|
@@ -8317,6 +8374,23 @@ body:has(#page-viewer.show) #instructor .ix-parts { display:block; flex:1 1 auto
|
|
|
8317
8374
|
.sl-note { margin:0; padding:8px 12px; font-size:12px; color:var(--text-muted); background:var(--surface-2);
|
|
8318
8375
|
border:1px solid var(--border); border-left:3px solid var(--warn); border-radius:6px; }
|
|
8319
8376
|
.sl-note[hidden] { display:none; }
|
|
8377
|
+
/* #2262 5e: space for shared files, per plan. Tokens only; the fill turns warn at 90% and red (--err) when full, and the
|
|
8378
|
+
status sentence says the same in words, so colour is never the only cue. */
|
|
8379
|
+
.sl-usage { display:flex; flex-direction:column; gap:6px; padding:10px 12px; background:var(--surface-2); border:1px solid var(--border); border-radius:6px; }
|
|
8380
|
+
.sl-usage[hidden] { display:none; }
|
|
8381
|
+
.sl-usage-row { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:2px 12px; font-size:12px; }
|
|
8382
|
+
.sl-usage-label { color:var(--text-muted); }
|
|
8383
|
+
.sl-usage-value { color:var(--text); font-weight:600; font-variant-numeric:tabular-nums; }
|
|
8384
|
+
.sl-meter { position:relative; height:4px; border-radius:2px; overflow:hidden; background:color-mix(in srgb, var(--text-muted) 28%, transparent); }
|
|
8385
|
+
.sl-meter-fill { position:absolute; inset:0 auto 0 0; width:0; border-radius:2px; background:var(--accent); }
|
|
8386
|
+
.sl-usage[data-level="almost"] .sl-meter-fill { background:var(--warn); }
|
|
8387
|
+
.sl-usage[data-level="full"] .sl-meter-fill { background:var(--err); }
|
|
8388
|
+
.sl-usage-status { margin:0; font-size:12px; font-weight:600; color:var(--warn); }
|
|
8389
|
+
.sl-usage[data-level="full"] .sl-usage-status { color:var(--err); }
|
|
8390
|
+
.sl-usage-status[hidden] { display:none; }
|
|
8391
|
+
.sl-usage-foot { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:12px; color:var(--text-muted); }
|
|
8392
|
+
.sl-usage-foot #sl-plans { flex-shrink:0; padding:3px 10px; }
|
|
8393
|
+
.sl-usage-foot #sl-plans[hidden] { display:none; }
|
|
8320
8394
|
.sl-list { flex:1 1 auto; min-height:80px; overflow-y:auto; display:flex; flex-direction:column; gap:6px; padding-right:2px;
|
|
8321
8395
|
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
8322
8396
|
.sl-list::-webkit-scrollbar { width:8px; }
|
|
@@ -8434,7 +8508,7 @@ body:has(#page-viewer.show) #instructor .ix-parts { display:block; flex:1 1 auto
|
|
|
8434
8508
|
input[type=number] { -moz-appearance: textfield; appearance: textfield; }
|
|
8435
8509
|
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
|
|
8436
8510
|
.ac-wait-input:focus { border-color: var(--accent); }
|
|
8437
|
-
.ac-wait-input:focus-visible { outline:
|
|
8511
|
+
.ac-wait-input:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-soft); }
|
|
8438
8512
|
.ac-wait-input:invalid { border-color: var(--err); box-shadow: none; }
|
|
8439
8513
|
.as-wait-value { margin-left: auto; color: var(--text-muted); }
|
|
8440
8514
|
.as-wait-edit { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
|
|
@@ -8627,6 +8701,13 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
8627
8701
|
.pa-btn.ghost { background:none; border-color:transparent; color:var(--text-muted); }
|
|
8628
8702
|
.pa-btn.danger:hover { color:var(--err-text); border-color:var(--err); }
|
|
8629
8703
|
.pa-open:focus-visible, .pa-btn:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
|
|
8704
|
+
/* #2470 R6.2: the workflows that only belong to the project, as one line pointing at its Workflows step. */
|
|
8705
|
+
.pa-owned { margin-top:14px; padding:10px 12px; border:1px solid var(--border); border-radius:8px; background:var(--surface); }
|
|
8706
|
+
.pa-owned-line { margin:0 0 8px; font-size:12px; color:var(--text-muted); line-height:1.5; }
|
|
8707
|
+
/* The Workflows step's link to Project access: a link-styled button inside its subtitle. */
|
|
8708
|
+
.ws-workflows .pw-access { background:none; border:0; padding:0; font:inherit; color:var(--accent-bright); cursor:pointer; text-decoration:underline; text-underline-offset:2px; }
|
|
8709
|
+
.ws-workflows .pw-access:hover { color:var(--accent); }
|
|
8710
|
+
.ws-workflows .pw-access:focus-visible { outline:2px solid var(--accent); outline-offset:1px; border-radius:2px; }
|
|
8630
8711
|
.pa-check { margin:0; cursor:pointer; } /* the global themed checkbox (app.css input[type="checkbox"]) draws it */
|
|
8631
8712
|
.pa-confirm { grid-column:1 / -1; margin-top:10px; padding:10px 12px; border-radius:6px; background:var(--surface-2);
|
|
8632
8713
|
border:1px solid var(--border-strong); font-size:12px; color:var(--text); line-height:1.45; }
|
|
@@ -8639,6 +8720,9 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
8639
8720
|
.pa-foot { padding:9px 18px 12px; font-size:11.5px; color:var(--text-dim); border-top:1px solid var(--border); }
|
|
8640
8721
|
.pa-note { margin:12px 0 0; font-size:12px; color:var(--warn-text); line-height:1.45; }
|
|
8641
8722
|
.pa-note p { margin:0 0 4px; }
|
|
8723
|
+
/* #2470 R6.7: "Linked from …" is information, not a warning: the sheet's own muted text. */
|
|
8724
|
+
.pa-note.pa-linked { color:var(--text-muted); }
|
|
8725
|
+
.pa-note.pa-linked p { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
|
|
8642
8726
|
.pa-stale { display:flex; align-items:flex-start; gap:10px; padding:9px 11px; border-radius:6px; background:var(--surface-2);
|
|
8643
8727
|
border:1px solid var(--border-strong); }
|
|
8644
8728
|
.pa-stale p { flex:1; margin:0; }
|
|
@@ -8650,3 +8734,121 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
8650
8734
|
.pa-bone.w60 { width:60%; } .pa-bone.w40 { width:40%; margin-top:4px; }
|
|
8651
8735
|
@keyframes pa-pulse { 50% { opacity:.5; } }
|
|
8652
8736
|
@media (prefers-reduced-motion: reduce) { .pa-skel .pa-bone { animation:none; } }
|
|
8737
|
+
|
|
8738
|
+
/* ── #2491 R6.9: References by category, selection, Move to…, drag and drop ─────────────────────────────
|
|
8739
|
+
Existing tokens only. Indent 12 px per level with a 1 px guide; selected = accent-dim fill + 2 px inset bar. */
|
|
8740
|
+
.kb-sr { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
|
|
8741
|
+
.kb-tree { display:flex; flex-direction:column; }
|
|
8742
|
+
.kb-tree .kb-src, .kb-tree .kb-cat, .kb-tree .kb-cat-empty, .kb-tree .kb-cat-edit { margin-left:calc(var(--kb-depth, 0) * 12px); }
|
|
8743
|
+
.kb-tree .kb-src[style*="--kb-depth"] { position:relative; }
|
|
8744
|
+
.kb-tree .kb-src[style*="--kb-depth"]::before { content:''; position:absolute; left:-7px; top:-4px; bottom:-4px; width:1px; background:var(--border); }
|
|
8745
|
+
.kb-cat { display:flex; align-items:center; gap:4px; min-height:32px; margin-bottom:4px; border-radius:6px; position:relative; }
|
|
8746
|
+
.kb-cat-toggle { font:inherit; flex:1; min-width:0; display:flex; align-items:center; gap:6px; background:none; border:none; padding:6px 6px;
|
|
8747
|
+
color:var(--text); font-size:12px; font-weight:600; text-align:left; cursor:pointer; border-radius:5px; }
|
|
8748
|
+
.kb-cat-toggle:hover { background:var(--surface-2); }
|
|
8749
|
+
.kb-cat-toggle:focus-visible { outline:2px solid var(--accent-bright); outline-offset:1px; }
|
|
8750
|
+
.kb-cat-chev { width:12px; height:12px; flex:none; fill:none; stroke:var(--text-dim); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:transform .15s; }
|
|
8751
|
+
.kb-cat.open .kb-cat-chev { transform:rotate(90deg); }
|
|
8752
|
+
.kb-cat-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
|
|
8753
|
+
.kb-cat-count { color:var(--text-dim); font-weight:400; font-family:var(--mono); font-size:10.5px; flex:none; }
|
|
8754
|
+
.kb-uncat .kb-cat-toggle { color:var(--text-muted); font-weight:500; }
|
|
8755
|
+
.kb-cat-more { font:inherit; background:none; border:none; color:var(--text-dim); width:26px; height:26px; border-radius:5px; cursor:pointer;
|
|
8756
|
+
opacity:0; flex:none; }
|
|
8757
|
+
.kb-cat:hover .kb-cat-more, .kb-cat:focus-within .kb-cat-more, .kb-cat-more:focus-visible, .kb-cat-more[aria-expanded="true"] { opacity:1; }
|
|
8758
|
+
.kb-cat-more:hover { background:var(--surface-2); color:var(--text); }
|
|
8759
|
+
.kb-cat-more:focus-visible { outline:2px solid var(--accent-bright); outline-offset:1px; }
|
|
8760
|
+
.kb-cat-empty { color:var(--text-dim); font-style:italic; font-size:11px; padding:4px 8px 8px 20px; }
|
|
8761
|
+
.kb-cat.drop-target { background:var(--accent-dim); outline:1px dashed var(--accent); outline-offset:-1px; }
|
|
8762
|
+
.kb-cat.drop-target::after { content:attr(data-drop-label); position:absolute; right:34px; font-size:10.5px; color:var(--accent-bright); pointer-events:none; }
|
|
8763
|
+
.kb-cat-edit { display:flex; align-items:center; gap:6px; margin-bottom:6px; }
|
|
8764
|
+
.kb-cat-input { flex:1; min-width:0; font:inherit; font-size:12px; color:var(--text); background:var(--surface); border:1px solid var(--border-strong);
|
|
8765
|
+
border-radius:5px; padding:5px 7px; }
|
|
8766
|
+
.kb-cat-input:focus-visible { outline:none; border-color:var(--accent); box-shadow:0 0 0 2px var(--accent-soft); }
|
|
8767
|
+
.kb-cat-input::placeholder { color:var(--text-dim); }
|
|
8768
|
+
.kb-cat-save, .kb-cat-cancel { font-size:11.5px; padding:5px 9px; }
|
|
8769
|
+
.kb-cat-new { display:block; margin:4px 0 8px; }
|
|
8770
|
+
.kb-cat-warn { display:flex; gap:8px; align-items:flex-start; font-size:11px; line-height:1.45; color:var(--text-muted); border:1px solid color-mix(in srgb, var(--warn) 45%, transparent);
|
|
8771
|
+
background:color-mix(in srgb, var(--warn) 10%, transparent); border-radius:6px; padding:7px 9px; margin-bottom:8px; }
|
|
8772
|
+
.kb-cat-warn button { flex:none; font-size:11px; padding:4px 8px; }
|
|
8773
|
+
.kb-src.selected { background:color-mix(in srgb, var(--accent-dim) 45%, var(--surface)); box-shadow:inset 2px 0 0 var(--accent); border-color:color-mix(in srgb, var(--accent) 45%, var(--border)); }
|
|
8774
|
+
.kb-src.dragging { opacity:.45; }
|
|
8775
|
+
.kb-src[draggable="true"] { cursor:default; }
|
|
8776
|
+
.kb-selbar { position:sticky; bottom:0; z-index:2; display:flex; align-items:center; gap:8px; margin-top:8px; padding:7px 9px; border:1px solid var(--border-strong);
|
|
8777
|
+
border-radius:6px; background:var(--surface-2); box-shadow:0 -4px 12px color-mix(in srgb, var(--bg) 25%, transparent); font-size:11.5px; }
|
|
8778
|
+
.kb-selbar-n { flex:1; color:var(--text); font-weight:600; }
|
|
8779
|
+
.kb-selbar button { font-size:11.5px; padding:4px 9px; }
|
|
8780
|
+
.kb-cat-menu { min-width:200px; max-height:320px; overflow:auto; }
|
|
8781
|
+
.kb-move-title { font-size:11px; color:var(--text-dim); padding:4px 8px 6px; }
|
|
8782
|
+
.kb-move-mi { padding-left:calc(8px + var(--kb-depth, 0) * 12px); }
|
|
8783
|
+
.kb-move-mi[aria-checked="true"]::after { content:' ✓'; color:var(--accent-bright); }
|
|
8784
|
+
.kb-move-new { border-top:1px solid var(--border); margin-top:2px; padding-top:8px; color:var(--accent-bright); }
|
|
8785
|
+
.kb-ds-mi.danger { color:var(--err); }
|
|
8786
|
+
.kb-drag-chip { position:fixed; top:-200px; left:-200px; padding:5px 10px; border-radius:999px; background:var(--accent); color:#fff;
|
|
8787
|
+
font-size:11.5px; font-weight:600; white-space:nowrap; pointer-events:none; }
|
|
8788
|
+
.kb-cat-menu, .kb-tree { scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
8789
|
+
.kb-cat-menu::-webkit-scrollbar { width:8px; }
|
|
8790
|
+
.kb-cat-menu::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:4px; }
|
|
8791
|
+
.kb-cat-menu::-webkit-scrollbar-track { background:transparent; }
|
|
8792
|
+
@media (prefers-reduced-motion: reduce) { .kb-cat-chev { transition:none; } }
|
|
8793
|
+
|
|
8794
|
+
/* ── #2491 R6.9: the knowledge map — colour = the person's top-level category (--kbg-c, existing tokens only);
|
|
8795
|
+
shape = kind (pages circles, documents rounded squares); hatch past eight categories; dashed = not yet grouped or
|
|
8796
|
+
no longer in Knowledge. The old type-as-colour is gone; the type stays in tooltips and the filters. */
|
|
8797
|
+
.kb-graph-ctl { gap:6px 10px; }
|
|
8798
|
+
.kb-graph-ctl .kb-g-legend, .kb-g-types { display:flex; flex-wrap:wrap; gap:4px; align-items:center; }
|
|
8799
|
+
.kb-g-tools { display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-left:auto; }
|
|
8800
|
+
.kb-gchip { font:inherit; font-size:11px; display:inline-flex; align-items:center; gap:5px; padding:2px 8px; border-radius:999px;
|
|
8801
|
+
background:var(--surface); border:1px solid var(--border-strong); color:var(--text); cursor:pointer; }
|
|
8802
|
+
.kb-gchip[aria-pressed="false"] { color:var(--text-dim); background:transparent; border-style:dashed; }
|
|
8803
|
+
.kb-gchip[aria-pressed="false"] .kb-gsw { opacity:.35; }
|
|
8804
|
+
.kb-gchip:focus-visible, .kb-gseg button:focus-visible, .kb-gneigh:focus-visible { outline:2px solid var(--accent-bright); outline-offset:1px; }
|
|
8805
|
+
.kb-gsw { width:9px; height:9px; border-radius:50%; background:var(--kbg-c); flex:none; }
|
|
8806
|
+
.kb-gchip.hatch .kb-gsw { background:repeating-linear-gradient(45deg, var(--kbg-c) 0 2px, transparent 2px 4px); border:1px solid var(--kbg-c); }
|
|
8807
|
+
.kb-gchip.dashed .kb-gsw { background:transparent; border:1px dashed var(--text-muted); }
|
|
8808
|
+
.kb-gn { color:var(--text-dim); font-family:var(--mono); font-size:10px; }
|
|
8809
|
+
.kb-gsearch { font:inherit; font-size:11.5px; width:150px; color:var(--text); background:var(--surface); border:1px solid var(--border-strong); border-radius:5px; padding:3px 7px; }
|
|
8810
|
+
.kb-gsearch:focus-visible { outline:2px solid var(--accent); outline-offset:0; }
|
|
8811
|
+
.kb-gsearch::placeholder { color:var(--text-dim); }
|
|
8812
|
+
.kb-gsearch::-webkit-search-cancel-button { filter:grayscale(1); opacity:.6; }
|
|
8813
|
+
.kb-gfound { font-size:10.5px; color:var(--text-dim); }
|
|
8814
|
+
.kb-gneigh { font:inherit; font-size:11px; padding:2px 8px; border-radius:5px; background:var(--surface); border:1px solid var(--border-strong); color:var(--text-muted); cursor:pointer; }
|
|
8815
|
+
.kb-gneigh[aria-checked="true"] { color:var(--accent-bright); border-color:var(--accent); background:var(--accent-soft); }
|
|
8816
|
+
.kb-gseg { display:inline-flex; border:1px solid var(--border-strong); border-radius:5px; overflow:hidden; }
|
|
8817
|
+
.kb-gseg button { font:inherit; font-size:11px; padding:2px 9px; background:var(--surface); border:none; color:var(--text-muted); cursor:pointer; }
|
|
8818
|
+
.kb-gseg button[aria-pressed="true"] { background:var(--accent-soft); color:var(--accent-bright); }
|
|
8819
|
+
.kb-gnotes { line-height:1.6; }
|
|
8820
|
+
.kb-g-node .kb-g-dot { fill:var(--kbg-c); stroke:var(--surface); stroke-width:2; }
|
|
8821
|
+
.kb-g-node.hatch .kb-g-dot { fill:url(#kbg-hatch); stroke:var(--kbg-c); stroke-width:1.5; }
|
|
8822
|
+
.kb-g-hatchline { stroke:var(--text-muted); stroke-width:2; }
|
|
8823
|
+
.kb-g-node.ungrouped .kb-g-dot, .kb-g-node.gone .kb-g-dot { fill:var(--surface-2); stroke:var(--text-muted); stroke-width:1.5; stroke-dasharray:3 2; }
|
|
8824
|
+
.kb-g-ring { fill:none; stroke:var(--kbg-c); stroke-width:1.5; }
|
|
8825
|
+
.kb-g-node:hover .kb-g-dot, .kb-g-node:focus-visible .kb-g-dot { fill:var(--kbg-c); filter:drop-shadow(0 0 5px var(--accent-glow)); stroke:var(--accent-bright); }
|
|
8826
|
+
.kb-g-node.match .kb-g-dot { stroke:var(--accent-bright); stroke-width:3; }
|
|
8827
|
+
.kb-g-node.match text { fill:var(--accent-bright); font-weight:600; }
|
|
8828
|
+
.kb-g-doc text { fill:var(--text-muted); }
|
|
8829
|
+
.kb-graph-svg.kb-hl .kb-g-node:not(.near) { opacity:.25; }
|
|
8830
|
+
.kb-graph-svg.kb-hl .kb-g-edge:not(.lit) { opacity:.15; }
|
|
8831
|
+
.kb-g-edge.lit { stroke:var(--accent); }
|
|
8832
|
+
.kb-glist { overflow:auto; flex:1; min-height:0; padding:8px 14px; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
8833
|
+
.kb-glist::-webkit-scrollbar { width:8px; }
|
|
8834
|
+
.kb-glist::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:4px; }
|
|
8835
|
+
.kb-glist::-webkit-scrollbar-track { background:transparent; }
|
|
8836
|
+
.kb-glist-g h4 { font-size:11.5px; color:var(--text-muted); margin:10px 0 4px; font-weight:600; }
|
|
8837
|
+
.kb-glist-g ul { list-style:none; margin:0; padding:0; }
|
|
8838
|
+
.kb-glist-i { font:inherit; font-size:12px; display:flex; justify-content:space-between; gap:8px; width:100%; text-align:left; background:none; border:none; color:var(--text);
|
|
8839
|
+
padding:4px 6px; border-radius:4px; cursor:pointer; }
|
|
8840
|
+
.kb-glist-i:hover { background:var(--surface-2); }
|
|
8841
|
+
.kb-glist-i:focus-visible { outline:2px solid var(--accent-bright); outline-offset:-2px; }
|
|
8842
|
+
.kb-glist-i.match { color:var(--accent-bright); font-weight:600; }
|
|
8843
|
+
.kb-gk { color:var(--text-dim); font-size:10.5px; flex:none; }
|
|
8844
|
+
|
|
8845
|
+
/* #2491 R6.9: the company dialog's categories — the same look as the References tree, inside the dialog. */
|
|
8846
|
+
.company-knowledge-list { position:relative; }
|
|
8847
|
+
.company-section-head { display:flex; align-items:center; justify-content:space-between; gap:8px; }
|
|
8848
|
+
.company-cat { display:flex; align-items:center; gap:6px; margin:6px 0 0 calc(var(--kb-depth, 0) * 12px); font-size:12px; font-weight:600; color:var(--text); min-height:28px; }
|
|
8849
|
+
.company-cat.kb-uncat { color:var(--text-muted); font-weight:500; }
|
|
8850
|
+
.company-cat .kb-cat-more { opacity:1; }
|
|
8851
|
+
.company-cat-row { margin-left:calc(var(--kb-depth, 0) * 12px); }
|
|
8852
|
+
.company-cat-edit { margin-left:calc(var(--kb-depth, 0) * 12px); }
|
|
8853
|
+
.company-pop { position:absolute; z-index:5; background:var(--surface); border:1px solid var(--border-strong); border-radius:7px; box-shadow:0 8px 24px color-mix(in srgb, var(--bg) 50%, transparent); }
|
|
8854
|
+
.company-pop.hist-confirm { padding:10px 12px; max-width:320px; }
|
package/dist/web/app.js
CHANGED
|
@@ -2295,6 +2295,12 @@ window.flolessWorkspaceRoot = {
|
|
|
2295
2295
|
isCurrent: (observation) => !!observation && observation === workspaceRootState
|
|
2296
2296
|
&& workspaceRootAcceptedObservation === workspaceRootObservation && !workspaceRootSelecting,
|
|
2297
2297
|
name: () => workspaceRootName(workspaceRootState && workspaceRootState.root && workspaceRootState.root.path),
|
|
2298
|
+
isBusy: () => workspaceRootBusy || !!$workspaceRootModal.querySelector('.workspace-root-management:not(.workspace-root-recovery)[aria-busy="true"]'),
|
|
2299
|
+
close: () => {
|
|
2300
|
+
if (window.flolessWorkspaceRoot.isBusy()) return false;
|
|
2301
|
+
closeWorkspaceRoot();
|
|
2302
|
+
return !$workspaceRootModal.classList.contains('show');
|
|
2303
|
+
},
|
|
2298
2304
|
};
|
|
2299
2305
|
refreshWorkspaceRoot();
|
|
2300
2306
|
|