Commit Graph

137 Commits

Author SHA1 Message Date
Youzini-afk
e4354e2d6d fix(notice): fix compact layout title truncated to 'ST...'
Root cause: compact layout used width:fit-content on parent with
overflow:hidden + min-width:0 on __content flex child. In flex, min-width:0
allows the child to shrink to 0, and fit-content + overflow:hidden causes
the content to collapse completely, showing only 'ST...' for the title.

Fix: Replace width:fit-content with max-width on the compact parent so
the container can size naturally. Give __content flex:1 1 0% so it takes
all available space after icon/close button, letting the title fill that
space and ellipsis only when it genuinely overflows.
2026-04-29 17:28:47 +08:00
Youzini-afk
702b6ac493 fix(notice): fix compact layout broken by duplicate CSS blocks and missing overflow rules
Root causes:
1. Duplicate .st-bme-notice__title and .st-bme-notice__message blocks (from
   original code) were overriding the new transition-enabled versions,
   stripping transitions and causing missing overflow:hidden on __message.
2. .st-bme-notice::after pseudo-element CSS was accidentally merged into
   .st-bme-notice__message--marquee block during previous edit.
3. Compact layout .st-bme-notice__content had overflow:hidden with no
   min-width constraint, causing the title to collapse to 'ST...'.

Fixes:
- Removed all duplicate CSS blocks; single canonical definitions with transitions
- Restored ::after pseudo-element as separate rule
- Added max-width:320px with overflow:hidden explicitly for compact content
- Added normal content max-width:360px with overflow:hidden
- Restored missing .st-bme-notice__actions base rule with transition
- Added .st-bme-notice__message overflow:hidden for max-height animation
2026-04-29 17:25:19 +08:00
Youzini-afk
fe48e3eec9 feat(notice): add click-to-toggle between compact and detailed display modes
Click anywhere on the notice content area to toggle between compact and
detailed (normal) display modes. A subtle hint label '▸ 简洁' / '▸ 详细'
appears on hover.

CSS transitions animate the layout switch:
- Content area: max-width + opacity crossfade (280ms cubic-bezier)
- Message text: max-height expand/collapse + opacity fade (280ms)
- Actions: max-height + margin collapse + opacity fade (260ms)
- Container: grid-template-columns + padding + border-radius morph (260ms)

The switch uses a two-phase animation: content fades out (180ms), layout
changes via CSS transition, then content fades back in (60ms delay). This
prevents jarring content jumps during the layout shift.
2026-04-29 17:19:49 +08:00
Youzini-afk
a070e04e56 fix(panel): prevent UI freeze when opening panel during extraction
Root cause: onStreamProgress callback fires 20-50x/sec during LLM streaming,
each calling setLastExtractionStatus with syncRuntime=true (default), which
triggers setRuntimeStatus -> refreshPanelLiveState() -> _refreshDashboard().
_refreshDashboard iterates all graph nodes (.filter x2) and performs heavy
DOM updates each time. When the panel is open, this blocks the main thread.

Fixes:
1. panel.js: Add requestAnimationFrame throttle to refreshLiveState() with
   minimum 80ms gap between actual DOM refreshes. Rapid calls are collapsed
   into a single animation frame, preventing main thread saturation.
2. extraction-controller.js: Change onStreamProgress to use syncRuntime=false
   so streaming updates no longer trigger setRuntimeStatus (which would also
   update the floating ball on each chunk).
3. recall-controller.js: Same fix for recall onStreamProgress which had
   the identical syncRuntime=true issue.
2026-04-29 17:03:49 +08:00
Youzini-afk
97c325e631 Animate maintenance mode indicator 2026-04-29 16:15:34 +08:00
Youzini-afk
b7c077ed21 Implement background maintenance post-process queue 2026-04-29 16:01:32 +08:00
Youzini-afk
69dc452120 Implement background maintenance vector sync 2026-04-29 14:52:51 +08:00
Youzini-afk
899774d636 feat: add maintenance concurrency modes 2026-04-29 14:25:16 +08:00
Youzini-afk
d956de4a61 Add post-generation extraction toggle 2026-04-29 03:38:24 +08:00
Youzini-afk
8979b89646 feat(authority): harden jobs repair and diagnostics 2026-04-28 19:35:06 +08:00
Youzini-afk
07188feeb1 feat(authority): compare performance baselines 2026-04-28 18:27:12 +08:00
Youzini-afk
7f3ea4f36f feat(authority): add diagnostics artifact manifest UX 2026-04-28 18:12:01 +08:00
Youzini-afk
dc76d1ea4c feat(authority): add consistency repair actions 2026-04-28 17:48:52 +08:00
Youzini-afk
e1d6d3193a feat(authority): add diagnostics baseline ux 2026-04-28 17:05:47 +08:00
Youzini-afk
3a6f577678 feat(authority): add checkpoint audit scaffolding 2026-04-28 16:49:14 +08:00
Youzini-afk
d5dd4b64a8 feat(authority): surface recent jobs in panel 2026-04-28 16:25:58 +08:00
Youzini-afk
cabbe72e23 feat(authority): track job status in panel 2026-04-28 15:35:18 +08:00
Youzini-afk
217573e8bb feat(authority): export diagnostics bundle 2026-04-28 15:16:09 +08:00
Youzini-afk
d7cbbb20c1 Integrate Authority Blob storage 2026-04-28 12:53:18 +08:00
Youzini-afk
1018376c85 Add Authority jobs task backend 2026-04-28 03:53:56 +08:00
Youzini-afk
35fee7d08d feat(authority): add Trivium vector primary adapter 2026-04-28 03:31:46 +08:00
Youzini-afk
3f70d63a86 feat(authority): migrate local graphs to server primary 2026-04-28 03:02:43 +08:00
Youzini-afk
ee9b0afa35 feat(authority): add server-primary capability probe 2026-04-28 01:40:38 +08:00
Youzini-afk
0ec1636f73 chore(ui): simplify render limit help text 2026-04-25 16:51:11 +08:00
Youzini-afk
8c489bf1c7 feat(ui): show hidden floor count and render limit 2026-04-25 16:37:50 +08:00
Hao19911125
2228ec4278 Persist planner toggles immediately 2026-04-24 12:41:17 +08:00
Hao19911125
1b82f54216 Fix ENA planner toggle autosave race 2026-04-24 12:35:02 +08:00
Youzini-afk
0daf723fd1 fix: auto-repair malformed memory scope regions 2026-04-23 18:48:30 +08:00
Youzini-afk
51c35c6940 Reset planner save status on reopen 2026-04-23 16:53:06 +08:00
Youzini-afk
8744a3fd3a Fix planner task preset shortcut 2026-04-23 16:48:47 +08:00
Youzini-afk
28ccaab0ac Simplify ENA planner API preset selection 2026-04-23 16:43:53 +08:00
Youzini-afk
efff3b15b3 Integrate ENA planner task profiles 2026-04-23 16:26:32 +08:00
Youzini-afk
3f9d8a2aed feat: reuse shared llm presets for ena planner 2026-04-23 15:39:18 +08:00
Youzini-afk
a86f91991d feat: integrate ena planner into native bme panel 2026-04-23 15:25:25 +08:00
Youzini-afk
07d7721cf8 fix: restore panel preload status strip markup 2026-04-23 14:14:57 +08:00
Youzini-afk
a28acb0bc0 refactor: remove redundant task monitor UI 2026-04-23 14:01:45 +08:00
Youzini-afk
9aa4b3ba26 feat: add master plugin toggle 2026-04-23 12:55:17 +08:00
Youzini-afk
fb4dabeaf1 perf: add dirty persist and hydrate/layout optimizations 2026-04-22 22:27:51 +08:00
Youzini-afk
c1caa79eb4 Integrate native rollout UI and tune hydrate gating 2026-04-22 21:24:47 +08:00
Youzini-afk
ba33054124 perf: ship prebuilt wasm artifacts by default 2026-04-22 20:22:26 +08:00
Youzini-afk
cfc122244a perf: optimize persist/load P1 hot paths 2026-04-22 18:34:56 +08:00
Youzini-afk
b1937336bd Make persistence diagnostics detail two-column 2026-04-22 17:16:40 +08:00
Youzini-afk
b849117646 Add persistence load and commit attribution diagnostics 2026-04-22 17:12:09 +08:00
Youzini-afk
d2c3d1f5dd Add persistence and retrieval observability with native delta gating 2026-04-21 20:32:20 +08:00
Youzini-afk
37bada37b6 feat: add recall card editing and ENA preview UI 2026-04-20 16:39:29 +08:00
Youzini-afk
fb60502b55 Add cognition owner management flows 2026-04-20 15:35:49 +08:00
Youzini-afk
1199f7d828 refactor: rebalance persistence panel summary 2026-04-15 22:20:58 +08:00
Youzini-afk
3ba9437899 fix: always show persistence repair actions in actions tab 2026-04-15 21:51:16 +08:00
Youzini-afk
be9e0ef719 refactor: move persistence repair actions into actions tab 2026-04-15 21:33:00 +08:00
Youzini-afk
359a2a07b7 feat: deepen luker host integration 2026-04-15 21:20:08 +08:00