Research fix for production
Basic multi-tenancy working.
See the bug. Be the bug.
Re-wiring plugins
Decided on the 'Appearance' settings for
I won't allow website owners to override the color mode (light, dark, system); only the end-user can control it.
Error page is working again
Small victories.
Converted an SQL batch to a transaction, saving potential subsequent requests
Researching color theme UI's and determining how much control to give to the end user
Providing users with too much control can result in unappealing websites, while too little control may hinder the ability to match brand colors effectively.
Added some form spinners
Major refactor
That escalated quickly.
Medium-scale refactor
Consolidated four plugins into two
refactor: env vars
Abstracted away the functionality for adding routes and handling missing page locales to be re-usable
Refactored the API endpoint, validation schema, and SQL for deleting locales
I discovered multiple-column unique indexes for SQL instead of using IF NOT EXISTS ... INSERT
Refactored the Yup schema for creating locales
Split up the api endpoint for creating and deleting locales
Created the server-side code for adding and removing locales saved in SQLite
Created the server-side logic for updating the default locale in the SQLite database
Fixing global alerts to utilize the Nuxt error handler
Initial attempt at the locale settings UI
The default locale setting could be added as a button to the list. I chose to highlight it more prominently at the top. Please disregard the color theme.