v1.0.9-beta.025 - feat: revamp setup wizard, add onboarding banner, and granular job schedules
This commit significantly improves the initial setup experience, provides clear post-setup guidance for new admins, resolves critical silent bugs during configuration, and adds more flexibility to background automation.
Setup Wizard Improvements & Fixes:
- Expanded the setup flow from 8 to 11 steps, cleanly integrating Metron.Cloud, File Hosters, and Network (FlareSolverr) configurations directly into the wizard.
- Made the top navigation step icons interactive and clickable, including a strict safety guard to prevent users from skipping the initial Admin creation step.
- Fixed a critical bug in /api/admin/config where the isSetupComplete state evaluation prevented BullMQ background schedules from starting automatically upon finishing setup.
- Fixed a bug where the final setup save bypassed the AuditLogger.
- Added explicit terminal logging for the master Admin account creation in the /api/auth/register route.
- Enhanced error logging in the /api/admin/test route to specify exactly which integration test failed instead of throwing a generic connection error.
- Fixed middleware 403 Forbidden errors that blocked unauthenticated requests during the initial setup wizard.
Admin Onboarding:
- Added a dismissible First Steps onboarding banner to the top of the Discover/Home page. This guides new admins through the required post-setup background jobs (Library Scan, Deep Metadata Sync, Smart-Match, and Discover Sync) to successfully populate their library.
Scheduled Jobs:
- Added granular sub-hour interval options (e.g., 15 Minutes, 30 Minutes, 2 Hours, 4 Hours) to the Scheduled Jobs UI.
- Updated BullMQ queue scheduling logic to use parseFloat and Math.round, safely processing decimal values while maintaining 100% backward compatibility with existing string integers in the database.