Currently frontend allows all edit / create actions on an inactive edition
Most of these actions return a not allowed error from the backend anyway, so for UI/UX purposes it would be better to disable them frontend as well.
How
Possible fix is by adding a field 'active/inactive' to the useEdition hook and then checking if current edition is active to show buttons, allow drag events, etc.
This is probably better than doing a get to /active on every page load to compare with edition in url to know if it is active but idk about users manually changing the edition in the url so it might be needed to just to the get anyway.
What
Currently frontend allows all edit / create actions on an inactive edition Most of these actions return a not allowed error from the backend anyway, so for UI/UX purposes it would be better to disable them frontend as well.
How
Possible fix is by adding a field 'active/inactive' to the useEdition hook and then checking if current edition is active to show buttons, allow drag events, etc. This is probably better than doing a get to /active on every page load to compare with edition in url to know if it is active but idk about users manually changing the edition in the url so it might be needed to just to the get anyway.