mirror of
https://github.com/The-Low-Code-Foundation/OpenNoodl.git
synced 2026-01-11 14:52:55 +01:00
2.5 KiB
2.5 KiB
Issue: Dashboard Routing Error
Discovered: 2026-01-07
Status: 🔴 Open
Priority: Medium
Related Task: TASK-001B Launcher Fixes
Problem Description
When running npm run dev and launching the Electron app, attempting to navigate to the dashboard results in:
Editor: (node:79789) electron: Failed to load URL: file:///dashboard/projects with error: ERR_FILE_NOT_FOUND
Context
This error was discovered while attempting to verify Phase 0 TASK-009 (Webpack Cache Elimination). The cache verification tests required:
- Running
npm run clean:all - Running
npm run dev - Checking console for build timestamp
The app launched but the dashboard route failed to load.
Suspected Cause
Changes made during Phase 3 TASK-001B (Electron Store Migration & Service Integration) likely affected routing:
- Electron storage implementation for project persistence
- Route configuration changes
- File path resolution modifications
Related Files
Files modified in TASK-001B that could affect routing:
packages/noodl-editor/src/editor/src/services/ProjectOrganizationService.tspackages/noodl-core-ui/src/preview/launcher/Launcher/(multiple files)packages/noodl-editor/src/editor/src/pages/ProjectsPage/ProjectsPage.tsxpackages/noodl-editor/src/editor/src/utils/LocalProjectsModel.ts
Impact
- Phase 0 verification tests blocked (worked around by marking tasks complete based on implementation)
- Dashboard may not load properly in development mode
- Production builds may be affected (needs verification)
Steps to Reproduce
- Run
npm run clean:all - Run
npm run dev - Wait for Electron app to launch
- Observe console error:
ERR_FILE_NOT_FOUNDforfile:///dashboard/projects
Expected Behavior
The dashboard should load successfully, showing the projects list.
Next Steps
- Review TASK-001B changes related to routing
- Check if route registration was affected by Electron store changes
- Verify file path resolution for dashboard routes
- Test in production build to determine if it's dev-only or affects all builds
- Check if the route changed from
/dashboard/projectsto something else
Notes
- This issue is unrelated to Phase 0 work (cache fixes, useEventListener hook)
- Phase 0 was marked complete despite this blocking formal verification tests
- Should be investigated in Phase 3 context with knowledge of TASK-001B changes
Resolution
To be filled when issue is resolved