Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show warning banner when database isn't configured #56

Merged
merged 1 commit into from
Dec 10, 2024

Conversation

duncanmcclean
Copy link
Member

This pull request prevents an error from occuring when the Importer can't connect to the app's database (for example: when the SQLite database file hasn't been created).

Instead of seeing an error as soon as you go to the edit page, you'll now see a banner asking you to migrate your database, which will let you configure your application's database:

CleanShot 2024-12-10 at 10 11 57

You'll only be able to run the import after migrating the database tables.

Combined with recent updates to the docs, these changes should make the next steps a little more obvious when you're running into database-related errors.

Related: #55

@duncanmcclean duncanmcclean mentioned this pull request Dec 10, 2024
@duncanmcclean duncanmcclean merged commit 959aa11 into main Dec 10, 2024
22 checks passed
@duncanmcclean duncanmcclean deleted the show-warning-banner-when-db-isnt-configured branch December 10, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant