The studio's claim is that a sentence becomes an app. The New app form asks for a Name first, required, with a hostname hint, and only then What should it do? — optional (newAppForm, src/web/pages/apps.ts:226). The one thing that matters is optional and second; the thing a person does not care about is required and first. Turn it round.
Done looks like
Files I expect to change
src/web/pages/apps.ts (the form and the submit), a small slug helper beside it, test/apps.test.ts, docs/APPS.md.
Risks
Pull #22 (#13) is open against this file and changes where the submit redirects; rebase on it or land after it — do not rewrite its redirect.
A derived name is a hostname. It must survive the same checks a typed one does, including reserved names and length; deriving it on the client only is not enough.
Losing what someone typed on an error is the failure mode this form already avoids; keep it.
Who
Scout — one form, the least that fully works, with the tests that prove the boundary still holds.
The studio's claim is that a sentence becomes an app. The New app form asks for a Name first, required, with a hostname hint, and only then What should it do? — optional (
newAppForm,src/web/pages/apps.ts:226). The one thing that matters is optional and second; the thing a person does not care about is required and first. Turn it round.Done looks like
Files I expect to change
src/web/pages/apps.ts(the form and the submit), a small slug helper beside it,test/apps.test.ts,docs/APPS.md.Risks
Who
Scout — one form, the least that fully works, with the tests that prove the boundary still holds.