Skip to content

Commit 96dd1ad

Browse files
Restore visual WorkflowsView mapping in App.tsx
1 parent 6ac37d3 commit 96dd1ad

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

docs/summary_of_work.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ remains. The current canonical roadmap is
112112
backlog files were removed.
113113

114114
### Latest Session Summary
115+
- **2026-06-18 visual workflow editor restoration (current session):**
116+
- Investigated user report: "workflow tab only allows for add step... when using playground and selecting open in workflow, workflow is not transferred over".
117+
- Identified that a recent commit accidentally remapped the `workflows` tab in `App.tsx` to the new `WorkflowTemplatesViewLazy` (a linear prompt chain editor) instead of the intended `WorkflowsViewLazy` (the ReactFlow visual nodes editor used by the Playground).
118+
- Restored the `workflows` tab mapping to `WorkflowsView` in `App.tsx`, resolving the missing visual editor and restoring the Playground "Open in Workflow" handoff.
119+
- Verified stability via the test matrix.
120+
115121
- **2026-06-18 performance stress test repair (current session):**
116122
- Investigated user report: "app froze when selecting different menues for a speed stress test".
117123
- Identified massive DOM reconciliation overhead in `src/components/layout/sidebar.tsx` during rapid tab switches, caused by rendering all conversation history nodes when the search input was empty.

src/App.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ export function isShortcutTargetEditable(event: KeyboardEvent): boolean {
3535
// them. Each lazy wrapper preserves the existing React.lazy / Suspense
3636
// fallback contract used by Workflows / Playground / RP Studio (P2-008).
3737

38-
const LazyWorkflowTemplatesView = lazy(() => import('./components/workflows/WorkflowTemplatesView').then((m) => ({ default: m.WorkflowTemplatesView })))
39-
function WorkflowTemplatesViewLazy() {
40-
return <Suspense fallback={<div className="flex items-center justify-center h-full text-[12px] text-text-muted/50">Loading workflows…</div>}><LazyWorkflowTemplatesView /></Suspense>
38+
const LazyWorkflowsView = lazy(() => import('./components/workflows/workflows-view').then((m) => ({ default: m.WorkflowsView })))
39+
function WorkflowsViewLazy() {
40+
return <Suspense fallback={<div className="flex items-center justify-center h-full text-[12px] text-text-muted/50">Loading workflows…</div>}><LazyWorkflowsView /></Suspense>
4141
}
4242

4343
const LazyPlaygroundView = lazy(() => import('./components/playground/playground-view').then((m) => ({ default: m.PlaygroundView })))
@@ -136,7 +136,7 @@ const views: Record<TabId, React.ComponentType> = {
136136
music: MusicView,
137137
video: VideoView,
138138
embeddings: EmbeddingsView,
139-
workflows: WorkflowTemplatesViewLazy,
139+
workflows: WorkflowsViewLazy,
140140
privacy: StoragePrivacyDashboard,
141141
playground: PlaygroundView,
142142
status: StatusView,

0 commit comments

Comments
 (0)