Skip to content

CR: Default filter and "Clear All Filters" adjustment for new Examiner Dashboard #1434

@victorc-bcgov

Description

@victorc-bcgov

Desired Behaviour

New Applications Tab

  • Change "Reset to Default Filters" control text to to "Clear All Filters"
  • When "Clear All Filters", all filters from all columns are removed

Registrations & Renewals tab

  • Upon initial page entry, the filter for the "Status" column will be set to "Active" and all filters on the "Sub-stratus" column will be unchecked (i.e. view all).
  • Change "Reset to Default Filters" control text to to "Clear All Filters"
  • When "Clear All Filters", all filters from all columns are removed.

Note that this change request supersedes the work previously completed in #1157.

Acceptance Criteria

  • Scenario: "New Applications" tab - "Clear All Filters" button text change

    • Given the user is on the "New Applications" tab of the Examiner Dashboard
    • When the filter controls are displayed
    • Then the button previously labeled "Reset to Default Filters" should now be labeled "Clear All Filters"
  • Scenario: "New Applications" tab - Clearing all filters

    • Given the user is on the "New Applications" tab of the Examiner Dashboard
    • And one or more filters are currently applied to any column
    • When the user clicks the "Clear All Filters" button
    • Then all applied filters across all columns should be removed
  • Scenario: "Registrations & Renewals" tab - Initial filter state for "Status" column

    • Given the user navigates to the "Registrations & Renewals" tab of the Examiner Dashboard for the first time in a session
    • When the page loads
    • Then the "Status" column filter should be automatically set to "Active"
  • Scenario: "Registrations & Renewals" tab - Initial filter state for "Sub-stratus" column

    • Given the user navigates to the "Registrations & Renewals" tab of the Examiner Dashboard for the first time in a session
    • When the page loads
    • Then all options within the "Sub-stratus" column filter should be unchecked (i.e., effectively viewing all sub-statuses)
  • Scenario: "Registrations & Renewals" tab - "Clear All Filters" button text change

    • Given the user is on the "Registrations & Renewals" tab of the Examiner Dashboard
    • When the filter controls are displayed
    • Then the button previously labeled "Reset to Default Filters" should now be labeled "Clear All Filters"
  • Scenario: "Registrations & Renewals" tab - Clearing all filters

    • Given the user is on the "Registrations & Renewals" tab of the Examiner Dashboard
    • And one or more filters are currently applied to any column (including the default "Status: Active" filter)
    • When the user clicks the "Clear All Filters" button
    • Then all applied filters across all columns should be removed, and the "Status" filter should no longer be "Active" (it should be cleared like others).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions