@floless/app 0.168.0 → 0.170.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 +8 -1
- package/dist/floless-server.cjs +125533 -99597
- package/dist/schemas/drawing-check.profile.v1.schema.json +12 -2
- package/dist/schemas/steel.model.v2.schema.json +2 -1
- package/dist/skills/floless-app-knowledge/SKILL.md +43 -13
- package/dist/skills/floless-app-new-workflow/SKILL.md +8 -1
- package/dist/skills/floless-app-rfi/SKILL.md +4 -2
- package/dist/skills/floless-app-routines/SKILL.md +2 -2
- package/dist/skills/floless-app-routines/references/routines-api.md +20 -8
- package/dist/skills/floless-app-steel-model/SKILL.md +8 -5
- package/dist/skills/floless-app-steel-takeoff/SKILL.md +31 -1
- package/dist/skills/floless-app-workflows/SKILL.md +22 -3
- package/dist/skills/floless-app-workflows/references/agent-steps.md +40 -6
- package/dist/skills/floless-app-workflows/references/exec-contract.md +27 -0
- package/dist/skills/floless-app-workflows/references/script-runner.md +105 -0
- package/dist/templates/college-phase-exporter.flo +7 -2
- package/dist/templates/trimble-list-projects.flo +10 -2
- package/dist/web/agent-steps.js +90 -19
- package/dist/web/agents.js +77 -31
- package/dist/web/app.css +267 -4
- package/dist/web/app.js +71 -7
- package/dist/web/aware-update-client.js +4 -4
- package/dist/web/aware.js +1277 -219
- package/dist/web/chat.css +10 -0
- package/dist/web/chat.js +407 -117
- package/dist/web/checkpoint-standard.js +5 -3
- package/dist/web/commands-drawing-check.js +4 -0
- package/dist/web/commands-shell.js +551 -15
- package/dist/web/commands-steel.js +68 -2
- package/dist/web/commands-vector.js +69 -0
- package/dist/web/drawing-check-editor.html +10 -0
- package/dist/web/drawing-check-editor.js +821 -237
- package/dist/web/failure-copy.js +50 -2
- package/dist/web/filter-ai-proposal.js +11 -8
- package/dist/web/flo-3d.js +310 -0
- package/dist/web/flo-card.js +72 -0
- package/dist/web/guide.js +33 -24
- package/dist/web/index.html +95 -5
- package/dist/web/instructor.js +102 -15
- package/dist/web/left-pane.js +4 -1
- package/dist/web/local-discovery.js +8 -7
- package/dist/web/missed-routines.js +239 -0
- package/dist/web/model-editor-steel-adapter.js +41 -1
- package/dist/web/model-measure.js +6 -0
- package/dist/web/model-spatial-panel.js +19 -4
- package/dist/web/model-spatial-tools.js +3 -3
- package/dist/web/model-viewport-revit-adapter.js +3 -3
- package/dist/web/model-viewport-toolbar.js +11 -0
- package/dist/web/origin-rule.js +155 -0
- package/dist/web/pages.js +17 -14
- package/dist/web/panels.js +1 -1
- package/dist/web/project-access.js +1 -1
- package/dist/web/project-history.js +2 -2
- package/dist/web/project-modules.js +5 -5
- package/dist/web/project-reconciliation.js +1 -1
- package/dist/web/project-rfis.js +8 -3
- package/dist/web/project-workflows.js +8 -6
- package/dist/web/renderers.js +6 -0
- package/dist/web/report-csp.js +68 -0
- package/dist/web/revit-editor.js +22 -8
- package/dist/web/run-history.js +14 -4
- package/dist/web/steel-3d-core.js +39 -9
- package/dist/web/steel-3d-flo.js +331 -0
- package/dist/web/steel-3d-view.js +164 -0
- package/dist/web/steel-ai-marks.js +3 -1
- package/dist/web/steel-editor.html +583 -129
- package/dist/web/steel-environments.js +297 -0
- package/dist/web/steel-filter.html +3 -2
- package/dist/web/steel-model-v2-client-validation.js +8 -1
- package/dist/web/steel-model-v2-commands.js +23 -9
- package/dist/web/steel-model-v2-projection.js +1 -1
- package/dist/web/step-rename.js +3 -2
- package/dist/web/terminal-requests.js +79 -1
- package/dist/web/tool-updates.js +9 -7
- package/dist/web/vector-3d.html +1 -1
- package/dist/web/vector-editor.html +50 -8
- package/dist/web/workspace-root-management.js +1 -1
- package/dist/web/workspaces.js +2334 -253
- package/launch.mjs +5 -0
- package/package.json +11 -8
package/dist/web/app.css
CHANGED
|
@@ -1506,6 +1506,7 @@
|
|
|
1506
1506
|
}
|
|
1507
1507
|
.inspect-content { font-size: 12.5px; line-height: 1.65; color: var(--text-muted); }
|
|
1508
1508
|
.inspect-content p { margin-bottom: 12px; }
|
|
1509
|
+
.inspect-content p.node-desc { overflow-wrap: anywhere; } /* authored prose may hold a long path or URL (#2952) */
|
|
1509
1510
|
.inspect-content strong { color: var(--text); font-weight: 600; }
|
|
1510
1511
|
.inspect-content code {
|
|
1511
1512
|
font-family: var(--mono);
|
|
@@ -1931,6 +1932,9 @@
|
|
|
1931
1932
|
.project-setup-provider-accounts { margin-top:-2px; color:var(--text-dim); font:9.5px/1.4 var(--mono); }
|
|
1932
1933
|
.project-setup-provider-accounts > span { min-width:0; overflow-wrap:anywhere; }
|
|
1933
1934
|
.project-setup-standard-options button > span:last-child { color:var(--text-dim); font-size:10px; }
|
|
1935
|
+
/* One button per registered steel standard (US, UK, EU): three across, one column on a narrow dialog. The pair
|
|
1936
|
+
rules above stay for the Model and AI Chat choices. */
|
|
1937
|
+
#project-setup-standard .project-setup-standard-options { grid-template-columns:repeat(3,minmax(0,1fr)); }
|
|
1934
1938
|
.project-setup-standard-label { font-weight:650; }
|
|
1935
1939
|
/* #2521 row 7a: the Quick model terms, shown in full while Quick is pressed; the storage note's quiet accent rule,
|
|
1936
1940
|
not a warning: choosing Quick is a choice, not an error. */
|
|
@@ -1991,6 +1995,7 @@
|
|
|
1991
1995
|
.tekla-source-choices button span { color:var(--text-dim); font-size:11px; line-height:1.45; }
|
|
1992
1996
|
@media (max-width:560px) {
|
|
1993
1997
|
.project-setup-standard-options { grid-template-columns:1fr; }
|
|
1998
|
+
#project-setup-standard .project-setup-standard-options { grid-template-columns:1fr; }
|
|
1994
1999
|
.project-setup-folder-row { grid-template-columns:1fr; }
|
|
1995
2000
|
.tekla-source-choices { grid-template-columns:1fr; }
|
|
1996
2001
|
}
|
|
@@ -2336,6 +2341,15 @@
|
|
|
2336
2341
|
.int-account-access { grid-column: 1 / -1; font-size: 9px; line-height: 1.35; color: var(--text-muted); }
|
|
2337
2342
|
.int-account-access.is-warn { color: var(--warn); }
|
|
2338
2343
|
.int-account-reconnect { grid-column: 1 / -1; justify-self: start; }
|
|
2344
|
+
/* #3295: a Microsoft sign-in that allows more than FloLess asked for. Body stays muted on the warn tint (contrast in
|
|
2345
|
+
both themes); only the border and title carry the warning. */
|
|
2346
|
+
.int-grant-notice { grid-column: 1 / -1; margin: 0; display: grid; gap: 2px; }
|
|
2347
|
+
.int-grant-title { font-weight: 600; color: var(--text); }
|
|
2348
|
+
.int-grant-list { margin: 2px 0 2px; padding-left: 16px; }
|
|
2349
|
+
.int-grant-list li { margin: 0; }
|
|
2350
|
+
.int-grant-notice a { color: var(--accent-bright); text-decoration: underline; }
|
|
2351
|
+
.int-grant-notice a:hover { color: var(--accent); }
|
|
2352
|
+
.int-grant-notice a:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-radius: 2px; }
|
|
2339
2353
|
/* A sentence the card needs read before Connect: info (accent) or the person's own setup (warn). Tinted
|
|
2340
2354
|
with color-mix over --surface so it holds in both themes (the badges' fixed rgba is tuned for dark). */
|
|
2341
2355
|
.int-notice {
|
|
@@ -2344,6 +2358,12 @@
|
|
|
2344
2358
|
background: color-mix(in srgb, var(--accent) 6%, var(--surface));
|
|
2345
2359
|
}
|
|
2346
2360
|
.int-notice.is-warn { border-left-color: var(--warn); background: color-mix(in srgb, var(--warn) 8%, var(--surface)); }
|
|
2361
|
+
/* #3301: the Disconnect confirm. Narrow like the other confirms; its failure line is mounted empty so it is announced when filled. */
|
|
2362
|
+
.modal.int-disconnect { width: 440px; max-width: calc(100vw - 32px); }
|
|
2363
|
+
.modal.int-disconnect .modal-sub { line-height: 1.5; margin-bottom: 12px; }
|
|
2364
|
+
.modal.int-disconnect .int-notice { font-size: 11px; margin: 0 0 12px; }
|
|
2365
|
+
.int-disconnect-error { color: var(--err-text); font-size: 11px; line-height: 1.5; margin: 0 0 12px; overflow-wrap: anywhere; }
|
|
2366
|
+
.int-disconnect-error:empty { display: none; }
|
|
2347
2367
|
.int-drive-help { font-size: 9px; line-height: 1.45; color: var(--text-muted); margin: 2px 0 0 22px; }
|
|
2348
2368
|
.int-drive-help.is-flush { margin: 4px 0 2px; }
|
|
2349
2369
|
.int-drive-note { font-size: 9px; line-height: 1.45; color: var(--text-muted); margin: 6px 0 0 22px; }
|
|
@@ -3068,6 +3088,11 @@
|
|
|
3068
3088
|
.rtn-name { font-size: 13px; font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
3069
3089
|
.rtn-sub { font-size: 11px; color: var(--text-muted); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
|
|
3070
3090
|
.rtn-wf { font-family: var(--mono); font-size: 10px; color: var(--text-dim); }
|
|
3091
|
+
/* #3232: an owned workflow is named in prose (its name · project), not shown as a technical id. */
|
|
3092
|
+
.rtn-wf.named { font-family: inherit; font-size: 11px; color: var(--text-muted); display: inline-flex; gap: 4px; min-width: 0; max-width: calc(100% - 10em); }
|
|
3093
|
+
.rtn-wf-name, .rtn-wf-owner { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 0 1 auto; }
|
|
3094
|
+
/* The name is what the person recognises: the project gives way first. */
|
|
3095
|
+
.rtn-wf-owner { max-width: 40%; }
|
|
3071
3096
|
.rtn-sub .rtn-dot { opacity: 0.4; }
|
|
3072
3097
|
.rtn-report-note { font-size: 11px; color: var(--text-muted); line-height: 1.35; }
|
|
3073
3098
|
.rtn-report-note.warn { color: var(--warn-text); }
|
|
@@ -3553,6 +3578,39 @@
|
|
|
3553
3578
|
.rtn-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
|
|
3554
3579
|
/* #2062: routines run only while FloLess is running — said in the Routines list and the editor. */
|
|
3555
3580
|
.rtn-local-note { margin: -4px 0 12px; font-size: 11.5px; color: var(--text-dim); line-height: 1.55; }
|
|
3581
|
+
/* Owner ruling 2026-11-06: what still waits on the missed-runs card, and the card itself (missed-routines.js). One
|
|
3582
|
+
card in the toast corner, the toast's own surface and warn edge; its list scrolls inside it with a themed bar. */
|
|
3583
|
+
.rtn-missed-note { margin: -6px 0 12px; font-size: 11.5px; color: var(--warn); line-height: 1.55; }
|
|
3584
|
+
.rtn-missed-note[hidden] { display: none; }
|
|
3585
|
+
.toast.missed-card { flex-direction: column; align-items: stretch; gap: 8px; width: 340px; max-width: calc(100vw - 32px); padding: 12px 14px; }
|
|
3586
|
+
.toast.missed-card[hidden] { display: none; }
|
|
3587
|
+
/* Never over a dialog the person is in (the first-run Guide offer, Routines, a confirm): it comes back when that
|
|
3588
|
+
closes. Routines' "Review…" closes Routines first. */
|
|
3589
|
+
body:has(.modal-backdrop.show) .toast.missed-card { display: none; }
|
|
3590
|
+
.missed-card.busy { opacity: 0.85; }
|
|
3591
|
+
.missed-head { display: flex; align-items: center; gap: 10px; }
|
|
3592
|
+
.missed-title { flex: 1; font-size: 13px; font-weight: 600; color: var(--text); }
|
|
3593
|
+
.missed-text { margin: 0; color: var(--text); line-height: 1.5; overflow-wrap: anywhere; }
|
|
3594
|
+
.missed-text .ai-pill, .missed-row .ai-pill { margin-left: 6px; }
|
|
3595
|
+
.ai-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
3596
|
+
.missed-select { display: flex; justify-content: flex-end; font-size: 11.5px; }
|
|
3597
|
+
.missed-list { max-height: 232px; overflow-y: auto; margin: 0 -4px; padding: 0 4px; display: flex; flex-direction: column; gap: 2px;
|
|
3598
|
+
scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
|
|
3599
|
+
.missed-list::-webkit-scrollbar { width: 8px; }
|
|
3600
|
+
.missed-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
|
|
3601
|
+
.missed-list::-webkit-scrollbar-track { background: transparent; }
|
|
3602
|
+
.missed-row { display: flex; align-items: flex-start; gap: 10px; padding: 6px 6px; border-radius: 4px; cursor: pointer; }
|
|
3603
|
+
.missed-row:hover { background: var(--surface-3); }
|
|
3604
|
+
.missed-row input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; }
|
|
3605
|
+
.missed-row-main { flex: 1; min-width: 0; }
|
|
3606
|
+
.missed-row-name { color: var(--text); overflow-wrap: anywhere; }
|
|
3607
|
+
.missed-row-sub { display: block; color: var(--text-dim); font-size: 11px; margin-top: 1px; }
|
|
3608
|
+
.missed-foot { margin: 0; color: var(--text-dim); font-size: 11px; }
|
|
3609
|
+
.missed-actions { display: flex; justify-content: flex-end; gap: 8px; }
|
|
3610
|
+
.missed-actions .toast-action { padding: 6px 11px; font-size: 12px; }
|
|
3611
|
+
.missed-actions .missed-primary { border-color: var(--accent-dim); background: var(--accent-soft); color: var(--accent-bright); }
|
|
3612
|
+
.missed-actions .missed-primary:hover:not(:disabled) { background: var(--surface-3); color: var(--text); }
|
|
3613
|
+
.missed-actions .toast-action:disabled { opacity: 0.5; cursor: default; }
|
|
3556
3614
|
.rtn-local-hint { margin: 2px 0 12px; }
|
|
3557
3615
|
/* The ≡ menu's Start with Windows row, pointed at from Routines: a brief accent ring, then nothing. */
|
|
3558
3616
|
.menu-startup.is-pointed { animation: menu-startup-point 1.6s ease-out 1; border-radius: 6px; }
|
|
@@ -5131,12 +5189,27 @@ input[type=range]:focus-visible { outline: 2px solid var(--accent); outline-offs
|
|
|
5131
5189
|
/* Only the SHOWN frame fills the stage — `:not([hidden])` so `display:block` never defeats the
|
|
5132
5190
|
`hidden` attribute on the inactive frame (else it keeps its height and pushes the other off-screen). */
|
|
5133
5191
|
#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); }
|
|
5192
|
+
/* #3233: a report sits on a page its own colours were written for, not on the theme's --bg: light by default (a browser's own
|
|
5193
|
+
page, which every report that declares no dark styles was written for), dark when the loaded report's text is light
|
|
5194
|
+
(aware.js reportSurfaceOf). The saved Page version cannot be read from here, so it gets the light page, as the Pages tab does. */
|
|
5195
|
+
#report-frame[data-surface="light"]:not([hidden]), #report-frame-page:not([hidden]) { background: #ffffff; }
|
|
5196
|
+
#report-frame[data-surface="dark"]:not([hidden]) { background: #0f141c; }
|
|
5134
5197
|
/* #2476: the run viewer's note on a report with files (saving it to its Page, why it is not shown). */
|
|
5135
5198
|
.report-files-note {
|
|
5136
5199
|
padding: 8px 18px; border-bottom: 1px solid var(--border); border-left: 3px solid var(--warn);
|
|
5137
5200
|
background: var(--surface-2); color: var(--text-muted); font-size: 12px; line-height: 1.5;
|
|
5138
5201
|
}
|
|
5139
5202
|
.report-files-note[hidden] { display: none; }
|
|
5203
|
+
/* #3229: a report made before the run stopped at an AI step's check. In the flow above the frame (never over it), not dismissible:
|
|
5204
|
+
it is what keeps a partial report from reading as a finished one, and it goes with the next run or report. */
|
|
5205
|
+
.report-ai-stop {
|
|
5206
|
+
display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
|
|
5207
|
+
padding: 8px 18px; border-bottom: 1px solid var(--border); border-left: 3px solid var(--warn);
|
|
5208
|
+
background: var(--surface-2); color: var(--text); font-size: 12px; line-height: 1.5;
|
|
5209
|
+
}
|
|
5210
|
+
.report-ai-stop[hidden] { display: none; }
|
|
5211
|
+
.report-ai-stop-status { color: var(--warn); font-weight: 600; white-space: nowrap; }
|
|
5212
|
+
.report-ai-stop-text { flex: 1 1 320px; min-width: 0; overflow-wrap: anywhere; }
|
|
5140
5213
|
|
|
5141
5214
|
/* Live "On trigger" report: a pulsing pip in the viewer subtitle + a brief edge
|
|
5142
5215
|
flash on the stage when a trigger routine (e.g. tekla-selection-report) pushes a
|
|
@@ -6248,7 +6321,15 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6248
6321
|
.wf-draft-failure:focus { outline:none; }
|
|
6249
6322
|
/* The Draft chip is a state, not a warning: neutral, not the accent. */
|
|
6250
6323
|
.ws-card .ws-kind.wf-kind.is-draft, .wf-draft-where .ws-kind.is-draft { color:var(--text-muted); border-color:var(--border-strong); }
|
|
6251
|
-
|
|
6324
|
+
/* The text column and, on a card of yours, the ⋯ on the right, as on a project card. */
|
|
6325
|
+
.ws-card.wf-card .ws-body { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; }
|
|
6326
|
+
.ws-card.wf-card .wf-card-text { flex:1 1 auto; min-width:0; }
|
|
6327
|
+
.ws-card .ws-kebab.wf-kebab { cursor:pointer; }
|
|
6328
|
+
.ws-card .ws-kebab.wf-kebab:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
|
|
6329
|
+
.ws-card .ws-kebab.wf-kebab[aria-expanded="true"] { border-color:var(--border-strong); color:var(--text); }
|
|
6330
|
+
/* The open menu covers the card's name, so the card it belongs to keeps its hover border while the menu is open. */
|
|
6331
|
+
#wf-landing .ws-card.wf-card:has(.wf-kebab[aria-expanded="true"]) { border-color:color-mix(in srgb, var(--part-mark) 60%, transparent); }
|
|
6332
|
+
.wf-card-menu .menu-item:focus-visible { outline:2px solid var(--accent); outline-offset:-2px; }
|
|
6252
6333
|
.ws-card.wf-card .ws-kind.wf-kind { position:static; display:inline-block; margin-bottom:6px; }
|
|
6253
6334
|
/* "Scheduled" is a status beside the origin chip, so it recedes: same chip, neutral ink. Not --ok, which the Routines
|
|
6254
6335
|
window uses for "last run succeeded", something this card cannot know. */
|
|
@@ -6353,7 +6434,12 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6353
6434
|
.graft-check-picker { display:grid; gap:8px; margin-top:8px; max-height:260px; overflow:auto; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
6354
6435
|
.graft-success-actions { display:grid; gap:6px; margin-top:12px; }
|
|
6355
6436
|
#lib-discover-local { margin-right:0 !important; }
|
|
6356
|
-
.ws-spine { display:flex; align-items:center; gap:10px; }
|
|
6437
|
+
.ws-spine { display:flex; align-items:center; gap:10px; min-width:0; }
|
|
6438
|
+
/* When the header is tight the project name gives way (it has its own ellipsis), so the Quick chip and Review & approve
|
|
6439
|
+
stay whole instead of sliding under the account button (#2554). Any flex shrink, even a fraction of a pixel, would
|
|
6440
|
+
ellipsize the chip, so it does not shrink; its cap is what ellipsizes an unusually long one. */
|
|
6441
|
+
#ws-proj-combo { min-width:140px; flex-shrink:40; }
|
|
6442
|
+
#ws-quick.ws-quick-chips { flex-shrink:0; max-width:34ch; }
|
|
6357
6443
|
#ws-proj-name { max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
6358
6444
|
#ws-proj-trigger { display:inline-flex; align-items:center; gap:8px; }
|
|
6359
6445
|
|
|
@@ -6599,6 +6685,11 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6599
6685
|
.ws-card .ws-meta.ws-unverified { color:var(--warn); line-height:1.35; white-space:normal; overflow:visible; text-overflow:clip; }
|
|
6600
6686
|
/* The light --warn amber is ~2:1 on a white card; a darker amber of the same family keeps the label readable. */
|
|
6601
6687
|
[data-theme="light"] .ws-card .ws-meta.ws-unverified { color:#b45309; }
|
|
6688
|
+
/* #3234: the node count and what the workflow needs ("Steel model · HTML report · AI step") wrap onto as many lines
|
|
6689
|
+
as they take, never losing the last need, which is often the AI step, to an ellipsis or a line cap. */
|
|
6690
|
+
.ws-card.wf-card .ws-meta.wf-card-nodes { line-height:1.35; white-space:normal; overflow:visible; overflow-wrap:break-word; text-overflow:clip; }
|
|
6691
|
+
/* #3234: why the workflow cannot run on this AWARE, on its own line so the one-line needs line above never ellipsizes it. */
|
|
6692
|
+
.ws-card .ws-meta.wf-card-aware { color:var(--warn-text); line-height:1.35; white-space:normal; overflow:visible; text-overflow:clip; }
|
|
6602
6693
|
/* #2521 row 5: the Quick model label. A quiet amber outline in the same warning family as "Imported mid-save" (never
|
|
6603
6694
|
red: it is a label, not an error); dashed when FloLess could not read what the model rests on ("Possibly Quick").
|
|
6604
6695
|
Light theme takes the same darker amber the unverified label uses, for contrast on white. */
|
|
@@ -6609,11 +6700,30 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
6609
6700
|
[data-theme="light"] .quick-pill { color:#b45309; border-color:color-mix(in srgb, #b45309 40%, transparent); background:color-mix(in srgb, #b45309 7%, transparent); }
|
|
6610
6701
|
/* On a selected (accent-filled) picker row the amber would sit on blue: take the row's own text colour instead. */
|
|
6611
6702
|
.export-source-option.selected .quick-pill { color:inherit; border-color:currentColor; background:transparent; }
|
|
6703
|
+
/* #2554 slice 2: which drawing files a model did not read. The Quick pill's shape, but neutral: amber is the Quick label's
|
|
6704
|
+
(AI decided), and this is a different fact. Its outline is its own muted text at 45%, as the Quick pill's is its amber
|
|
6705
|
+
(the border token alone vanishes on a dark card, and with it the dashed state). Dashed when FloLess could not tell. One set of tokens
|
|
6706
|
+
reads in both themes. */
|
|
6707
|
+
.coverage-pill { display:inline-flex; align-items:center; margin-left:6px; padding:0 7px; border:1px solid color-mix(in srgb, var(--text-muted) 45%, transparent);
|
|
6708
|
+
border-radius:999px; background:transparent; color:var(--text-muted); font-size:10.5px; font-weight:500;
|
|
6709
|
+
line-height:16px; white-space:nowrap; vertical-align:middle; cursor:default; }
|
|
6710
|
+
.coverage-pill.is-unknown { border-style:dashed; }
|
|
6711
|
+
.export-source-option.selected .coverage-pill { color:inherit; border-color:currentColor; }
|
|
6712
|
+
.ws-card .ws-meta.ws-quick > .coverage-pill:first-child,
|
|
6713
|
+
.ws-quick-chips .coverage-pill,
|
|
6714
|
+
.hd-quick .coverage-pill { margin-left:0; }
|
|
6715
|
+
.ws-quick-chips .coverage-pill { min-width:0; flex:0 1 auto; display:inline-block; overflow:hidden; text-overflow:ellipsis; }
|
|
6716
|
+
/* Its Exports note: the Quick note's box with the pill's neutral outline. The light pair outranks the Quick note's own
|
|
6717
|
+
light amber rules, which come later in this file. */
|
|
6718
|
+
.export-quick-note.is-coverage { border-color:color-mix(in srgb, var(--text-muted) 35%, transparent); }
|
|
6719
|
+
.export-quick-note.is-coverage b { color:var(--text); }
|
|
6720
|
+
[data-theme="light"] .export-quick-note.is-coverage { border-color:color-mix(in srgb, var(--text-muted) 35%, transparent); }
|
|
6721
|
+
[data-theme="light"] .export-quick-note.is-coverage b { color:var(--text); }
|
|
6612
6722
|
.ws-card .ws-meta.ws-quick { white-space:normal; overflow:visible; }
|
|
6613
6723
|
.ws-card .ws-meta.ws-quick .quick-pill,
|
|
6614
6724
|
.ws-quick-chips .quick-pill,
|
|
6615
6725
|
.hd-quick .quick-pill { margin-left:0; }
|
|
6616
|
-
/*
|
|
6726
|
+
/* Each chip ellipsizes inside the header's cap (#ws-quick above), its full text staying in the tip. */
|
|
6617
6727
|
.ws-quick-chips { display:inline-flex; align-items:center; gap:6px; min-width:0; flex:0 1 auto; overflow:hidden; }
|
|
6618
6728
|
.ws-quick-chips .quick-pill { min-width:0; flex:0 1 auto; display:inline-block; overflow:hidden; text-overflow:ellipsis; }
|
|
6619
6729
|
.ws-quick-chips[hidden] { display:none; }
|
|
@@ -7040,6 +7150,7 @@ body.mode-workspaces #menu .menu-item[data-action="bake"] { display:none; }
|
|
|
7040
7150
|
}
|
|
7041
7151
|
.ecard .e-receipt-details:hover { color:var(--text); }
|
|
7042
7152
|
.ecard .e-done .chk { color:var(--ok); } /* the ✓ */
|
|
7153
|
+
.ecard .e-done.unconfirmed .chk { color:var(--warn-text); font-weight:700; } /* #3273: "!" for a send FloLess could not confirm, never a ✓ (the ink variant, legible on light) */
|
|
7043
7154
|
.ecard .e-done .t { color:var(--text-muted); font-family:var(--mono); } /* HH:MM — the scannable datum */
|
|
7044
7155
|
/* A share link is far longer than the HH:MM this row was built for, so it has to be allowed to
|
|
7045
7156
|
truncate rather than push the Copy button out of the card. The full URL is on the themed tooltip
|
|
@@ -7250,7 +7361,11 @@ table.hist tr.current td { background:var(--accent-soft); }
|
|
|
7250
7361
|
.approval-tech b { color:var(--text-muted); }
|
|
7251
7362
|
.approval-discard { margin-top:10px; padding:0; border:0; background:none; color:var(--err); font:inherit; font-size:11px; cursor:pointer; }
|
|
7252
7363
|
.approval-discard:hover { text-decoration:underline; }
|
|
7253
|
-
|
|
7364
|
+
/* Full-bleed to the modal's edges (the .modal padding is 22px), so the status line and buttons sit on
|
|
7365
|
+
the modal's own content edge instead of touching the tinted strip's border. 7px = the 8px modal
|
|
7366
|
+
radius inside its 1px border. Owner screenshot 2026-11-06: the primary button was glued to the strip. */
|
|
7367
|
+
.approval-review-footer { flex:none; position:sticky; bottom:0; margin:0 -22px -22px; padding:12px 22px 14px;
|
|
7368
|
+
background:var(--surface-2); border-top:1px solid var(--border); border-radius:0 0 7px 7px; }
|
|
7254
7369
|
.approval-review-footer .rev-counts { margin:0 0 8px; }
|
|
7255
7370
|
.approval-review-footer .modal-actions { margin-top:0; flex-wrap:wrap; }
|
|
7256
7371
|
.approval-review-footer .modal-actions button:not(.primary) { background:var(--surface-3); border-color:var(--text-dim); }
|
|
@@ -7700,6 +7815,94 @@ tr.hist-diff-row[hidden] { display:none; }
|
|
|
7700
7815
|
.kb-x:hover { color:var(--err); }
|
|
7701
7816
|
.kb-x:focus-visible { outline:2px solid var(--accent); outline-offset:1px; }
|
|
7702
7817
|
|
|
7818
|
+
/* #2470 R6.8: connected sources. Existing tokens and shapes only: the row is a .kb-src, its controls reuse the
|
|
7819
|
+
.kb-toggle / .kb-cat-more / .kb-link / .hist-confirm language, the dialog the app's .modal shell. */
|
|
7820
|
+
.kb-fico.conn { color:var(--accent-bright); }
|
|
7821
|
+
.kb-reference-head .kb-reference-actions { display:flex; gap:12px; margin-left:auto; align-items:center; }
|
|
7822
|
+
.kb-reference-head .kb-reference-actions .kb-cat-new { margin:0; }
|
|
7823
|
+
.kb-conn-sync { font:inherit; font-size:13px; line-height:1; width:26px; height:26px; flex:none; border-radius:5px; cursor:pointer;
|
|
7824
|
+
background:none; border:none; color:var(--text-dim); }
|
|
7825
|
+
.kb-conn-sync:hover { background:var(--surface-2); color:var(--text); }
|
|
7826
|
+
.kb-conn-sync:focus-visible { outline:2px solid var(--accent-bright); outline-offset:1px; }
|
|
7827
|
+
.kb-conn-sync[aria-busy="true"] { cursor:progress; color:var(--accent-bright); }
|
|
7828
|
+
.kb-conn-sync[aria-busy="true"] span { display:inline-block; animation:kb-conn-spin 1s linear infinite; }
|
|
7829
|
+
@keyframes kb-conn-spin { to { transform:rotate(360deg); } }
|
|
7830
|
+
@media (prefers-reduced-motion: reduce) { .kb-conn-sync[aria-busy="true"] span { animation:none; } }
|
|
7831
|
+
.kb-src .kb-conn-more { opacity:1; }
|
|
7832
|
+
.kb-chip.kb-conn-paused { color:var(--text-muted); }
|
|
7833
|
+
.kb-conn-stop { font-size:10.5px; color:var(--text-muted); line-height:1.45; margin-top:5px; padding:6px 8px; border-radius:5px;
|
|
7834
|
+
border:1px solid color-mix(in srgb, var(--warn) 35%, transparent); background:color-mix(in srgb, var(--warn) 7%, transparent); }
|
|
7835
|
+
.kb-conn-stop b { color:var(--warn-text); font-weight:600; }
|
|
7836
|
+
.kb-conn-choices { display:flex; flex-wrap:wrap; gap:4px 12px; margin-top:4px; }
|
|
7837
|
+
.kb-conn-choices .kb-conn-primary { color:var(--accent-bright); font-weight:600; }
|
|
7838
|
+
.kb-conn-note { font-size:10.5px; color:var(--text-dim); line-height:1.45; margin-top:4px; }
|
|
7839
|
+
.kb-conn-gaps { font-size:10.5px; color:var(--text-dim); line-height:1.45; margin-top:4px; }
|
|
7840
|
+
.kb-conn-gaps summary { cursor:pointer; color:var(--text-muted); }
|
|
7841
|
+
.kb-conn-gaps summary:focus-visible { outline:2px solid var(--accent); outline-offset:1px; border-radius:3px; }
|
|
7842
|
+
.kb-conn-gaps ul { margin:3px 0 0; padding-left:16px; }
|
|
7843
|
+
.kb-conn-removed { margin-top:10px; }
|
|
7844
|
+
.kb-conn-removed-row { display:flex; align-items:center; gap:8px; padding:5px 8px; }
|
|
7845
|
+
.kb-conn-removed-name { flex:1; min-width:0; font-size:12px; color:var(--text-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
7846
|
+
.kb-conn-removed-why { display:block; font-size:10.5px; color:var(--warn-text); }
|
|
7847
|
+
.kb-link.danger { color:var(--err); }
|
|
7848
|
+
.kb-link.danger:hover { color:var(--err); text-decoration-color:var(--err); }
|
|
7849
|
+
.kb-conn-copy { margin:8px 0; }
|
|
7850
|
+
.kb-ds-sep { height:1px; background:var(--border); margin:4px 0; }
|
|
7851
|
+
.kb-conn-dialog .modal { width:min(480px, calc(100vw - 32px)); }
|
|
7852
|
+
.kb-conn-dialog-body { font-size:12px; color:var(--text-muted); line-height:1.5; }
|
|
7853
|
+
.kb-conn-account { margin:4px 0 10px; }
|
|
7854
|
+
.kb-conn-account b { color:var(--text); font-weight:600; }
|
|
7855
|
+
.kb-conn-chats, .kb-conn-folders { max-height:220px; overflow:auto; border:1px solid var(--border); border-radius:6px; padding:4px;
|
|
7856
|
+
scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
7857
|
+
.kb-conn-chats::-webkit-scrollbar, .kb-conn-folders::-webkit-scrollbar { width:8px; }
|
|
7858
|
+
.kb-conn-chats::-webkit-scrollbar-thumb, .kb-conn-folders::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:4px; }
|
|
7859
|
+
.kb-conn-chats::-webkit-scrollbar-track, .kb-conn-folders::-webkit-scrollbar-track { background:transparent; }
|
|
7860
|
+
/* #2470 R6.8 slice 1b: the Outlook folder browser — a breadcrumb, then one level of folders; a level loading keeps the old
|
|
7861
|
+
list dimmed rather than blanking the dialog. */
|
|
7862
|
+
.kb-conn-folders { max-height:min(45vh, 300px); }
|
|
7863
|
+
.kb-conn-folders[aria-busy="true"] { opacity:.55; }
|
|
7864
|
+
.kb-conn-crumbs { display:flex; flex-wrap:wrap; align-items:center; gap:2px 4px; margin:0 0 6px; font-size:11.5px; }
|
|
7865
|
+
.kb-conn-crumbs .kb-link { max-width:140px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
7866
|
+
.kb-conn-crumbs [aria-current] { color:var(--text); font-weight:600; max-width:180px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
7867
|
+
.kb-conn-crumb-sep { color:var(--text-dim); }
|
|
7868
|
+
.kb-conn-folder { display:flex; align-items:center; gap:6px; border-radius:5px; }
|
|
7869
|
+
.kb-conn-folder:hover, .kb-conn-folder:has(input:checked) { background:var(--surface-2); }
|
|
7870
|
+
.kb-conn-folder .kb-conn-chat { flex:1; min-width:0; }
|
|
7871
|
+
.kb-conn-folder .kb-conn-chat:hover, .kb-conn-folder .kb-conn-chat:has(input:checked) { background:none; }
|
|
7872
|
+
.kb-conn-folder-open { flex:none; margin-right:8px; font-size:11px; white-space:nowrap; }
|
|
7873
|
+
.kb-conn-folder.this .kb-conn-chat-name { font-style:italic; }
|
|
7874
|
+
.kb-conn-more-folders { margin-top:6px; }
|
|
7875
|
+
.kb-conn-fixed { margin-top:12px; color:var(--text); }
|
|
7876
|
+
/* #2470 R6.8 slice 2: the Trimble project picker. One scroll container for every region (the .kb-conn-chats rules theme
|
|
7877
|
+
its scrollbar); each region heading is sticky and opaque so rows never show through it in either theme. */
|
|
7878
|
+
.kb-conn-regions { max-height:min(45vh, 300px); padding-top:0; }
|
|
7879
|
+
.kb-conn-region + .kb-conn-region { margin-top:4px; }
|
|
7880
|
+
.kb-conn-region-head { position:sticky; top:0; z-index:1; margin:0; padding:6px 8px 4px; background:var(--surface); }
|
|
7881
|
+
.kb-conn-region .kb-conn-note { padding:2px 8px 4px; }
|
|
7882
|
+
.kb-conn-kinds { display:flex; flex-direction:column; gap:4px; }
|
|
7883
|
+
.kb-conn-kind { display:flex; align-items:flex-start; gap:9px; padding:8px; border:1px solid var(--border); border-radius:6px; cursor:pointer; }
|
|
7884
|
+
.kb-conn-kind:hover, .kb-conn-kind:has(input:checked) { background:var(--surface-2); }
|
|
7885
|
+
.kb-conn-kind:has(input:checked) { border-color:var(--accent); }
|
|
7886
|
+
.kb-conn-kind b { display:block; color:var(--text); font-weight:600; }
|
|
7887
|
+
/* The ceiling question is a choice, not a failure: the neutral note tone, never the warn box of a stopped sync. */
|
|
7888
|
+
.kb-conn-ask { font-size:10.5px; color:var(--text-muted); line-height:1.45; margin-top:5px; padding:6px 8px; border-radius:5px;
|
|
7889
|
+
border:1px solid var(--border); background:var(--surface-2); }
|
|
7890
|
+
.kb-conn-ask b { color:var(--text); font-weight:600; }
|
|
7891
|
+
.kb-conn-chat { display:flex; align-items:center; gap:9px; padding:6px 8px; border-radius:5px; cursor:pointer; }
|
|
7892
|
+
.kb-conn-chat:hover { background:var(--surface-2); }
|
|
7893
|
+
.kb-conn-chat:has(input:checked) { background:var(--surface-2); }
|
|
7894
|
+
.kb-conn-chat-name { flex:1; min-width:0; color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
7895
|
+
.kb-conn-chat-meta { font-size:10.5px; color:var(--text-dim); }
|
|
7896
|
+
.kb-conn-field { margin-top:12px; display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
|
|
7897
|
+
.kb-conn-field-label { color:var(--text-muted); }
|
|
7898
|
+
.kb-conn-windows { display:flex; gap:12px; }
|
|
7899
|
+
.kb-conn-window { display:flex; align-items:center; gap:5px; cursor:pointer; color:var(--text); }
|
|
7900
|
+
.kb-conn-warn { margin:12px 0 0; padding-left:16px; font-size:11px; color:var(--text-dim); }
|
|
7901
|
+
.kb-conn-warn li + li { margin-top:3px; }
|
|
7902
|
+
.kb-conn-h { font-size:11px; font-weight:600; color:var(--text); margin:8px 0 3px; }
|
|
7903
|
+
.kb-conn-list { margin:0; padding-left:16px; }
|
|
7904
|
+
.kb-conn-p { margin:6px 0 0; }
|
|
7905
|
+
|
|
7703
7906
|
.kb-refs-foot { flex:none; border-top:1px solid var(--border); padding:11px 12px;
|
|
7704
7907
|
display:flex; flex-direction:column; gap:9px; }
|
|
7705
7908
|
/* Organize is the panel's one persistent primary action — it stays VISIBLE and explains itself via
|
|
@@ -8205,6 +8408,8 @@ button.kb-wikilink:focus-visible, .ai-chat-source-viewer button.kb-wikilink:focu
|
|
|
8205
8408
|
.company-knowledge-confirm span { color:var(--text-muted); font-size:11px; line-height:1.5; }
|
|
8206
8409
|
.company-knowledge-error { margin-top:10px; padding:8px 10px; border:1px solid color-mix(in srgb, var(--err) 35%, transparent);
|
|
8207
8410
|
border-radius:6px; color:var(--err); background:color-mix(in srgb, var(--err) 7%, var(--surface)); font-size:11px; }
|
|
8411
|
+
.company-knowledge-status { margin-top:10px; color:var(--text-dim); font-size:11px; line-height:1.45; }
|
|
8412
|
+
.company-knowledge-status[hidden] { display:none; }
|
|
8208
8413
|
.company-knowledge-dialog[aria-busy="true"] .company-knowledge-body { opacity:.7; }
|
|
8209
8414
|
.company-knowledge-dialog > .modal-actions { flex:none; }
|
|
8210
8415
|
@media (max-width:720px) {
|
|
@@ -8908,6 +9113,8 @@ body:has(.ai-chat-viewer-backdrop.show) #instructor .ix-parts { display:block; f
|
|
|
8908
9113
|
.as-note-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 4px; font-size: 12px; color: var(--text); }
|
|
8909
9114
|
.as-note-hint { margin: 0 0 10px; font-size: 11px; line-height: 1.45; color: var(--text-dim); }
|
|
8910
9115
|
.as-note-hint.is-global-off { color: var(--text-muted); }
|
|
9116
|
+
/* #3284: an AI step whose earlier confirmation still holds, with the write warning of the version that rests on it. */
|
|
9117
|
+
.inspect-content .as-carried { margin: 0 0 10px; font-size: 11px; line-height: 1.45; color: var(--text-muted); }
|
|
8911
9118
|
.as-facts dt { color: var(--text-dim); }
|
|
8912
9119
|
.as-facts dd { margin: 0; color: var(--text); word-break: break-word; }
|
|
8913
9120
|
.tb-btn.tb-text { width: auto; padding: 0 10px; font-size: 12px; font-weight: 500; white-space: nowrap; }
|
|
@@ -8991,6 +9198,13 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
8991
9198
|
.ac-dialog .modal-actions button.primary[aria-disabled="true"]:hover { background: var(--accent); box-shadow: none; }
|
|
8992
9199
|
.ac-dialog .modal-actions { flex: none; flex-wrap: wrap; }
|
|
8993
9200
|
.ac-dialog .modal-actions #ac-cancel { margin-right: auto; }
|
|
9201
|
+
/* #2732: export past the archive bounds. Built on .ac-dialog; tokens only, both themes. Long folder paths wrap, never scroll. */
|
|
9202
|
+
.xo-dialog .xo-path { font-family: var(--mono); font-size: 11.5px; background: var(--surface-2); color: var(--text); padding: 1px 5px; border-radius: 3px; overflow-wrap: anywhere; }
|
|
9203
|
+
.xo-choices { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 6px; }
|
|
9204
|
+
.xo-choices li { font-size: 12px; line-height: 1.5; color: var(--text-muted); padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); }
|
|
9205
|
+
.xo-choices li b { color: var(--text); font-weight: 600; }
|
|
9206
|
+
.xo-left-out { font-size: 11.5px; line-height: 1.5; color: var(--text-dim); margin: -4px 0 12px; overflow-wrap: anywhere; }
|
|
9207
|
+
.xo-dialog .modal-actions #xo-cancel { margin-right: auto; }
|
|
8994
9208
|
.ac-vis { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
|
|
8995
9209
|
|
|
8996
9210
|
/* ── Two steps share one name (#2314, epic #2241 slice 3c): the rename ask. Built on the AI step confirmation's dialog (.ac-dialog)
|
|
@@ -9071,6 +9285,8 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
9071
9285
|
.as-use-list .ai-pill { margin-left: 4px; }
|
|
9072
9286
|
/* The panel sits on --surface-2, where --text-muted falls under 4.5:1 in the light theme: this copy carries meaning, so it uses --text. */
|
|
9073
9287
|
.as-use-note { margin: 4px 0 0; color: var(--text); }
|
|
9288
|
+
/* #3229: the run stopped at the AI step's check (it ended "ok", so this line is what says it did not finish). */
|
|
9289
|
+
.as-run-stopped { margin: 0 0 8px; padding-left: 8px; border-left: 3px solid var(--warn); color: var(--text); overflow-wrap: anywhere; }
|
|
9074
9290
|
.as-use-skipped { margin: 4px 0 0; color: var(--text); overflow-wrap: anywhere; }
|
|
9075
9291
|
.as-run .ai-pill.is-uses { color: var(--text); }
|
|
9076
9292
|
.as-use-line { color: var(--text-muted); }
|
|
@@ -9106,6 +9322,8 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
9106
9322
|
.as-gate-queue { margin-top: 8px; color: var(--text-dim); font-size: 11.5px; }
|
|
9107
9323
|
.rtn-ai { color: var(--text-muted); cursor: help; }
|
|
9108
9324
|
.rtn-ai-q { color: var(--warn); cursor: help; }
|
|
9325
|
+
/* #3229: the run stopped at its AI step's check: the chip's words carry it, the colour only repeats it. */
|
|
9326
|
+
.rtn-ai.is-stopped { color: var(--warn); }
|
|
9109
9327
|
/* The last-run panel belongs to the open workflow's canvas: the landing, a draft view and Workspaces step it aside like the other canvas strips. */
|
|
9110
9328
|
:is(body.wf-landing-open, body.wf-draft-open):not(.mode-workspaces) .as-run, body.mode-workspaces .as-run { display: none !important; }
|
|
9111
9329
|
|
|
@@ -9321,6 +9539,51 @@ input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer
|
|
|
9321
9539
|
.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); }
|
|
9322
9540
|
.company-pop.hist-confirm { padding:10px 12px; max-width:320px; }
|
|
9323
9541
|
|
|
9542
|
+
/* ── Profile mapping before a CAD send (#3312) ─────────────────────────────────────────────────────────
|
|
9543
|
+
Built from existing tokens only. The window reuses .modal/.revreview chrome and the .wf-combo picker
|
|
9544
|
+
language; the one scroll container (.pm-body) is themed in the same pass that creates it. */
|
|
9545
|
+
.modal.profilemap { width:860px; max-width:94vw; }
|
|
9546
|
+
.pm-source { margin:6px 0 4px; color:var(--text-muted); font-size:12px; line-height:1.45; overflow-wrap:anywhere; }
|
|
9547
|
+
.pm-source:empty { display:none; }
|
|
9548
|
+
.pm-tools { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:6px 0 8px; }
|
|
9549
|
+
.pm-tools > button { background:var(--surface-3); border:1px solid var(--border-strong); color:var(--text-muted); border-radius:6px; padding:5px 11px; font:inherit; font-size:12px; cursor:pointer; }
|
|
9550
|
+
.pm-tools > button:hover { color:var(--text); border-color:var(--accent); }
|
|
9551
|
+
.pm-tools > button:focus-visible, .pm-sources button:focus-visible { outline:2px solid var(--accent); outline-offset:2px; }
|
|
9552
|
+
.pm-tools > button[aria-busy="true"] { cursor:progress; opacity:.7; }
|
|
9553
|
+
.pm-sources { display:inline-flex; flex-wrap:wrap; gap:6px; }
|
|
9554
|
+
.pm-sources[hidden] { display:none; }
|
|
9555
|
+
.pm-sources button { background:none; border:1px solid var(--border-strong); color:var(--text-muted); border-radius:999px; padding:4px 11px; font:inherit; font-size:11.5px; cursor:pointer; max-width:260px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
|
|
9556
|
+
.pm-sources button:hover { color:var(--text); border-color:var(--accent); }
|
|
9557
|
+
.pm-sources button[aria-pressed="true"] { color:var(--text); border-color:var(--accent); background:var(--accent-dim); }
|
|
9558
|
+
.pm-body { max-height:52vh; padding-bottom:4px; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
9559
|
+
.pm-head, .pm-row { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1.3fr) minmax(0,1.6fr); gap:6px 14px; align-items:start; }
|
|
9560
|
+
.pm-head { padding:2px 12px 6px; color:var(--text-dim); font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
|
|
9561
|
+
.pm-row { padding:10px 12px; margin:0 0 7px; border:1px solid var(--border); border-radius:8px; background:var(--surface-2); }
|
|
9562
|
+
.pm-row.changed { border-color:color-mix(in srgb, var(--accent) 55%, var(--border)); }
|
|
9563
|
+
.pm-name { display:block; color:var(--text); font-family:var(--mono); font-size:12.5px; overflow-wrap:anywhere; }
|
|
9564
|
+
.pm-count { display:block; margin-top:2px; color:var(--text-dim); font-size:11px; }
|
|
9565
|
+
.pm-chip { display:inline-block; padding:2px 8px; border:1px solid var(--border-strong); border-radius:999px; color:var(--text-muted); font-size:10.5px; font-weight:700; letter-spacing:.02em; }
|
|
9566
|
+
.pm-chip.is-sure { color:var(--ok); border-color:color-mix(in srgb, var(--ok) 45%, var(--border)); }
|
|
9567
|
+
.pm-chip.is-check { color:var(--warn); border-color:color-mix(in srgb, var(--warn) 45%, var(--border)); }
|
|
9568
|
+
.pm-why { display:block; margin-top:5px; color:var(--text-muted); font-size:11.5px; line-height:1.4; }
|
|
9569
|
+
.pm-pick .wf-trigger { width:100%; }
|
|
9570
|
+
.pm-pick { min-width:0; }
|
|
9571
|
+
.pm-pick .pm-popover { position:static; margin-top:6px; width:100%; min-width:0; max-width:100%; box-sizing:border-box; box-shadow:none; animation:none; }
|
|
9572
|
+
.pm-body { overflow-x:hidden; }
|
|
9573
|
+
.pm-pick .pm-list { max-height:220px; overflow-y:auto; scrollbar-width:thin; scrollbar-color:var(--border-strong) transparent; }
|
|
9574
|
+
.pm-pick .pm-list::-webkit-scrollbar, .pm-body::-webkit-scrollbar { width:8px; }
|
|
9575
|
+
.pm-pick .pm-list::-webkit-scrollbar-thumb, .pm-body::-webkit-scrollbar-thumb { background:var(--border-strong); border-radius:5px; }
|
|
9576
|
+
.pm-pick .pm-list::-webkit-scrollbar-track, .pm-body::-webkit-scrollbar-track { background:transparent; }
|
|
9577
|
+
.pm-caution { grid-column:1 / -1; margin:2px 0 0; padding:6px 10px; border-left:2px solid var(--warn); background:color-mix(in srgb, var(--warn) 8%, var(--surface-2)); color:var(--text-muted); font-size:11.5px; line-height:1.45; }
|
|
9578
|
+
.pm-caution[hidden] { display:none; }
|
|
9579
|
+
.pm-empty { padding:14px 12px; color:var(--text-muted); font-size:12.5px; line-height:1.5; }
|
|
9580
|
+
.pm-note { margin:2px 0 6px; color:var(--text-dim); font-size:11.5px; line-height:1.5; }
|
|
9581
|
+
.pm-note:empty { display:none; }
|
|
9582
|
+
@media (max-width: 760px) {
|
|
9583
|
+
.pm-head { display:none; }
|
|
9584
|
+
.pm-row { grid-template-columns:1fr; }
|
|
9585
|
+
}
|
|
9586
|
+
|
|
9324
9587
|
/* ── The FloLess window (Electron shell) ─────────────────────────────────────────────────────────────────────────────
|
|
9325
9588
|
Everything below hangs off `html.desktop`, which web/desktop-window.js adds ONLY when the shell's bridge is present, so
|
|
9326
9589
|
a browser tab never sees a single rule of it. The header becomes the window's title bar: Windows draws the caption
|
package/dist/web/app.js
CHANGED
|
@@ -627,9 +627,10 @@ function renderCategorySuggestions() {
|
|
|
627
627
|
const cats = [...new Set(state.favorites.map(f => f.category).filter(Boolean))];
|
|
628
628
|
const defaults = ['Tekla', 'MEP', 'Fab Pipeline', 'Coordination', 'QA'];
|
|
629
629
|
const all = [...new Set([...cats, ...defaults])];
|
|
630
|
-
$favCatSug.innerHTML = all.slice(0, 6).map(c => `<button data-cat="${escapeAttr(c)}">${escapeHtml(c)}</button>`).join('');
|
|
630
|
+
$favCatSug.innerHTML = all.slice(0, 6).map(c => `<button type="button" data-cat="${escapeAttr(c)}" data-command-id="shell.favourite-category-suggestion#${escapeAttr(c)}">${escapeHtml(c)}</button>`).join('');
|
|
631
631
|
$favCatSug.querySelectorAll('button').forEach(b => {
|
|
632
|
-
|
|
632
|
+
// Fill the field and hand focus back to it, so a following Enter saves (#3140).
|
|
633
|
+
b.onclick = () => { $favCat.value = b.dataset.cat; $favCat.focus(); };
|
|
633
634
|
});
|
|
634
635
|
}
|
|
635
636
|
|
|
@@ -1232,12 +1233,38 @@ document.getElementById('lib-close').onclick = () => $libModal.classList.remove(
|
|
|
1232
1233
|
onBackdropDismiss($addFavModal, closeAddFavModal);
|
|
1233
1234
|
onBackdropDismiss($libModal, () => $libModal.classList.remove('show'));
|
|
1234
1235
|
|
|
1236
|
+
// Save as Template keys (#3140). Enter saves only from the Name or Category field: a focused button answers Enter
|
|
1237
|
+
// itself, so Save saves once, Cancel cancels and a category suggestion only fills the field. Tab wraps inside the
|
|
1238
|
+
// dialog, so focus never walks onto the page behind it.
|
|
1239
|
+
function onAddFavKey(e) {
|
|
1240
|
+
if (!$addFavModal.classList.contains('show')) return;
|
|
1241
|
+
if (e.key === 'Enter') {
|
|
1242
|
+
// A held Enter repeats; only its first press saves.
|
|
1243
|
+
if (e.isComposing || e.repeat || (e.target !== $favName && e.target !== $favCat)) return;
|
|
1244
|
+
e.preventDefault();
|
|
1245
|
+
commitFav();
|
|
1246
|
+
return;
|
|
1247
|
+
}
|
|
1248
|
+
if (e.key !== 'Tab') return;
|
|
1249
|
+
const active = document.activeElement;
|
|
1250
|
+
// A dialog opened over this one keeps its own Tab.
|
|
1251
|
+
if (active && !$addFavModal.contains(active) && active.closest('[role="dialog"], [role="alertdialog"]')) return;
|
|
1252
|
+
const controls = Array.from($addFavModal.querySelectorAll('input, button'))
|
|
1253
|
+
.filter((el) => !el.disabled && !el.hidden && el.getClientRects().length);
|
|
1254
|
+
if (!controls.length) return;
|
|
1255
|
+
const first = controls[0];
|
|
1256
|
+
const last = controls[controls.length - 1];
|
|
1257
|
+
const inside = $addFavModal.contains(active);
|
|
1258
|
+
if (e.shiftKey && (!inside || active === first)) { e.preventDefault(); last.focus(); }
|
|
1259
|
+
else if (!e.shiftKey && (!inside || active === last)) { e.preventDefault(); first.focus(); }
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1235
1262
|
document.addEventListener('keydown', (e) => {
|
|
1236
1263
|
if (e.key === 'Escape') {
|
|
1237
1264
|
if ($addFavModal.classList.contains('show')) closeAddFavModal();
|
|
1238
1265
|
if ($libModal.classList.contains('show')) $libModal.classList.remove('show');
|
|
1239
1266
|
}
|
|
1240
|
-
|
|
1267
|
+
onAddFavKey(e);
|
|
1241
1268
|
});
|
|
1242
1269
|
|
|
1243
1270
|
$libSearch.oninput = renderLibrary;
|
|
@@ -1323,6 +1350,22 @@ function onBackdropDismiss(modal, dismiss, guard) {
|
|
|
1323
1350
|
};
|
|
1324
1351
|
}
|
|
1325
1352
|
|
|
1353
|
+
// #3147: Escape closes `modal` while it shows, as its Cancel does. The key is left alone when something above the
|
|
1354
|
+
// dialog owns it: a press another handler already used, or focus in another dialog. While `guard()` says the dialog
|
|
1355
|
+
// cannot close (work it shows is still running), the press is used up but closes nothing, so it never falls through
|
|
1356
|
+
// to whatever sits underneath either.
|
|
1357
|
+
function onEscapeDismiss(modal, dismiss, guard) {
|
|
1358
|
+
if (!modal) return;
|
|
1359
|
+
document.addEventListener('keydown', (e) => {
|
|
1360
|
+
if (e.key !== 'Escape' || e.defaultPrevented || e.isComposing || !modal.classList.contains('show')) return;
|
|
1361
|
+
const active = document.activeElement;
|
|
1362
|
+
if (active && active !== document.body && !modal.contains(active)
|
|
1363
|
+
&& active.closest('[role="dialog"], [role="alertdialog"], .modal-backdrop')) return;
|
|
1364
|
+
e.preventDefault();
|
|
1365
|
+
if (!guard || guard()) dismiss();
|
|
1366
|
+
});
|
|
1367
|
+
}
|
|
1368
|
+
|
|
1326
1369
|
/* ============= MENU ============= */
|
|
1327
1370
|
|
|
1328
1371
|
const $menuBtn = document.getElementById('menu-btn');
|
|
@@ -1440,15 +1483,24 @@ const $findOverlay = document.getElementById('find-overlay');
|
|
|
1440
1483
|
const $findInput = document.getElementById('find-input');
|
|
1441
1484
|
const $findCount = document.getElementById('find-count');
|
|
1442
1485
|
|
|
1486
|
+
// Returns whether the overlay opened, so Ctrl/Cmd+F only takes the key from the browser's own
|
|
1487
|
+
// Find when there was something on screen for FloLess to search (#3142).
|
|
1443
1488
|
function openFind() {
|
|
1444
1489
|
const ws = window.flolessWorkspaces && window.flolessWorkspaces.findActive();
|
|
1490
|
+
const app = document.getElementById('app');
|
|
1445
1491
|
// In Workspaces mode there's nothing to find off the Model step — don't pop a dead overlay.
|
|
1446
|
-
if (
|
|
1492
|
+
if (app.classList.contains('mode-workspaces') && !ws) return false;
|
|
1493
|
+
// Agents and the dashboard view hide the overlay in CSS: opening it there would focus an
|
|
1494
|
+
// invisible input and swallow the browser's Find for nothing.
|
|
1495
|
+
if (app.classList.contains('mode-agents') || document.querySelector('.canvas.view-dashboard')) return false;
|
|
1496
|
+
// An open dialog is what the person is looking at; the overlay would open behind it.
|
|
1497
|
+
if (document.querySelector('.modal-backdrop.show')) return false;
|
|
1447
1498
|
$findInput.placeholder = ws ? 'Find in model…' : 'Find tool…';
|
|
1448
1499
|
$findOverlay.classList.add('show');
|
|
1449
1500
|
$findInput.value = '';
|
|
1450
1501
|
$findCount.textContent = '';
|
|
1451
1502
|
setTimeout(() => $findInput.focus(), 50);
|
|
1503
|
+
return true;
|
|
1452
1504
|
}
|
|
1453
1505
|
function closeFind() {
|
|
1454
1506
|
$findOverlay.classList.remove('show');
|
|
@@ -1906,6 +1958,12 @@ function workflowCanvasGesture(target) {
|
|
|
1906
1958
|
return !target?.closest?.('#ws-landing, #ws-project, #wf-landing, #wf-draft, #agents-surface, .dashboard');
|
|
1907
1959
|
}
|
|
1908
1960
|
|
|
1961
|
+
function homeFitsCanvas(target) {
|
|
1962
|
+
if (document.querySelector('.modal-backdrop.show') || !workflowCanvasGesture(target)) return false;
|
|
1963
|
+
if (target?.isContentEditable) return false;
|
|
1964
|
+
return !target || target === document.body || target === document.documentElement || !!target.closest?.('.canvas');
|
|
1965
|
+
}
|
|
1966
|
+
|
|
1909
1967
|
// Ctrl/Cmd + scroll wheel = zoom on canvas (skips OS-level browser zoom)
|
|
1910
1968
|
let zoomAccum = 0;
|
|
1911
1969
|
document.querySelector('.canvas').addEventListener('wheel', (e) => {
|
|
@@ -2064,7 +2122,7 @@ async function workspaceRootApi(path, opts) {
|
|
|
2064
2122
|
const body = await response.json().catch(() => ({ ok: false, code: 'response-unreadable' }));
|
|
2065
2123
|
if (!response.ok || body.ok === false) {
|
|
2066
2124
|
const method = String(opts?.method || 'GET').toUpperCase();
|
|
2067
|
-
const error = new Error(body
|
|
2125
|
+
const error = new Error(personText(body) || failureCopy({ status: response.status, body }, { retrySafe: method === 'GET' || method === 'HEAD' }).text);
|
|
2068
2126
|
error.body = body;
|
|
2069
2127
|
error.status = response.status;
|
|
2070
2128
|
throw error;
|
|
@@ -2367,7 +2425,7 @@ document.addEventListener('keydown', (e) => {
|
|
|
2367
2425
|
if (cmd && !e.shiftKey && e.key.toLowerCase() === 'o') { e.preventDefault(); doOpen(); return; }
|
|
2368
2426
|
if (cmd && e.shiftKey && e.key.toLowerCase() === 's') { e.preventDefault(); doSaveAs(); return; }
|
|
2369
2427
|
if (cmd && !e.shiftKey && e.key.toLowerCase() === 's') { e.preventDefault(); doSave(); return; }
|
|
2370
|
-
if (cmd && e.key.toLowerCase() === 'f') { e.preventDefault();
|
|
2428
|
+
if (cmd && e.key.toLowerCase() === 'f') { if (openFind()) e.preventDefault(); return; }
|
|
2371
2429
|
if (cmd && e.key.toLowerCase() === 'i') { e.preventDefault(); openIntegrations(); return; }
|
|
2372
2430
|
// Agents and Routines — the panels reachable from the ≡ menu since #149 moved their
|
|
2373
2431
|
// toolbar buttons there. Use the same Ctrl-or-Cmd modifier (`cmd`) as Ctrl+O/S/F/I
|
|
@@ -2378,7 +2436,13 @@ document.addEventListener('keydown', (e) => {
|
|
|
2378
2436
|
if (cmd && (e.key === '=' || e.key === '+')) { e.preventDefault(); zoomBy(+1); return; }
|
|
2379
2437
|
if (cmd && e.key === '-') { e.preventDefault(); zoomBy(-1); return; }
|
|
2380
2438
|
if (cmd && e.key === '0') { e.preventDefault(); resetView(); autoFit = false; return; }
|
|
2381
|
-
|
|
2439
|
+
// Home re-fits the workflow graph only when that graph is what is on screen and the key came
|
|
2440
|
+
// from the canvas itself (or nothing focused). Anywhere else — Workspaces, Agents, a list, an
|
|
2441
|
+
// open dialog — Home stays the browser's: scroll to the top, first row, start of line (#3142).
|
|
2442
|
+
if (e.key === 'Home') {
|
|
2443
|
+
if (!homeFitsCanvas(e.target)) return;
|
|
2444
|
+
e.preventDefault(); fitToScreen(); autoFit = true; return;
|
|
2445
|
+
}
|
|
2382
2446
|
if (e.key === 'Escape') {
|
|
2383
2447
|
if ($findOverlay.classList.contains('show')) closeFind();
|
|
2384
2448
|
if ($integrationsModal.classList.contains('show')) $integrationsModal.classList.remove('show');
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
if (!result.response.ok) {
|
|
223
223
|
// #3097: the server's reason when it gave one; never a status number. The outcome is unknown here, so the
|
|
224
224
|
// person is asked to look again before starting another upgrade.
|
|
225
|
-
const message = result.body
|
|
225
|
+
const message = personText(result.body) || 'FloLess lost track of the AWARE upgrade, so it can’t say whether it finished. Reopen this window to check before starting another upgrade.';
|
|
226
226
|
console.warn('[aware-update] status read failed', result.response.status, result.body);
|
|
227
227
|
return emit({ status: 'runtime-failed', transaction, target: state.target, observedVersion: null,
|
|
228
228
|
// Identity is immutable, and DEFAULTED because start()/resume() emit before any poll
|
|
@@ -309,7 +309,7 @@
|
|
|
309
309
|
return emit({ ...identity, status: 'runtime-failed', origin: 'user',
|
|
310
310
|
error: { code: String(result.body.code || 'start-refused'), status: result.response.status,
|
|
311
311
|
// #3097: never a status number. Refused or not, the server gave no reason, so whether it started is unknown.
|
|
312
|
-
message: String(result.body
|
|
312
|
+
message: String(personText(result.body) || result.body.message || 'FloLess couldn’t confirm that the AWARE upgrade started. Reopen this window to see whether it is running before you try again. If it keeps happening, use Report an issue at the bottom of the window.') } });
|
|
313
313
|
}
|
|
314
314
|
const transaction = transactionOf(result.body) || transactionOf(payloadOf(result.body));
|
|
315
315
|
if (!transaction) {
|
|
@@ -439,7 +439,7 @@
|
|
|
439
439
|
async function check() {
|
|
440
440
|
const result = await request('/api/aware/update');
|
|
441
441
|
if (!result.response.ok) {
|
|
442
|
-
throw Object.assign(new Error(result.body
|
|
442
|
+
throw Object.assign(new Error(personText(result.body) || 'FloLess couldn’t check for AWARE updates just now. Try again in a moment.'),
|
|
443
443
|
{ status: result.response.status, body: result.body });
|
|
444
444
|
}
|
|
445
445
|
return result.body;
|
|
@@ -473,7 +473,7 @@
|
|
|
473
473
|
}
|
|
474
474
|
if (!result.response.ok) {
|
|
475
475
|
return emit({ ...state, status: 'partial',
|
|
476
|
-
retryError: String(result.body
|
|
476
|
+
retryError: String(personText(result.body) || result.body.message || `The ${row.host} bridge retry was refused.`) });
|
|
477
477
|
}
|
|
478
478
|
store(transaction);
|
|
479
479
|
emit({ ...state, status: 'retrying', host: row.host, retryError: null });
|