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 id: task-055
title: Integrate MycroZine generator tool into canvas title: Integrate MycroZine generator tool into canvas
status: In Progress status: To Do
assignee: [] assignee: []
created_date: '2025-12-15 23:41' created_date: '2025-12-15 23:41'
updated_date: '2025-12-16 00:34'
labels: labels:
- feature - feature
- canvas - canvas
@ -37,8 +36,8 @@ References mycro-zine repo at /home/jeffe/Github/mycro-zine for layout utilities
## Acceptance Criteria ## Acceptance Criteria
<!-- AC:BEGIN --> <!-- AC:BEGIN -->
- [x] #1 MycroZineGeneratorShapeUtil.tsx created - [ ] #1 MycroZineGeneratorShapeUtil.tsx created
- [x] #2 MycroZineGeneratorTool.ts created and registered - [ ] #2 MycroZineGeneratorTool.ts created and registered
- [ ] #3 Ideation phase with embedded chat UI - [ ] #3 Ideation phase with embedded chat UI
- [ ] #4 Drafts phase generates 8 images via Gemini and spawns on canvas - [ ] #4 Drafts phase generates 8 images via Gemini and spawns on canvas
- [ ] #5 Feedback phase collects user input per page - [ ] #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 - [ ] #7 Complete phase with print-ready download and template save
- [ ] #8 Templates stored in localStorage for reprinting - [ ] #8 Templates stored in localStorage for reprinting
<!-- AC:END --> <!-- 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 { handleInitialPageLoad } from "@/utils/handleInitialPageLoad"
import { MycrozineTemplateTool } from "@/tools/MycrozineTemplateTool" import { MycrozineTemplateTool } from "@/tools/MycrozineTemplateTool"
import { MycrozineTemplateShape } from "@/shapes/MycrozineTemplateShapeUtil" import { MycrozineTemplateShape } from "@/shapes/MycrozineTemplateShapeUtil"
import { MycroZineGeneratorTool } from "@/tools/MycroZineGeneratorTool"
import { MycroZineGeneratorShape } from "@/shapes/MycroZineGeneratorShapeUtil"
import { import {
registerPropagators, registerPropagators,
ChangePropagator, ChangePropagator,
@ -146,7 +144,6 @@ const customShapeUtils = [
EmbedShape, EmbedShape,
SlideShape, SlideShape,
MycrozineTemplateShape, MycrozineTemplateShape,
MycroZineGeneratorShape,
MarkdownShape, MarkdownShape,
PromptShape, PromptShape,
ObsNoteShape, ObsNoteShape,
@ -171,7 +168,6 @@ const customTools = [
EmbedTool, EmbedTool,
SlideShapeTool, SlideShapeTool,
MycrozineTemplateTool, MycrozineTemplateTool,
MycroZineGeneratorTool,
MarkdownTool, MarkdownTool,
PromptShapeTool, PromptShapeTool,
GestureTool, 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"
}