Add a compact typed node palette #57

Merged
lost-rob0t merged 1 commit from feat/compact-node-palette into main 2026-07-26 01:32:54 +00:00
lost-rob0t commented 2026-07-26 01:31:35 +00:00 (Migrated from github.com)

Summary

Turns the graph right-click menu into a typed node-creation palette.

  • defaults to a small icon-only palette for Person, Organization, Event, Location, and Entity
  • selecting an icon opens the node editor with that dtype already selected
  • expands into a labeled two-column type picker with Document, Source, and Concept
  • keeps less-common dtypes available through Other document type…
  • keeps graph, corpus, and import actions in the expanded version of the same menu
  • lets the expanded menu collapse back to the compact palette
  • clamps both menu sizes inside the graph stage

Validation

  • npm test — 18 unit files / 74 tests and 1 integration test passed
  • npm run check — formatting, ESLint, TypeScript, and static syntax checks passed
  • npm run build — passed
  • Playwright now checks the compact palette, Person/Organization actions, selected Entity dtype, and first-node creation
  • local Playwright launch is blocked only by the absent Chromium binary; GitHub Actions installs it

Follow-up to #55.

## Summary Turns the graph right-click menu into a typed node-creation palette. - defaults to a small icon-only palette for Person, Organization, Event, Location, and Entity - selecting an icon opens the node editor with that dtype already selected - expands into a labeled two-column type picker with Document, Source, and Concept - keeps less-common dtypes available through **Other document type…** - keeps graph, corpus, and import actions in the expanded version of the same menu - lets the expanded menu collapse back to the compact palette - clamps both menu sizes inside the graph stage ## Validation - `npm test` — 18 unit files / 74 tests and 1 integration test passed - `npm run check` — formatting, ESLint, TypeScript, and static syntax checks passed - `npm run build` — passed - Playwright now checks the compact palette, Person/Organization actions, selected Entity dtype, and first-node creation - local Playwright launch is blocked only by the absent Chromium binary; GitHub Actions installs it Follow-up to #55.
Sign in to join this conversation.
No description provided.