exlab_wizard.ui.pages.welcome#

Welcome card page (Frontend Spec §3.1.3).

Modal card shown exactly once on the first launch of the app on a workstation. Three bullets describing the app, a 5-minute setup estimate, an autostart toggle defaulted on, and two buttons:

  • [Get started] – applies autostart and opens Settings in setup-incomplete mode (§7.14).

  • Skip for now (text link) – applies autostart and closes the card.

Functions

render_welcome_page(*, on_get_started, on_skip)

Render the welcome card.

welcome_card_spec()

Return the immutable spec used to render the welcome card.

Classes

WelcomeCardSpec(headline, bullets, ...)

Render spec captured for unit-test assertions.

class exlab_wizard.ui.pages.welcome.WelcomeCardSpec(headline, bullets, time_estimate, autostart_default_on, autostart_label, autostart_helper, primary_label, secondary_label)[source]#

Bases: object

Render spec captured for unit-test assertions.

Parameters:
  • headline (str)

  • bullets (tuple[str, ...])

  • time_estimate (str)

  • autostart_default_on (bool)

  • autostart_label (str)

  • autostart_helper (str)

  • primary_label (str)

  • secondary_label (str)

autostart_default_on: bool#
autostart_helper: str#
autostart_label: str#
bullets: tuple[str, ...]#
headline: str#
primary_label: str#
secondary_label: str#
time_estimate: str#
exlab_wizard.ui.pages.welcome.render_welcome_page(*, on_get_started, on_skip)[source]#

Render the welcome card.

on_get_started and on_skip are invoked with the autostart toggle’s final value when the operator clicks the corresponding affordance.

Parameters:
Return type:

Any

exlab_wizard.ui.pages.welcome.welcome_card_spec()[source]#

Return the immutable spec used to render the welcome card.

Return type:

WelcomeCardSpec