{"action":"created","issue":{"url":"https://api.github.com/repos/websharks/wp-kb-articles/issues/38","labels_url":"https://api.github.com/repos/websharks/wp-kb-articles/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/websharks/wp-kb-articles/issues/38/comments","events_url":"https://api.github.com/repos/websharks/wp-kb-articles/issues/38/events","html_url":"https://github.com/websharks/wp-kb-articles/issues/38","id":54649440,"number":38,"title":"Show a \"Clear Filter\" button when filtering by tags","user":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-17T03:46:40Z","updated_at":"2015-01-17T03:51:36Z","closed_at":null,"body":"When the article list is being filtered by one or more tags, it's impossible to know that a filter is being applied without first opening the \"Filter by Tag\" dropdown box.\r\n\r\nFor example, this view is being filtered by a tag, but you have no indication of that:\r\n\r\n![2015-01-16_22-35-30](https://cloud.githubusercontent.com/assets/53005/5787535/7275b55e-9dd0-11e4-8944-c50fa7ef751d.png)\r\n\r\nAdditionally, if I _think_ some kind of filter is being applied, my instinctive reaction is to click on the selected category again (in this case, \"Questions\") in attempt to \"clear\" any filter that might be applied and just see a list of all \"Questions\". \r\n\r\nHowever, clicking \"Questions\" does not do anything.\r\n\r\nThe only way I can clear the filter is to go into \"Filter by Tag\", click on the selected tags to unselect them, and then click the \"Filter by Tags\" button. That just feels _very_ unintuitive. (I have to click \"Filter by Tags\" to _remove_ the filter?)\r\n\r\n![2015-01-16_22-35-43](https://cloud.githubusercontent.com/assets/53005/5787540/d44015e0-9dd0-11e4-8d00-e22826186f98.png)\r\n\r\n# How this can be fixed\r\n\r\nIf we simply added a note with a \"clear\" button whenever the view was being filtered by tags, that would solve this issue nicely:\r\n\r\n![2015-01-16_22-45-22](https://cloud.githubusercontent.com/assets/53005/5787557/6f2f813a-9dd1-11e4-9838-b5fe5340614b.png)\r\n"},"comment":{"url":"https://api.github.com/repos/websharks/wp-kb-articles/issues/comments/70353336","html_url":"https://github.com/websharks/wp-kb-articles/issues/38#issuecomment-70353336","issue_url":"https://api.github.com/repos/websharks/wp-kb-articles/issues/38","id":70353336,"user":{"login":"raamdev","id":53005,"avatar_url":"https://avatars.githubusercontent.com/u/53005?v=3","gravatar_id":"","url":"https://api.github.com/users/raamdev","html_url":"https://github.com/raamdev","followers_url":"https://api.github.com/users/raamdev/followers","following_url":"https://api.github.com/users/raamdev/following{/other_user}","gists_url":"https://api.github.com/users/raamdev/gists{/gist_id}","starred_url":"https://api.github.com/users/raamdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raamdev/subscriptions","organizations_url":"https://api.github.com/users/raamdev/orgs","repos_url":"https://api.github.com/users/raamdev/repos","events_url":"https://api.github.com/users/raamdev/events{/privacy}","received_events_url":"https://api.github.com/users/raamdev/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T03:51:36Z","updated_at":"2015-01-17T03:51:36Z","body":"In fact, you could even replace the Search field with that message whenever the view is being filtered by Tag, i.e., make the search field only visible when no filter is being applied. That would save some space on the UI. It also makes sense, as filtering by tag is a type of \"search\", so replacing the Search box with a message about the view currently being filtered would make sense."}}