Severity: Minor
Description
When creating a new workspace, if the user submits the modal with an empty string, the code converts it to null via name || null, which silently creates a workspace with a generated default name. This could confuse users who expected their empty input to cancel the operation.
Location
crates/wmux-app/frontend/sidebar.js:18-20 and sidebar.js:24-28
Suggestion
Either treat empty input the same as cancel, or show placeholder text explaining that leaving it blank will use a default name.
Severity: Minor
Description
When creating a new workspace, if the user submits the modal with an empty string, the code converts it to
nullvianame || null, which silently creates a workspace with a generated default name. This could confuse users who expected their empty input to cancel the operation.Location
crates/wmux-app/frontend/sidebar.js:18-20andsidebar.js:24-28Suggestion
Either treat empty input the same as cancel, or show placeholder text explaining that leaving it blank will use a default name.