You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(desktop): move process events to dedicated rail section
Give the process log its own Events rail view with a full-height table,
detail panel, and #events routing; remove the cramped table from Graph
Overview and place the workspace logo above Settings in the rail bottom.
Copy file name to clipboardExpand all lines: libs/naas-abi/naas_abi/apps/desktop/AGENTS.md
+18-5Lines changed: 18 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,7 +125,7 @@ desktop/
125
125
126
126
A workspace is a **folder on disk** (VS Code / Cursor semantics), not a Nexus tenant.
127
127
128
-
-**UI**: icon rail top (Nexus sidebar-top pattern): **logo button only** opens a glass portal dropdown to the right (square corners). Hover on the logo shows the full path; the menu lists recent workspaces with a checkmark on the active entry and **Open Folder…**. The status bar left shows the current workspace basename and git branch as read-only context (no switch action). Top bar and main body stay clean (panel toggle + section title only).
128
+
-**UI**: icon rail bottom (above Settings): **logo button only** opens a glass portal dropdown to the right (square corners). Hover on the logo shows the full path; the menu lists recent workspaces with a checkmark on the active entry and **Open Folder…**. The status bar left shows the current workspace basename and git branch as read-only context (no switch action). Top bar and main body stay clean (panel toggle + section title only). Rail top is an empty spacer.
129
129
-**Switch / open**: `POST /api/workspaces/open` or `PUT /api/settings` with a new `workspace_root`. Triggers `ensure_workspace`, harness restart, terminal reconnect, file index refresh, org/model context reload, and graph rescaffold.
130
130
-**Recent list**: `recent_workspaces` setting (JSON array, max 10 paths). Updated on every open/switch.
131
131
-**First run**: `maybe_upgrade_workspace_setting()` auto-detects `~/abi` (git + `.env`) when still on the factory default.
-`GET /api/processes` — paginated event log rows (timestamp, label, type, seven bucket columns with known/shared/unknown status, `graph_node_id` for graph focus)
199
-
- Graph Overview tab: scrollable **Process events** table above the vis-network canvas; click a row to select and focus the matching process node (and its bucket spokes)
199
+
200
+
**Iteration 8** (current):
201
+
202
+
-**Events rail section**: dedicated `#events` main view with full-height process events table (`GET /api/processes`); row click opens detail panel, double-click or **View in Graph** navigates to Graph Overview and focuses the process node
203
+
- Workspace logo switcher moved to rail bottom (above Settings); rail top is spacer only
204
+
- Graph Overview tab: vis-network canvas only (process events table removed from split view above graph)
200
205
- Tables tab still shows raw SQLite dumps (`processes`, `process_aspects`) for debugging
- Bidirectional sync: settings UI writes back to `instances.ttl` when agents/models change
205
210
- Visual BFO7 bucket diagram in Graph UI (seven-bucket layout, not just route summary)
@@ -443,8 +448,7 @@ The Code section explorer accepts files dragged from macOS Finder:
443
448
444
449
The Graph section combines a **vis-network** canvas with search, group filters, and a right-hand detail panel (inspired by `bob/docs/ontology/bob_ontology.html` and Nexus graph explorer).
445
450
446
-
-**Layout (Overview tab)**: toolbar with search + group filter chips; **process events table** (scrollable, max ~220px) above the vis-network canvas; optional left node list when search matches; center vis-network canvas; right inspector panel (~320px, square corners, slide-in on selection).
447
-
-**Process events table**: `GET /api/processes`; columns When, Label, Type, plus seven BFO buckets; status styling (known/shared/unknown); click row focuses `graph_node_id` and connected bucket nodes in the graph below.
451
+
-**Layout (Overview tab)**: toolbar with search + group filter chips; center vis-network canvas; right inspector panel (~320px, square corners, slide-in on selection).
448
452
-**Search**: filters nodes by label/id/group as you type; matching nodes stay highlighted, others dim; Enter cycles matches and focuses the node; Escape clears search.
449
453
-**Group filters**: toggle chips per node group (context, route, language_model, …); hidden groups are removed from the canvas.
450
454
-**Right panel**: opens on node click; shows properties from `node.detail`, `can_realize` tags for language models, TTL annotations for BFO buckets, and incoming/outgoing relations (clickable to jump).
@@ -454,6 +458,15 @@ The Graph section combines a **vis-network** canvas with search, group filters,
454
458
-**View in browser dev**: `uv run python libs/naas-abi/naas_abi/apps/desktop/run.py --browser-only` → Knowledge Graph rail icon → Overview tab → search or click a node.
Dedicated rail section (`#events`) for the SQLite process event log.
464
+
465
+
-**Layout**: full-height scrollable table (When, Label, Type, seven BFO bucket columns); right detail panel (~320px) on row select; optional navigation to Graph Overview via double-click or **View in Graph**.
466
+
-**Data**: `GET /api/processes?limit=100` (paginated; same payload as iteration 7).
467
+
-**Row actions**: single click selects row and shows bucket detail; double-click or detail action focuses `graph_node_id` in the Graph section (loads overview if needed).
468
+
-**Panel**: side panel shows "Process log" hint; main table fills the content area.
469
+
457
470
## Adding features
458
471
459
472
- Keep the frontend dependency-free at runtime (vanilla JS + the vendored
0 commit comments