Skip to content

Provide UI feedback when app is filtered to a certain region / site #272

@aclark02-arcus

Description

@aclark02-arcus

The user needs some visual confirmation, perhaps on the left side panel, to remind them that the data in the app has been filtered (from the "Settings" modal).

To do this, we'd need to keep track of when the sites in filtered_data is different than merged_data.

And when an entire region is selected, It'd be preferable to just state:

Regions selected:
- [ ] Netherlands
- [x] Germany
- [x] USA

However, not all sites within a region are selected. The feedback could be more specific, such as

Regions selected:
- [ ] Netherlands
- [x] Germany
- [-] USA (Site 1, Site2, Site3)

That way, we are staying consistent with the [-] meaning that only some sites are available from the USA region.

In general, our users don't ever use this filtering feature... even tho they do split up their work by region... I don't really know why. Maybe because they like seeing "All patients" when they toggle "All patients". But there was a recent use case brought up that may change that for us... i.e. they will start using this filter feature more.

Metadata

Metadata

Assignees

No one assigned

    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