You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The LegendKeeper door makes boards. A board document used to be listed as not imported. It now becomes a Map with supertype Board, named <resource>: <document>, with no image, from either road: the export file's content.shapesV2 (tldraw records, split by typeName into shapes, bindings, assets and pages; content.shapes and content.bindings when there is no shapesV2) or the API's GET .../docs/{id}/board, which read_project now asks for. The board's records are kept whole, exactly as read and in the order read, so a push back can restore the canvas: not on the Map (the tutorial board's are 110 KB, past the 64 KB of extensions an element may carry online) but in the folder's records (folder spec §4.5), one file a board at records/legendkeeper/boards/<document id>.json in the folder's own JSON, the Map naming it in x_legendkeeper_board_record, and the producer's entry in records/RECORDS.json (legendkeeper, deltas false), with "private": true when any board is hidden or shows a hidden page (the mark covers the whole records/legendkeeper/, so an export or a share leaves it out unless asked). A plan writes none. Each shape is placed through its parent chain (a frame's or group's offset and rotation: a child's page origin is its parent's plus the parent's page rotation applied to its x, y); the Map spans every placed point and every sized shape's corners, width and height that box's size, and positions count from its bottom left (x = X - min_x, y = max_y - Y, whole numbers), the page-space pair kept as x_legendkeeper_board_pos and the box as x_legendkeeper_board_extent. What each shape makes: a page card a Pin at its centre on its page's element (a card on a hidden page a hidden Pin; a card whose resource is not in the project a Pin with no element, named); a card whose documentId names a board a Pin on that board's Map, which takes parent_map this board's Map (its first, never a loop); one naming a map document a Pin on that Map; a frame a Zone (subtype Frame, shape polygon) and four Markers at its corners; an arrow bound at both ends to page cards or frames, two different elements, a Relation, supertype Board link, named by its label, its two ends linked as a titled link's Relation links them (a frame's Zone on zones), x_legendkeeper_source/_target start and end; a sticky note or text a Narrative, supertype Note, subtype note or text, named by its first line, its text the description, and a Pin placing it (a text at its origin, since it has no height). Everything made from a board carries x_legendkeeper_board_map, the board's Map, and x_legendkeeper_id, the shape's id. Geo shapes, drawings, images, bookmarks, groups, empty texts, arrows from a thing to itself and the other arrows are counted in the report (a geo's text and a bookmark's URL named). A hidden board, or one on a hidden resource, hides its Map and everything on it. Ids are UUIDv5 of legendkeeper:<project>:board:<resource>:<document>, with the shape's id for what it makes. On LegendKeeper's tutorial board (154 shapes): a 4109 x 4780 Map, 51 Pins (12 cards, 39 notes and texts), 39 Narratives, 14 Zones, 56 Markers and 2 Relations (2 arrows link a thing to itself); the API's answer for the same board gives the same elements, by id, as the export file (tests/test_legendkeeper_boards.py, on recorded answers in fixtures/legendkeeper/api-board.json).