US-EPA-CAMD / easey-ui

Project Management repo for EPA Clean Air Markets Division (CAMD) Business Suite of applications
MIT License
0 stars 0 forks source link

Narrow all emissions filters based on time period #2109

Closed JanellC closed 2 years ago

JanellC commented 2 years ago

Definition of Ready

User Story

As a custom data download user I want the all the emissions filters to narrow based on time period so that I can avoid producing a query with no results

Acceptance Criteria

Given that a user has selected an emissions subtype When the functionality is displayed Then the user is required to apply filter criteria for time period first AND the optional filters are greyed out until time period criteria is applied

Given that a user has selected an emissions subtype on the custom data download When filter criteria is applied for time period Then the system displays a spinner until the filter logic is engaged

Given that the filter logic is engaged When filter panel functionality is displayed Then non applicable selections are removed from the combo box AND grayed out from the check list

Given that a user has selected a time period where data is not available (dev environment) When the time period criteria is applied Then the system will display the following message: "Data is not available for the selected time period. Enter a new time period" And require the user to apply a new time period

Given that the filter logic is engaged When new filter criteria is applied for year Then the system will display the warning message: Changing the year will clear out previously selected criteria. Do you want to proceed? AND if the user choses to proceed then all previously selected criteria are cleared AND the time period is updated

Given that the filter logic is engaged When new filter criteria is applied for year Then the system will display the warning message: Changing the year will clear out previously selected criteria. Do you want to proceed? AND if the user choses to cancel then all previously selected criteria are maintained

Given that the filter logic is engaged When new filter criteria is applied for the month, day, or quarter Then all previously selected criteria are maintained

Given that the filter logic is engaged When the time period filter tag is cleared Then the system will display the warning message: Removing time period will clear out previously selected criteria. Do you want to proceed? AND if the user choses to proceed then all previously selected criteria are cleared and all the optional filters are greyed out until time period criteria is applied

Development Notes

Does this Story require 508 Testing?

Context

(User journeys, design mockups, architectural diagrams, business rules, data element definitions)

Testing

Test Case: TC420 Tester: @JanellC

508 Testing: @aprematta

Definition of Done

JanellC commented 2 years ago

TC420 passed @tlageman-epa . I want to make you aware that in the requirements we did not account for the "select all" functionality on the check lists components. Since this was not in the requirements, I logged enhancement #2228 that the team can discuss at the beginning of refinement tomorrow.