Skip to content

fix: create projects directly after selecting a workspace - #22

Open
JaysonAlbert wants to merge 1 commit into
BeatAPI:mainfrom
JaysonAlbert:codex/fix-project-creation
Open

JaysonAlbert wants to merge 1 commit into
BeatAPI:mainfrom
JaysonAlbert:codex/fix-project-creation

Conversation

@JaysonAlbert

Copy link
Copy Markdown

Choosing Start in Canvas or Start in Studio in the Projects dialog previously opened another page asking for the same choice. The dialog now creates one project and enters the selected view directly. A shared client hook blocks repeat clicks and retries in the originally selected workspace; direct /canvas and /studio entry still requires an explicit create action and preserves locale/model/prompt parameters.

Fixes #21.

This branch starts at upstream main (d2ef270) and contains only this creation-flow fix, translations, documentation and regression tests. It changes no providers, model catalog, generation behavior, database schema, Canvas node types or media tooling.

Validation

  • Production build, TypeScript and i18n validation passed.
  • Eight focused creation/entry tests passed.
  • Chrome reproduced the original duplicate choice on unmodified upstream, then verified that choosing Canvas on this branch opens its detail page directly. A double-click created exactly one project.
  • Full Node suite on Windows: 405 passed, 10 failed, 2 skipped. The original upstream baseline was 404 passed, the same 10 failed, 2 skipped; the failing test-name sets are identical. These existing path/CRLF/process-launch/platform failures were left outside this fix.
  • Added four Playwright regressions for Canvas/Studio dialog entry, Canvas error retry, and explicit direct entry with query preservation. Test collection passed; the automated browser suite has not been executed locally. No provider key or model generation was used.

Screenshots

Before: choosing Canvas opens a second workspace chooser.

Second workspace chooser after selecting Canvas

After: the same choice creates one project and opens Canvas directly.

Canvas opens directly after one selection

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.

Project creation asks for the workspace twice after choosing Canvas or Studio

1 participant