Repository navigation
[Fix] Remove Ziggy and use frontend URL paths - #1266
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. 🧰 Additional context used📚 Code guidelines (1)No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: vitodeploy/vito/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (4)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe pull request removes Ziggy’s client-side route catalogue and replaces named-route URL generation with root-relative paths across the frontend. It also updates Inertia data, table link handling, bootstrap dashboard URLs, guidance, configuration and tests. ChangesFrontend routing migration
Priority: ⬆️ High Estimated code review effort: 4 (Complex) | ~45 minutes Change: Bug fix · Severity of issue fixed: High Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change removes Ziggy and builds frontend URLs from root-relative paths, and moves dashboard links into bootstrap data. No actionable merge-blocking risk was identified. Frontend assets must be rebuilt before deployment. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to Dashboard destinations remain server-configured, and dashboard access controls remain unchanged. No new authorization bypass was established. Deployment still needs coordinated frontend assets and bootstrap cache handling, which were not fully verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Expose typed, host-independent dashboard URLs through bootstrap and use them in the sidebar once loaded. Add coverage for default and custom paths, configured domains, root paths, and stable bootstrap versions across request hosts.
Summary
route()calls with root-relative URL paths, preserving query parameters, optional segments, URL encoding, and dynamic resource IDs.Closes #1265
Validation
tsc --noEmitpassed.git diff --checkpassed.APP_ENV=testing, authentication and related architecture tests passed: 26 tests, 48 assertions.Notes
public/buildoutput was intentionally left unchanged. No builds or formatters were run, per project instructions.Summary by CodeRabbit
Improvements
Documentation