Upgrade the UI toolchain to Vite 8 and plugin-react 6 - #39
Conversation
Vite 8 cannot install with @vitejs/plugin-react 4 (peer range stops at 7). Bump the plugin to v6 and rebuild the served static bundle. Co-authored-by: zord.lack.net <zord.lack.net@gmail.com>
ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Free Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (8)
💤 Files with no reviewable changes (1)
Included review availability: Your plan includes up to 1 review per rolling hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe PR adds a bundled React Loadpath application with repository and review workflows, graph visualization, a Three.js/WebGL 3D graph runtime, complete application styling, updated hashed assets, and upgraded Vite tooling. ChangesLoadpath application bundle
Estimated code review effort: 4 (Complex) | ~60 minutes Merge Risk: ⚪ Minimal · up to The PR upgrades the UI build toolchain and refreshes the served static bundle; no actionable merge-blocking risk remains beyond normal checks. Sequence Diagram(s)sequenceDiagram
participant User
participant LoadpathApp
participant API
participant LayeredGraph3D
participant WebGLRenderer
User->>LoadpathApp: Open graph workspace
LoadpathApp->>API: Request graph data
API-->>LoadpathApp: Return graph data
LoadpathApp->>LayeredGraph3D: Render graph data
LayeredGraph3D->>WebGLRenderer: Submit 3D scene
WebGLRenderer-->>User: Display graph or WebGL fallback
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Pro by visiting https://app.coderabbit.ai/login. Comment |
Vite 8 cannot install with
@vitejs/plugin-react@4(peer range is vite^4 || ^5 || ^6 || ^7). This upgrades both together and rebuilds the served static bundle.Supersedes #35 (Dependabot’s vite-only bump fails
npm installwith ERESOLVE).Changes
vite^6.0.3→^8.2.1@vitejs/plugin-react^4.3.4→^6.0.5(Oxc compiler, Vite 8 native)src/loadpath/static/so Django/Electron serve the new hashesImpact
vite.config.tsare unchanged (react()with no Babel options)npm run buildsucceededTest plan
cd ui && npm test(91 tests)cd ui && npm run buildtestjob greenSummary by CodeRabbit