Skip to content

feat(ui-svelte): dashboard views, editor canvas, stores + SSE (Phase 3) - #28

Closed
AndyTechnologies wants to merge 9 commits into
svelte-ui/pr1from
svelte-ui/pr2
Closed

AndyTechnologies wants to merge 9 commits into
svelte-ui/pr1from
svelte-ui/pr2

Conversation

@AndyTechnologies

Copy link
Copy Markdown
Owner

Summary

Changes

  • App shell with hash routing and five views (Agentes, Editor, Ejecuciones, Modelos, Pipelines)
  • Editor canvas: node placement, loop bucketing, drag/reorder, bounded undo/redo, keyboard operability
  • Dashboard store: injectable factories, consolidated throttled refresh, live pipeline/execution/model state
  • SSE service (8 events, reconnect, teardown) + trace service with cap-500 ring
  • All views covered by jsdom+svelte-loader unit tests; shared fakes in test-setup

Testing

  • bun test src/ui-svelte green (port oracle 76 cases + view/store suites)
  • bun run typecheck clean
  • bun run lint clean
  • e2e shell group green (5 data-view links, aria labels)

…refresh

Task 3.1 (MINOR-B): editor + dashboard stores created via injectable
factories (fresh instances per test/view, no module singletons); every
mutation delegates to the pure graph-model port. Dashboard store owns the
five REST refresh domains (pipelines/models/executions/agents/config) with
a throttled, deduped scheduleRefresh so bursts of SSE events collapse into
single fetches. rest-service wraps all /api/ui/* endpoints with a typed
ApiError envelope.
…service

Task 3.2: sse-service subscribes all eight dashboard events incl.
execution:failed, reconnects after drops, and stop() closes the source so
no reconnect is scheduled post-teardown. EventSource injected for
deterministic tests. trace-service keeps a bounded, presentation-only ring
buffer for the debug/verbose panel.
Drag-to-move with move/select/delete/connect/flow/zoom interactions wired
to the history store; pointer-event polyfill and jsdom fallbacks so the
component tests run headless. Undo/redo buttons get explicit handlers
(inline), rename applies without recording a history entry, and flow
walk fixes TS narrowing for loop-body exits.

Part of svelte-ui task 3.4 (editor geometry + interactions) and 3.7
(interaction tests).
@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​types/​jsdom@​30.0.01001007387100

View full report

@AndyTechnologies

Copy link
Copy Markdown
Owner Author

Closed without merge: this svelte-ui chain (pr1→pr2→pr3→tracker) was an earlier UI iteration superseded by PR #30 (WeaveLLM 0.1.0 full rewrite, merged as squash). Its work is already absorbed into master via the rewrite; merging it now would reintroduce the legacy UI over the new Astro 7 surface.

@AndyTechnologies
AndyTechnologies deleted the svelte-ui/pr2 branch September 21, 2026 02:01
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