You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, I think the procedure can be optimized to not bother the user so much. If it's the only one workspace, the Delete button in the Delete Workspace should be disabled at all. And the "You cannot delete the last workspace" annotation should be highlighted somewhere in the description area. CC @Svaney-ssman to offer a design plan.
The reason is AFFiNE needs one workspace so that we can display the correct UI. And When it's 0 workspaces, the code will crash. I think it needs a discussion by @joebeijing whether redirect the page to a create workspace page or prohibit deleting the last one
@himself65
Based on the current implementation, the last workspace cannot be deleted and a Toast message will appear. According to the original design, the expected effect was that the last workspace could be deleted, but the My Workspaces page would then pop up and cannot be closed unless a new workspace is created.
When trying to delete the last workspace it will not be deleted - but the user is not informed of the reason.
If the user cannot delete the last workspace - they should receive a notification or message telling them so.
The text was updated successfully, but these errors were encountered: