You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e6badd7
Browse filesBrowse the repository at this point in the historyBrowse files
Tell other windows about a canvas save, save on leaving, and define before drawing
From review. A canvas save is broadcast to every other page on the
project, which reloads onto the file, since the watcher takes the write for
the saving page's own. A save still waiting when the page goes away is sent
at once with keepalive. Build with define-product asks the agent for an
empty canvas, and no board until PRD.md says what the product is.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: canvas/src/AppShell.tsx
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -213,7 +213,10 @@ export function AppShell() {
213
213
constfirst=[
214
214
name.trim()===""&&
215
215
`name this project: write a short name for it as {"name": "…"} in project.json at the project's root (if you cannot tell yet what it is, make that your first question to me)`,
216
-
`make the canvas the work goes in and name it: a folder under canvases/ with its "name" in layout.json and a first board, so it opens on my screen`,
216
+
// With define-product, no board before the product is worked out, as that skill says.
217
+
start.mode==="build"&&start.define
218
+
? `make the canvas the work goes in and name it: a folder under canvases/ with its "name" in layout.json, so it opens on my screen, and no board in it until PRD.md says what the product is`
219
+
: `make the canvas the work goes in and name it: a folder under canvases/ with its "name" in layout.json and a first board, so it opens on my screen`,
0 commit comments