Use Case: Persistent Multi Selection

Summary

  • Scope: Plants Layer
  • Level: User Goal
  • Actors: App User
  • Brief: A selection of plants can be saved and recalled using a shortcut.

Scenarios

  • Precondition:

    • The user is in the plants layer.
  • Main success scenario:

    • The user selects plants.
    • The user saves the selection to a 'preset' using a keyboard shortcut. (e.g: Ctrl+1)
    • The user 'recalls' the saved selection by using a shortcut (e.g: 1) and the same plants get selected again.
  • Alternative scenarios:

    • The user tries to save a selection without having any selected plants.
      • The application shows a warning that no plants were selected.
      • If the preset 'slot' had a selection of plants saved, the saved preset gets cleared and the application shows a warning toast that the preset was deleted.
      • There should be a way for the user to undo this action.
    • The user saves a plant selection on a preset that already had a different selection saved. (For example, preset '1' has a selection saved, and the user tries to save a new selection on preset '1'.)
      • The saved plants selection will be overridden and the application shows a warning toast to inform the user about this.
      • There should be a way for the user to undo this action.
    • The user tries to 'recall' a saved selection that is empty.
      • The app shows an information toast that the selected preset is empty.
    • The user 'recalls' a preset for which some or all plants don't exist on the map anymore (or at the point in the timeline currently selected)
      • Only present plants from the preset are selected.
      • If there are no preset plants, nothing gets selected and the application shows a warning message.
  • Error scenario:

    • The user uses either the save or the recall functionality but the app is experiencing technical difficulties and is unable to perform the action, displaying an error message.
  • Postcondition:

    • When saving a preset, the selected plants are saved in the 'preset'.
    • When recalling a preset, The 'recalled' plants are selected on the map.
  • Non-functional Constraints:

    • We should provide the user with a way to perform those actions without key combinations.