Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UX/UI refactor on the center and stations filters #404

Open
JohnMwashuma opened this issue May 25, 2023 Discussed in #402 · 0 comments
Open

UX/UI refactor on the center and stations filters #404

JohnMwashuma opened this issue May 25, 2023 Discussed in #402 · 0 comments

Comments

@JohnMwashuma
Copy link
Member

User story


This can be observed and tested on the form-results view,
though the proposal should apply for all table filters that have drilldown semantics.

Filters of interest on this view:
- centers filter: select center(s) and auto-selects stations that belong to selected centers.
- stations filter: further refine filter based on stations that belong to selected centers.

Current behavior is that:


When center(s) is/are selected, stations that belong to the center(s) are also automatically selected
.In the stations filter, the sample space of options for stations still remain the same, i.e.
it stiill includes all stations in the system.

A side effect is that a user can add a station filter that does not belong to one of the selected center.

in steps:

  1. click center filter
  2. select 11002 center
  3. notice only 2 stations have been preselected in the stations select
  4. click on the stations filter.
  5. notice the full list of options shown include all stations in the system.
  6. A user is at liberty to select any other stations regardless of whether they belong to selected center(s)

The proposed change:


When a center(s) is/are selected, the possible sample space of station options that can be
selected in the stations filter is limited to just stations that belong to the selected centers.

in steps:

  1. click the center filter
  2. select 11002 center
  3. 2 stations should be auto-selected in the stations filter select
  4. click on the stations filter
  5. The full list of stations options should just be 2 stations. The 2 stations that belong to the 11002 center.

Note: the output in the steps above is dependent on the data currently on stage and might with time
depending to data changes in the staging db.

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

No branches or pull requests

1 participant