Skip to content

Name empty Astro projects like Lumos sites - #55

Merged
flowtricks merged 3 commits into
flowtricks:mainfrom
SylvainDruaux:create-project-options
Oct 24, 2026
Merged

flowtricks merged 3 commits into
flowtricks:mainfrom
SylvainDruaux:create-project-options

Conversation

@SylvainDruaux

Copy link
Copy Markdown
Contributor

The "Empty Astro project…" option asked for an empty folder that you had
to create yourself first. It now works like "Start from Lumos…": choose
where the site should go, then name it in the wizard.

  • Both wizards share one Site name field (default my-site) with a
    preview of the folder that will be created.
  • The main process creates <parent>/<name> and checks the name the
    same way for both flows (newSiteDirectory).
  • If create-astro fails before writing anything, the empty folder is
    removed, so "Try again" works.
  • Fixes the Site name label sitting directly on its input, in both
    wizards.
  • Removes the now unused project:newDialog channel.

Merge note: this PR and the Wrangler / package manager PR both change
the handler count in test/electron/app/mainBoundaries.test.ts. If they
are merged in either order, the second one conflicts there, and the
right value is 134.

Tested: the full gate passes, and both wizards were tested by hand on
macOS (create, invalid name, existing folder).

The "Empty Astro project…" wizard now asks for a site name, shows
the folder it will create and only asks where the site should go.
Both wizards share one name field and the main process checks the
name the same way for both. If create-astro fails before writing
anything, the empty folder is removed so "Try again" works.
The modal's label rule overrode the field's column layout, so the
name sat directly on its input. The gap now matches the template
question's spacing, in both the Lumos and empty Astro wizards.
The empty Astro project wizard now names its own folder, so nothing
calls project:newDialog any more.
@flowtricks
flowtricks merged commit 42df703 into flowtricks:main Oct 24, 2026
4 checks passed
flowtricks added a commit that referenced this pull request Oct 24, 2026
Recognize general Astro map callbacks while preserving their source and exposing markup for editing. Unify content reset labels, remove duplicate startup loading indicators, and refresh welcome actions with logos and connected animated menus.

Include the merged package-manager installation and Astro site-naming improvements from PRs #54 and #55. Align Desktop, Studio, and create-stacki at 0.1.76.

Validated all 378 regression suites, Studio collaboration in a disposable browser workspace, clean package installation, check:local, and check:changed.
@SylvainDruaux
SylvainDruaux deleted the create-project-options branch October 24, 2026 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants