plane
plane copied to clipboard
[bug]: able to remove all the states from a group
Is there an existing issue for this?
- [X] I have searched the existing issues
Current behavior
According to the current workflow, I see that a project cannot have an empty state group. If I try to delete the last state of any group, it doesn't allow me to do so.
However, there's a loophole I found, the user cannot delete the only state of a group, but they can change the group of that state by using the dropdown menu, like this-
Steps to reproduce
- Go to project settings.
- Go to the
States
menu. - Try changing the group of any state that is the only one in its group.
Browser
Google Chrome
Version
Cloud
Hey @aaryan610, I indeed was able to reproduce this!
Just so I could confirm it once, could you please clarify what would be the intended ideal workflow?
A possible flow could be on the lines of not allowing the flow to change the "only" state of the group by essentially disabling the dropdown (i.e. by showing the current group's name and showing a message on hover indicating the same) if only a single state is present in the group?
Hi @Palanikannan1437, that'd be the desired workflow.