Expand description
Planner pane: tabs “Plan” and “Notes”.
Plan = a nested to-do tree (Project.plan): each row = checkbox (done), editable title, colour label dot
(click → LABEL_COLORS menu), a collapse triangle, “+” add sub-task, delete, reorder among siblings,
indent/outdent; a selected item shows its notes (multiline) and its moodboard: the asset ids in
assets as rows (name, kind tag, thumbnail via ThumbCache if available, per-asset note in asset_notes,
“Add to timeline”, delete); assets are added by dropping library items (DragPayload::Asset) onto the item or
onto the moodboard area. Progress bar “done/total” at the top; “Add task” at the top level;
“Clear completed”. Notes tab = Project.notes as a large multiline TextEdit (“describe your process,
ideas, style while you edit — the style summary / AI tools read this”). Undo once per gesture.
Returns what changed.
Structs§
Enums§
- Op 🔒
Functions§
- color_
menu 🔒 - Colour-dot button opening a LABEL_COLORS menu; returns the picked value.
- count_
items 🔒 - (done, total) across the whole tree.
- details 🔒
- Notes + moodboard of the selected item (edits the plan clone). Returns (gesture start, changed).
- find_
mut 🔒 - indent_
item 🔒 - Make the item a child of its previous sibling.
- move_
item 🔒 - Swap the item with its previous/next sibling. Returns true when the id was found (even at an edge).
- outdent_
item 🔒 - Move the item next to its parent (top-level items stay).
- retain_
incomplete 🔒 - Remove done items (their children go with them).
- show
- tree_
rows 🔒