[bug]: Display filter Show sub-issues doesn't filter newly created sub-issues
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
When the display filter Show sub-issues is not selected, I expect sub-issues to not appear in the board, but if you create a new sub-issue while this filter is off, the sub-issue appears in the board anyway.
Steps to reproduce
https://github.com/makeplane/plane/assets/4695692/cdd75322-66b9-40d2-bfd2-b43c57d21dfc
deselect Show sub-issues display filter create parent issue open it and create sub-issue see sub-issue appear on backlog, despite filter off if you turn on and off the filter it goes away. it should go away from the start
Environment
Production
Browser
Safari
Variant
Self-hosted
Version
v0.21.0
Thanks for flagging this, @Plorenzo. This looks like a bug related to a mutation issue. We will fix this in our next release.
Hi @Plorenzo, this is the intended behaviour when creating a new issue, as it can confuse the user about whether the sub-issue is created or not. We will work on handling this scenario more gracefully in our upcoming releases.
I can confirm, this is still happening - which I know you guys said it is intended behavior. However, when creating a sub-issue in the parent issue, and I can see that the sub-issues are created. But when I close that parent issue and see the list of all issues, the sub-issues still exist until I toggle the show sub-issues checkbox.
Hi @graywolf336 Yes, the sub-issue remains visible on the board until the page is refreshed or the "Show sub-issues" checkbox is toggled. This behaviour is intentional added, as some users were confused when newly created sub-issues did not appear immediately on the board. We are working towards a more refined solution to enhance the user experience.
Thank you for sharing your concerns and helping us improve Plane. If you have any further questions, please feel free to reopen this issue.