GSA / code-gov-web

DEPRECATED 🛑- Federal Source Code policy implementation.
Other
407 stars 108 forks source link

Count of Tasks does not reflect currently selected filters #658

Closed bushidocodes closed 5 years ago

bushidocodes commented 6 years ago

Your issue may already be reported! Please search on the issue track before creating one.

Expected Behavior

When on the "Help Wanted" view, I would expect the count "30 Open Tasks" to update depending on the count of items matching the filter state selected in the sidebar.

Current Behavior

The title is static and unfiltered, and I'm all about the filters.

Possible Solution

Recalculate and rerender the title with a template string using the length of the filtered array.

Steps to Reproduce (for bugs)

  1. Go to the "Help Wanted" view
  2. Select some filters
  3. Observe that the count in the title doesn't change.

Context

Not a big deal, but helps me understand the breakdown of open issues looking for external contributors.

Your Environment

DanielJDufour commented 6 years ago

Thanks for the catch @bushidocodes ! I'll make sure to bring this up with the team and keep you updated via this issue. Thanks!

DanielJDufour commented 5 years ago

Fixed on code-gov-front-end