Enhancement — Render `NotFound` when a control panel does not exist
Proposed Solution
Update the component to explicitly render <NotFound /> when no matching control panel is found.
This makes the behavior consistent with the rest of Volto when navigating to invalid routes.
Benefits
- Provides clear feedback when a control panel does not exist
- Improves UX and accessibility
- Eliminates confusing blank screen behavior
🔗 Closes
Closes #7214
📋 Checklist
- [x] I signed and returned the Plone Contributor Agreement
- [x] I verified there aren't other open pull requests for the same change
- [x] I followed the guidelines in Contributing to Volto
[!CAUTION] The Volto Team has suspended its review of new pull requests from first-time contributors until the release of Plone 7, which is preliminarily scheduled for the second quarter of 2026. Read details.
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, read Plone's Code of Conduct, Contributing to Plone, First-time contributors, and Contributing to Volto, as this will greatly help the review process.
Welcome to the Plone community! :tada: