Skip to content

feat: rail Web toggle at top + atlas edges (v0.12.15 prep) - #3

Merged
benjsmith merged 1 commit into
mainfrom
feat/web-rail-top-and-atlas-edges
Sep 13, 2026
Merged

benjsmith merged 1 commit into
mainfrom
feat/web-rail-top-and-atlas-edges

Conversation

@benjsmith

Copy link
Copy Markdown
Owner

Summary

  • Rail layout fix: WebPolicyToggle mounts in .sy-rail-head (top of chat rail), not in .sy-rail-composer-tools next to the Economy↔Maximum / Distance slider where it clashed with bottom chrome.
  • Web policy: per-workspace Web off/on (default off), /api/web-policy, hello + WS sync, admin web_egress.
  • Atlas edges: vendored Knowledge Atlas IIFE refreshed from CE 7d0cafc / setEdges; edges: auto|on|off pill beside labels: in graph controls (template.ts + atlas.ts).

Do not merge-tag yet

Leave unmerged until Ben verifies rail placement + edges pill in UI. Changelog/version bumped to 0.12.15 for a later microbump/release — do not tag or publish from this PR alone.

Labels / Edges follow-up paths

  • Labels pill: frontend/src/widgets/graph/template.ts (#label-mode), wired in frontend/src/widgets/graph/atlas.ts (wireAtlasControlshandle.setLabels)
  • Edges pill (this PR): same files (#edge-modehandle.setEdges)
  • CE example: curiosity-engine/packages/knowledge-atlas/examples/switchbay/AtlasTab.tsx (edgeMode / cycleEdgeMode)
  • CSS chrome: frontend/src/widgets/graph/ce-graph.css (.graph-controls)

Test plan

  • Rail: Web off/on sits at top of right chat rail (with provider / reset), not over Distance slider
  • Toggle persists per workspace; hello/reload restores
  • Atlas view: edges: pill cycles auto → on → off beside labels:
  • pytest tests/unit/test_web_policy.py tests/unit/test_version_sync.py
  • After UI OK: merge, then tag/publish microbump separately

Restore the workspace Web on/off control to the rail head (it was
landing in the composer tools row next to the orchestration Distance
slider). Add per-workspace web policy API/hello sync, refresh the
vendored Knowledge Atlas IIFE for setEdges, and wire an edges:auto
pill beside labels in the graph viewer.

Version 0.12.15 notes prepared; do not tag/publish until UI-verified.

Signed-off-by: benjsmith <benjamincharlessmith@gmail.com>
@benjsmith
benjsmith merged commit 3866673 into main Sep 13, 2026
3 of 6 checks passed
@benjsmith
benjsmith deleted the feat/web-rail-top-and-atlas-edges branch September 13, 2026 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant