History panel + undo in the editor (#49) (#63)
Build image / build-and-push (push) Successful in 9s

Co-authored-by: Steve Dudenhoeffer <[email protected]>
This commit was merged in pull request #63.
This commit is contained in:
2026-07-21 05:23:25 +00:00
committed by steve
parent 3ec77a1099
commit 2a8fe24766
9 changed files with 725 additions and 41 deletions
+5 -1
View File
@@ -69,7 +69,11 @@ export function toEditorObject(o: ServerObject): EditorObject {
}
}
const fullKey = (gardenId: number) => ['garden-full', gardenId] as const
// Exported so anything that changes a garden's contents from outside this file
// — undo, in particular — can invalidate the editor payload and make the canvas
// redraw.
export const gardenFullKey = (gardenId: number) => ['garden-full', gardenId] as const
const fullKey = gardenFullKey
export function gardenFullQueryOptions(gardenId: number) {
return queryOptions({