Skip to content

Reimplement routing (easy access to other modes, skip login, etc.) #649

Description

@ezio-melotti

The login form is only necessary for NGS (and possibly beta for testing purposes), and should be removed for other modes. The welcome message could also be skipped. The other modes should be easily accessible without hidden key combinations.

Currently it works like this:

graph TD;
A[Welcome screen] --Proceed--> B[Login screen]
B --Sign In--> C[Main menu]
B --Sign In as Guest--> C
B --Sign Up--> C
C --Mars--> D[Configuration Wizard]
C --Biosphere 2--> D
C --Load simdata--> E
C -.Ctrl+k (kiosk).-> A
C -.Ctrl+a (ACE).-> F[ACE]
D --> E[Dashboard]
C -.Ctrl+s (live).-> E
B -.Ctrl+s (live).-> E
Loading

It should work like:

graph TD;
A[Welcome screen] --Sim mode--> B[Login screen]
B --Sign In--> C[Main menu]
A --Kiosk mode--> A
C --ACE--> F[ACE]
F <--> D
C --Mars--> D[Configuration Wizard]
C --Biosphere 2--> D
D --> E[Dashboard]
A --Load data--> E
A --Live mode--> E

style B stroke-dasharray: 5 5
Loading

The "Welcome screen" should have 4 buttons:

  • Simulation mode: send the user to the main menu or to the login form if we are on ngs.simoc.space.
  • Live mode: send the user to the live dashboard. Can be hidden on ngs.simoc.space.
  • Load data: load the data and show them on the dashboard.
  • Enable Kiosk mode: update page with kiosk mode enabled.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA new enhancement or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions