Compare commits

..

No commits in common. "04d6859b8ab4abae63ce7b47d659983ebfdb9e92" and "2a3406e8c4b75d9c72ca3e1842a4c5f250419be7" have entirely different histories.

4 changed files with 3 additions and 1181 deletions

View File

@ -1,10 +1,9 @@
---
id: task-055
title: Integrate MycroZine generator tool into canvas
status: In Progress
status: To Do
assignee: []
created_date: '2025-12-15 23:41'
updated_date: '2025-12-16 00:34'
labels:
- feature
- canvas
@ -37,8 +36,8 @@ References mycro-zine repo at /home/jeffe/Github/mycro-zine for layout utilities
## Acceptance Criteria
<!-- AC:BEGIN -->
- [x] #1 MycroZineGeneratorShapeUtil.tsx created
- [x] #2 MycroZineGeneratorTool.ts created and registered
- [ ] #1 MycroZineGeneratorShapeUtil.tsx created
- [ ] #2 MycroZineGeneratorTool.ts created and registered
- [ ] #3 Ideation phase with embedded chat UI
- [ ] #4 Drafts phase generates 8 images via Gemini and spawns on canvas
- [ ] #5 Feedback phase collects user input per page
@ -46,17 +45,3 @@ References mycro-zine repo at /home/jeffe/Github/mycro-zine for layout utilities
- [ ] #7 Complete phase with print-ready download and template save
- [ ] #8 Templates stored in localStorage for reprinting
<!-- AC:END -->
## Implementation Notes
<!-- SECTION:NOTES:BEGIN -->
Starting implementation of full 5-phase MycroZineGenerator shape
Created MycroZineGeneratorShapeUtil.tsx with full 5-phase workflow (ideation, drafts, feedback, finalizing, complete)
Created MycroZineGeneratorTool.ts
Registered in Board.tsx
Build successful - no TypeScript errors
<!-- SECTION:NOTES:END -->

View File

@ -19,8 +19,6 @@ import { unfurlBookmarkUrl } from "../utils/unfurlBookmarkUrl"
import { handleInitialPageLoad } from "@/utils/handleInitialPageLoad"
import { MycrozineTemplateTool } from "@/tools/MycrozineTemplateTool"
import { MycrozineTemplateShape } from "@/shapes/MycrozineTemplateShapeUtil"
import { MycroZineGeneratorTool } from "@/tools/MycroZineGeneratorTool"
import { MycroZineGeneratorShape } from "@/shapes/MycroZineGeneratorShapeUtil"
import {
registerPropagators,
ChangePropagator,
@ -146,7 +144,6 @@ const customShapeUtils = [
EmbedShape,
SlideShape,
MycrozineTemplateShape,
MycroZineGeneratorShape,
MarkdownShape,
PromptShape,
ObsNoteShape,
@ -171,7 +168,6 @@ const customTools = [
EmbedTool,
SlideShapeTool,
MycrozineTemplateTool,
MycroZineGeneratorTool,
MarkdownTool,
PromptShapeTool,
GestureTool,

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +0,0 @@
import { BaseBoxShapeTool } from "tldraw"
export class MycroZineGeneratorTool extends BaseBoxShapeTool {
static override id = "MycroZineGenerator"
static override initial = "idle"
override shapeType = "MycroZineGenerator"
}