Description
Steps to reproduce
- Run the client app
- Navigate directly to https://functional.works-hub.com/jobs/?tags=clojure
- Click "Show Filters" and observe that the Clojure tag is selected in the filter box and search results reflect this.
- Click the Clojure tag to deselect it.
- Observe that the tag is cleared and search results reflect this.
- Navigate directly to https://functional.works-hub.com/jobs/?tags=reagent
Expected result
- Click "Show Filters" and observe that the Reagent tag is selected in the filter box and search results reflect this.
- Click the Reagent tag to deselect it.
- Observe that the tag is cleared and search results reflect this.
Actual result
- The tag portion of the filter box is empty and there are no search results
- There is no tag to deselect
- There is no way to reset the state of the page
Information
There are no search results because there are no jobs with the Reagent tag, which is fine. For the same reason, the tag box is empty (it would show other tags that appear alongside Reagent).
Because the tag doesn't appear in the tag box it is not clickable and therefore can't be deselected. Without deselecting the current tag there is no obvious and immediate way to reset the search.
It would be a good idea to show a tag for whatever the tag page parameter is just so it's clickable, even if there are no search results.
[ch1696]