Skip to main content
Version: 1.3.1

Onboarding Technical Reference

This page describes the onboarding flow sequence presented during the first execution of the application, including persistence state flags and quick skip triggers.

Codebase Mapโ€‹

LayerPathPurpose
Flow Coordinatorqml/TSApp.qmlDetects onboarding status and renders overlay
State Storagemodels/database.jsDatabase initialization setting verification

What actually happensโ€‹

  • State Initialization: The database structure is initialized automatically on app boot using models/dbinit.js.
  • First-Time Configuration: If the user has no accounts set up, they configure their Odoo connection directly through the standard account creation page at qml/features/settings/pages/Account_Page.qml.

Onboarding Execution Flowโ€‹

Settings Schema Flagโ€‹

The onboarding state persists in app_settings:

SELECT value FROM app_settings WHERE key = 'first_launch_done';
  • If value is not 1, the application locks general navigation and redirects the active viewport to the onboarding carousel.
  • Completing the onboarding screens automatically updates this key to 1 so subsequent launches bypass the sequence.
  • Users can manually reset this setting via the System Settings page to re-trigger onboarding.