fix(ui): allow submitting the New project dialog without a name #6073
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 250 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.331
Real PR Conversation Timeline
1 comments
"Review active on #6073"
general
weight: 0.35
Astro-Han
Summary
The New project dialog required a name before its submit button became usable, so a user who only wanted a folder-named project had to invent a title before the folder picker would open. The catalog already falls back to the folder's basename when no name is given, so the dialog now treats the field as an optional override: submit is always available, an empty field submits as "no name", and the en/zh-CN/zh-TW copy says so instead of implying the name comes first.
NewProjectDialog:onSubmit(name?: string); empty/whitespace input submitsundefined; submit button no longer disabled while empty.WorkspacePickerGroup.onAdd?(name?: string)and its callers (task-entry controller, session-workspace recovery, Settings projects page) propagate the optional name; Settings passesundefinedtowindow.maka.projects.addwhen blank so the service-side basename fallback applies.addwithundefined.Fixes #6047
Verification
npm --workspace @maka/ui run build && npm --workspace @maka/ui run test:dist— 735/735 pass (includes the updatednew-project-dialogsuite)npm --workspace @maka/desktop run build:test— successnode --testonproject-add-restore,task-entry-controller,task-entry-provider-scope— 80/80 passbiome linton all changed files — cleannpm testworkspace-parallel suite (the affected suites above are the ones covering this change)AI use
Select exactly one:
Checklist
Does this PR entail a change in behavior?
Generated-by: OpenCode (opencode/mimo-v2.6-pro)