On line 60 the path is set to /contents and the filter is gone. As a result, all items are displayed.
By commenting line 60 the navigation+filter works fine, but I don't know why that logic is there and if it can be removed
**Describe the bug**
When you click on a taxonomy count and get redirected to the overview there is no tag filter - all items are displayed

**To Reproduce**
Steps to reproduce the behavior:
1. Go to the Taxonomies tab
2. Click on a number
**Expected behavior**
I was expecting the articles to be filtered by the taxonomy I just clicked on the previous screen.
**Additional context**
I had a look at the code and I noticed when clicking on that number, this should happen:
https://github.com/estruyf/vscode-front-matter/blob/f4816afa6599581751449b51d4fc2ac3be1a58dd/src/dashboardWebView/components/TaxonomyView/TaxonomyLookup.tsx#L53-L55
The atom is set and so is the filter.
https://github.com/estruyf/vscode-front-matter/blob/f4816afa6599581751449b51d4fc2ac3be1a58dd/src/dashboardWebView/components/Header/Header.tsx#L132-L133
However, before the user can see the result, this happens:
https://github.com/estruyf/vscode-front-matter/blob/f4816afa6599581751449b51d4fc2ac3be1a58dd/src/dashboardWebView/components/App.tsx#L58-L65
On line 60 the path is set to `/contents` and the filter is gone. As a result, all items are displayed.
By commenting line 60 the navigation+filter works fine, but I don't know why that logic is there and if it can be removed
<!-- github-sync-id:2002956976 -->
The last code block is required when you are using the Open media dashboard, Open snippets dashboard, ... commands. It will tell the webview the correct view to open.
The last code block is required when you are using the `Open media dashboard`, `Open snippets dashboard`, ... commands. It will tell the webview the correct view to open.
<!-- github-comment-id:1822387115 -->
The issue seems to be due to the setView(<view type>); I added in each view a couple of months ago. I will remove this, as there is no clear need for it.
The issue seems to be due to the `setView(<view type>);` I added in each view a couple of months ago. I will remove this, as there is no clear need for it.
<!-- github-comment-id:1822401169 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Describe the bug
When you click on a taxonomy count and get redirected to the overview there is no tag filter - all items are displayed
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I was expecting the articles to be filtered by the taxonomy I just clicked on the previous screen.
Additional context
I had a look at the code and I noticed when clicking on that number, this should happen:
https://github.com/estruyf/vscode-front-matter/blob/f4816afa6599581751449b51d4fc2ac3be1a58dd/src/dashboardWebView/components/TaxonomyView/TaxonomyLookup.tsx#L53-L55
The atom is set and so is the filter.
https://github.com/estruyf/vscode-front-matter/blob/f4816afa6599581751449b51d4fc2ac3be1a58dd/src/dashboardWebView/components/Header/Header.tsx#L132-L133
However, before the user can see the result, this happens:
https://github.com/estruyf/vscode-front-matter/blob/f4816afa6599581751449b51d4fc2ac3be1a58dd/src/dashboardWebView/components/App.tsx#L58-L65
On line 60 the path is set to
/contentsand the filter is gone. As a result, all items are displayed.By commenting line 60 the navigation+filter works fine, but I don't know why that logic is there and if it can be removed
The last code block is required when you are using the
Open media dashboard,Open snippets dashboard, ... commands. It will tell the webview the correct view to open.The issue seems to be due to the
setView(<view type>);I added in each view a couple of months ago. I will remove this, as there is no clear need for it.Great, thanks!