Repository navigation
feat(ui): console shell, typed API layer and live overview - #50
Closed
AndyTechnologies wants to merge 9 commits into
Closed
AndyTechnologies wants to merge 9 commits into
AndyTechnologies wants to merge 9 commits into
Conversation
PHASE 1 of the revised UI spec: Gentle-AI token system (replaces #F095C8), AppLayout shell (sidebar/topbar/statusbar), command palette (Ctrl/Cmd+K), 12 route placeholders, typed API origin helpers, and the existing WorkflowEditor mounted at /workflows/[name]. No fake endpoints or data; backend untouched.
ApiError + request helper with injected fetch seam, typed clients for health, models, workflows and runtime status (auth probe) over the real /api surface, 26 tests. No invented endpoints: providers surface is absent in the backend and is intentionally not represented here.
Runtime/models/workflows cards fed by the typed API clients, 10s auto-refresh with stale-response guard, per-card Unavailable+Retry, quick actions as semantic anchors. Fixes U02 defect: defines the previously undefined RuntimeStatusOptions DI seam type (invisible to gates because frontend has no tsconfig — astro build does not typecheck).
…hardening for U14
WorkflowsList island over the real /api/workflows surface, accessible run/logs/delete dialogs, NewWorkflowModal with a template matching the real workflow-yaml parser (array-form nodes, non-empty llm_call model, edges-only flow — the previous map-form template 400ed on the backend), 21 pure-helper tests. Backend format verified against src/orchestrator/workflow-yaml.ts + graph.ts before landing.
feat(ui): workflow library with list, create, run, logs, delete
Owner
Author
|
Cerrando sin merge por contrato de la cadena: este diff (U01–U03) llega a master integrado en el tracker PR #44, que es el único vehículo de entrega a main (feature-branch-chain). Su revisión queda registrada aquí. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Work unit
Slice 1 — Console shell, typed API layer and live overview (U01–U03).
Start state:
master.End state: 16-page console shell with design tokens, navigation, typed API clients over the real backend surface, and a live Overview dashboard.
Chain context (feature-branch-chain) — LOCATION OF THIS PR
Review budget
3.814 changed lines (3.728 additions + 86 deletions) — exceeds 400 → size:exception: cohesive phase-group slice of a 14-phase console; splitting further (shell vs API vs overview) breaks work-unit cohesion. ~60–90 min review.
Start / end / dependencies
Verification
bun run typecheck✓ ·bun run lint✓ ·bun test✓ 462 · frontend api tests ✓ 26 ·bun run build:frontend✓ 12 pages.Out of scope
master.