Dev mode: Add confirmation dialog for import database button
Resolved 💬 3 comments Opened Dec 6, 2025 by MrJeffrey Closed Feb 5, 2026
Description
In dev mode, the "Import Database" button should require a confirmation dialog with text entry to prevent accidental clicks.
Proposed Solution
Add a confirmation modal that:
- Requires the user to type "confirm import" (case insensitive) in a text field
- Only enables the import button when the text matches
- Has a Cancel button to dismiss
Rationale
Importing the database is a destructive operation that replaces the local database with production data. Accidentally clicking this button could cause data loss during development.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗