User Interface medium complexity mobile
0
Dependencies
0
Dependents
0
Entities
0
Integrations

Description

The third wizard step screen that captures how long the activity lasted. It offers preset duration options (such as 30 minutes, 1 hour) alongside a manual entry field for custom durations. The screen ensures duration values fall within configurable minimum and maximum bounds before the user can continue.

Feature: Activity Registration Wizard

wizard-step-duration-screen

Sources & reasoning

Line 296 defines the wizard's multi-step flow in the Mobile App Architecture section. Line 316 places activity registration in Fase 1 MVP. Blueprint assigns [MVP] confirming launch-critical status. The wizard complements quick logging for activities requiring full context and is a dependency for downstream features including document attachments and formalized home-visit reports.

  • docs/source/likeperson.md · line 296
    Activity wizard (multi-step: contact → date → time → duration → summary)
  • docs/source/likeperson.md · line 316
    Aktivitetsregistrering med lavest mulig antall klikk og standardverdier

Responsibilities

  • Display preset duration quick-select buttons for common durations
  • Provide a manual numeric input for custom duration entry
  • Validate duration is within allowed minimum and maximum limits
  • Pass the confirmed duration value to the parent wizard state

Interfaces

selectPresetDuration(minutes: number): void
setCustomDuration(minutes: number): void
validate(): ValidationResult
onStepComplete(durationMinutes: number): void