CUAHSI / HydroClient

Generally available source code for the CUAHSI HydroClient Web Application
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Search/Filtering Changes: Filter Results... #74

Open hydrocheck opened 5 years ago

hydrocheck commented 5 years ago

Steps to reproduce Expected Behavior Positive Test Case Please include a publicly available URL to view the work. Also, please provide step by step instructions on how to properly test this.

  1. Go to link
  2. Click on xxx and yyy
  3. Note that [specific thing] happens, whereas in the past [other specific thing] happens. Actual Behavior
hydrocheck commented 5 years ago

Currently the HydroClient initiates a new search whenever the user changes any of the available search criteria. In scenarios requiring the entry of multiple search criteria, this behavior may prove inefficient.

For the 'Filter Results' Dialog:

Disable automatic searching/two-second 'rolling' input check

Add the following buttons/functions:

    Reset Filter(s)

        Remove all user selections (trees, 'Find in Table', and/or table drop-downs)

        Restore all tree/table contents of most recently completed search

        On map, display results of most recently completed search, remove filter 'badge'

        Disable button when no user selections (trees, 'Find in Table', and/or table drop-downs) exist 

    ApplyFilter(s) Now

        Filter the current search results per user selections (trees, 'Find in Table', and/or table drop-downs)

        On map, display filtered results and filter 'badge' 

        If no results match filter criteria:

            Display 'no match' message on dialog

            On map, remove all markers.  Display filter 'badge' with 'no match' message 

        Disable button when no user selections (trees, 'Find in Table', and/or table drop-downs) exist