Skip to content

Global Team Selection object #586

Description

@vbakke

Now that we have team selection multiple places, it would be good to lift the selected team to a global state in SessionStorage.

  • No teams selected should be the same as all teams selected
  • Selecting a Group must select the corresponding Teams
  • Selecting Teams that match a Group, should highlight/select that given Group (like todays chips in Heatmap. see below*)
  • teams selected on one page should de the default selection when opening another page that has a team select feature

This applies to:

  • the Heatmap page
    • The chips next to the heatmap
    • View Evidence - Only show evidence for teams selected
    • Add Evidence - Use selected Teams as default when opening popup
  • the Report page
    • the Report page itself
    • the bottom of the Report Configurator

* To test re-select Group, try the following:

  1. Group 'Customer' then Team A and Team B gets selected.
  2. Deselect Team A, and the Group looses the 'Customer' state. (Works well today).
  3. Re-select Team A, the Group should now re-enter the 'Customer' state

If we can put this logic in the central component, it should be easy to implement every place that the user can select Team/Group.

Parts of this issue is coupled with issue #588.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions