fix: React Flow dark theme and procedural editor routing #83

Merged
chihlasm merged 1 commits from fix/flow-editor-bugs into main 2026-02-19 06:56:48 +00:00
chihlasm commented 2026-02-19 06:50:29 +00:00 (Migrated from github.com)

Summary

  • Add dark CSS class to <ReactFlow> component — fixes invisible zoom controls and white minimap bar (v12 requires this class for dark theme variables)
  • Fix library views (table, grid, list) to use getTreeEditorPath() instead of hardcoding /trees/:id/edit, which sent procedural/maintenance flows to the wrong editor

Test plan

  • Open a troubleshooting tree editor — zoom controls (bottom-left) should be visible with proper dark styling
  • Minimap (bottom-right) should render with dark background and colored nodes, not a white bar
  • Click "Edit" on a procedural flow from the library — should open at /flows/:id/edit (ProceduralEditorPage), not /trees/:id/edit
  • Same for maintenance flows

🤖 Generated with Claude Code

## Summary - Add `dark` CSS class to `<ReactFlow>` component — fixes invisible zoom controls and white minimap bar (v12 requires this class for dark theme variables) - Fix library views (table, grid, list) to use `getTreeEditorPath()` instead of hardcoding `/trees/:id/edit`, which sent procedural/maintenance flows to the wrong editor ## Test plan - [ ] Open a troubleshooting tree editor — zoom controls (bottom-left) should be visible with proper dark styling - [ ] Minimap (bottom-right) should render with dark background and colored nodes, not a white bar - [ ] Click "Edit" on a procedural flow from the library — should open at `/flows/:id/edit` (ProceduralEditorPage), not `/trees/:id/edit` - [ ] Same for maintenance flows 🤖 Generated with [Claude Code](https://claude.com/claude-code)
railway-app[bot] commented 2026-02-19 06:50:45 +00:00 (Migrated from github.com)

🚅 Deployed to the patherly-pr-83 environment in selfless-grace

Service Status Web Updated (UTC)
hopeful-liberation Success (View Logs) Web Feb 19, 2026 at 6:52 am
patherly Success (View Logs) Web Feb 19, 2026 at 6:51 am
<!-- railway-bot-comment-version=2 --> <!-- railway-project-id="22b9b58c-271b-42e5-a10e-6fdec8d00134" railway-project-name="selfless-grace" --> 🚅 Deployed to the [patherly-pr-83](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134?environmentId=d0b9003e-4260-4e07-b7cd-7a9d090c2e9c) environment in **[selfless-grace](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134)** | **Service** | **Status** | **Web** | **Updated** (UTC) | | :--- | :--- | :--- | :--- | | hopeful-liberation | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/e1db2ee3-d241-4f45-abe4-c9c5fdf483d5?id=3cf88094-5dab-4ce3-b37b-2f1e9200eec2&environmentId=d0b9003e-4260-4e07-b7cd-7a9d090c2e9c)) | [Web](https://hopeful-liberation-patherly-pr-83.up.railway.app) | Feb 19, 2026 at 6:52 am | | patherly | ✅ Success ([View Logs](https://railway.com/project/22b9b58c-271b-42e5-a10e-6fdec8d00134/service/95f556ff-5264-4116-a0c2-618a2fc53ba4?id=ce777dd5-4284-410d-8d03-435527a50093&environmentId=d0b9003e-4260-4e07-b7cd-7a9d090c2e9c)) | [Web](https://patherly-patherly-pr-83.up.railway.app) | Feb 19, 2026 at 6:51 am |
Sign in to join this conversation.