Anton Tranelis ec2bce1ccb refactor: move info modal to dedicated /info route
- Move Modal from always-rendered to route-based rendering at /info
- Update Modal component to use MapOverlayPage instead of dialog element
- Update ModalContent to use useNavigate for closing (navigates to /)
- Add automatic redirect to /info when map.info_open is true on first load

This change makes the info modal accessible via URL and improves
the architecture by using the existing routing system.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 16:45:23 +01:00
..
2025-10-13 13:10:38 +02:00

App

Troubleshooting

Map doesn't load and the Error You must define the Admin roll in the .env file! shows in the console.

In order to get the map running you need to define the correct uuid of the admin roll in the .env file.

Go to http://localhost:8055 and login with the admin credentials. Navigate to http://localhost:8055/admin/settings/roles and click Administrator and copy the UUID from the URL.

Put this UUID in the .env as VITE_DIRECTUS_ADMIN_ROLE=UUID