Skip to content

NethVoice: improve usability and modernization of first configuration wizard #7825

Open
1 of 1 issue completed
Open

Description

@andrea-marchionni

Description

A NethVoice First Configuration Wizard is required to guide administrators through the initial system setup in a simple, clear, and fast way, improving usability, immediacy, and reducing configuration errors.

The wizard should provide a step-by-step onboarding experience covering the essential system settings, including security, branding, and basic operational configuration, without exposing advanced or critical options.

The focus is on the initial onboarding experience, not on daily administration.


Main Goals

  • Provide a guided, sequential First Configuration Wizard
  • Configure Two-Factor Authentication (2FA) for administrative accounts
  • Simplify initial setup of users, extensions, and devices
  • Provide real-time validation and clear feedback
  • Ensure a mobile-friendly and responsive experience

Wizard Steps

1. Welcome & Context

  • Introductory screen explaining the setup process
  • Progress indicator (stepper)
  • System prerequisites check

2. Security

  • Enable (mandatory or recommended) 2FA for administrator
  • Select 2FA method (OTP app, Email, SMS if available)
  • 2FA configuration test

3. Branding

  • Support to:
    • favicon
    • background image of the login page
    • brand images of the login page
    • brand name
    • brand images of the admin page

4. User Structure

  • Create basic users
  • Assign:
    • Extensions
    • Devices
    • WebPhone / Mobile
  • Quick import (CSV / LDAP if available)
  • Group-based configuration

5. Lines and Devices

  • Associate users to extensions
  • Auto-detect and assign phones
  • Registration status verification

6. Essential Features

  • Configure using users group
    • profile
    • devices (Webphone, Mobile phone, Desktop phone)
    • device template
    • voicemail

7. Review & Activation

  • Configuration summary
  • Error / warning checks
  • “Complete setup” action
  • Switch system to operational mode

Wizard UI/UX Improvements

  • Modern, consistent design aligned with the new NethVoice UI
  • Step-by-step navigation with autosave
  • Ability to resume interrupted wizard
  • Real-time field validation
  • Contextual success, error, and hint messages
  • Unified terminology and iconography
  • Full mobile and tablet support

Expected Benefits

  • Significant reduction of first-time configuration errors
  • Faster time-to-value for new customers
  • Immediate security enablement through 2FA
  • Branding applied from the first login
  • Professional and guided onboarding experience
  • Reduced need for technical support during initial setup

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    nethvoice
    on Jan 20, 2026
  2. moved this from Todo to In Progress in NethVoiceon Nov 10, 2026
  3. tonyco97 commented on Nov 13, 2026

    @tonyco97

    Test

    PR: nethesis/ns8-nethvoice#1201 (draft, testing image ghcr.io/nethesis/nethvoice:pr-1201.*)

    Setup:

    • A NEW NethVoice instance installed from the latest PR testing image (the first configuration wizard runs only until it is completed; its state is shared with the previous wizard).
    • A user domain with at least 5 users, one without a display name, one with accented characters.
    • Optionally a supported gateway on the LAN and the credentials of a VoIP provider.
    • The new wizard is at https://<voice host>/nethvoice/. Run every test case in dark and light theme, in Italian and English, and at least once at phone width (390 px).

    Test Case 1 - Access and guard

    • Sign in at /nethvoice/ on a new instance: the welcome page "Welcome to NethVoice setup wizard" opens; the dashboard and the other pages redirect to the current step.
    • "Start setup": "System settings" opens; the progress bar shows "Step 1 of 7" and grows at every step.
    • Open the URL of a later step directly: you are taken back to the step reached; earlier steps can be opened.
    • Reload in the middle of a step, or sign out and sign in again: the saved step opens directly; opening the welcome page and pressing "Start setup" also goes to the saved step.
    • "Need help?" (opens the documentation in a new tab) and "Sign out" are available in every step, also at 390 px.
    • On an instance where the setup is completed, /nethvoice/setup redirects to the dashboard.

    Test Case 2 - System

    • Choose country and PBX language; "Next" saves and moves to Users.
    • With the country field emptied, Tab does not pick a country by itself; "Next" asks to choose one ("Choose a country").
    • If the settings cannot be loaded, an error with "Retry" is shown.

    Test Case 3 - Users and extensions

    • The users of the domain are listed with name and username; while they are synchronized "Synchronizing users with the account provider…" is shown and "Next" is disabled; the counter shows "N out of M users configured with an extension".
    • Assign extensions and "Next": "Configuring users" shows the progress, then the next step opens.
    • Type an extension already assigned to another user: "This extension is already assigned to another user" appears while typing; type a non numeric extension: "Use only digits"; "Next" does not move on and the focus goes to the field.
    • Assign the number of a queue or ring group and "Next": "Cannot configure the users" is shown once, the field shows "This extension is already in use", the values are kept and the step does not move on.
    • For a user already configured, emptying the extension shows "Enter an extension. To remove it, use Remove extension in the user menu."; removing it is possible only from the row menu > "Remove extension", with confirmation; for users without an extension "Remove extension" is disabled.
    • Change the extension of a configured user and "Next": "The devices will be deleted" lists the changes (e.g. "Name: 300 → 310") and explains that only the Web phone is created again, while desktop and mobile apps, physical phones and group memberships must be set again; "Cancel" changes nothing, "Change extensions" applies them.
    • "Create user" and "Edit" drawers: validation, unsaved changes confirmation, focus back to the button when closed; the extension of a created user is applied only with "Next".
    • "Import users from CSV": preview with users and new groups above the table, rows with errors listed, "Skip existing users" as default; after the import "Users imported" shows "Created: N · Updated: N · Skipped: N" and the users appear with their extensions.
    • "Export users to CSV": the file opens correctly in a spreadsheet.
    • Synchronization with the user domain fails: "Cannot synchronize the users" is shown with "Retry".

    Test Case 4 - Physical trunks

    • "Create physical trunk" opens a drawer (manufacturer, model, network, ports): the trunks and FXS extensions are created and listed.
    • Skip the step when there are no gateways.

    Test Case 5 - VoIP trunks

    • Add a trunk for a provider: fields depend on the provider; the trunk is listed with its provider.
    • Edit and delete the trunk from the step (the delete confirmation lists the outbound routes that use it).

    Test Case 6 - Inbound routes

    • The routes are listed with DID and destination; Create route opens the Visual Plan; delete a route.

    Test Case 7 - Outbound routes

    • With no routes, "No outbound routes configured" is shown and nothing is created by itself.
    • "Create default routes": the dialog shows "PBX country" set to the country chosen in step 1; "Create routes" creates National, Cellphone, International and Toll with the configured trunks (no AI agents trunk, no disabled trunks).
    • With no routes, "Next" still moves to the summary, which then warns "No outbound routes are configured: external numbers cannot be called.".
    • Change the trunk priority of a route with drag and drop and with the arrows, "Save", then "Next".
    • On an instance that already has outbound routes, they are kept and the summary shows the "PBX country" of those routes.

    Test Case 8 - Summary and finish

    • The summary shows users, trunks and routes as configured; disabled trunks are marked; a warning appears when no usable trunk exists.
    • Finish setup asks for confirmation explaining that Asterisk and NethVoice CTI restart.
    • After confirming, the dashboard opens; the previous wizard at / also considers the setup completed.
    • Calls between the configured users and through the configured trunks work.

    Test Case 9 - Coexistence with the previous wizard

    • Run the setup halfway in the new wizard and continue it in the previous one (and vice versa): the step and the data are kept.
    • Keep a step of the new wizard open, complete the setup in another session (previous wizard or another browser), then change something and press "Next": nothing is saved, the dashboard opens with "Setup already completed" and "The setup was completed in another session.".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

nethvoice

Projects

  • Status
    In Progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions