Repository navigation
New project modes, canvas content on disk, and canvas tab actions #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d63d7c7
Start a new project by cloning an app or building from an idea
Jing-yilin 8a104c7
Save what a person puts on a canvas in its folder, and make canvases …
Jing-yilin e8eab95
Keep canvas saves in order, and keep a shape's link and a typed idea
Jing-yilin e6badd7
Tell other windows about a canvas save, save on leaving, and define b…
Jing-yilin 5d41085
Plain wording in the branch's comments and design note
Jing-yilin 7d482f9
Glow round the canvas the agent is writing to, and offer to continue …
Jing-yilin 2e11b02
Merge remote-tracking branch 'origin/new-project-modes' into agent-wo…
Jing-yilin 4f3a562
Number canvas saves, forget a write once heard, and upload refs whole
Jing-yilin b254750
Write canvas.json whole, leave a broken one alone, resend unanswered …
Jing-yilin e095463
Refuse an agent create over an existing id, no first board, paste AVIF
Jing-yilin b66bd4d
Keep an agent update stamped and locked, open a project past a ref th…
Jing-yilin 4a58550
Merge remote-tracking branch 'origin/new-project-modes' into agent-wo…
Jing-yilin 7170b56
No renaming on the hosted canvas, no cancelling a project being made
Jing-yilin 25781cc
Keep a deleted item deleted with the canvas open in two pages
Jing-yilin f79fb33
Glow on the canvas the agent writes to, rings on boards it adds or ch…
Jing-yilin ac89c74
Ask before binning a folder in a modal of our own, centred on the window
Jing-yilin cb62355
Continue in the interrupted turn's project, refetch boards rewritten …
Jing-yilin 70c54bf
Skip only the canvas another window saved on the way out, and drop a …
Jing-yilin 9197aa9
Merge pull request #172 from ReScienceLab/agent-working-glow
Jing-yilin 31dd9b2
Say plainly what the new comments and the canvas-content doc mean
Jing-yilin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For a project canvas whose slug matches a shipped example, admitting a layout-only folder here is inconsistent with
folderOf, which still considers the project copy present only when it contains an HTML board. During the new define-first flow such a canvas is consequently filtered out as an example and all rename/content operations are rejected as read-only until its first board appears; update ownership detection to recognize the same layout-only canvases as this index.Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed: folderOf now counts a folder with a layout.json as the project's own, matching the index, so a layout-only canvas under an example's name is writable. Covered in sp.test.ts.