{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":522881928,"defaultBranch":"main","name":"tldraw","ownerLogin":"TodePond","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-08-09T09:21:29.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/15892272?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1662564468.3419142","currentOid":""},"activityList":{"items":[{"before":"5c396b325332533890d417c3313be8a26cb8fdd6","after":"fd29006538ab2e01b7d6c1275ac6d164e676398f","ref":"refs/heads/main","pushedAt":"2023-06-29T09:44:34.766Z","pushType":"push","commitsCount":391,"pusher":{"login":"TodePond","name":"Lu Wilson","path":"/TodePond","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15892272?s=80&v=4"},"commit":{"message":"[feature] add `meta` property to records (#1627)\n\nThis PR adds a `meta` property to shapes and other records.\n\nIt adds it to:\n- asset\n- camera\n- document\n- instance\n- instancePageState\n- instancePresence\n- page\n- pointer\n- rootShape\n\n## Setting meta\n\nThis data can generally be added wherever you would normally update the\ncorresponding record.\n\nAn exception exists for shapes, which can be updated using a partial of\nthe `meta` in the same way that we update shapes with a partial of\n`props`.\n\n```ts\nthis.updateShapes([{\n id: myShape.id,\n type: \"geo\",\n meta: { \n nemesis: \"steve\",\n special: true\n }\n])\n```\n\n## `Editor.getInitialMetaForShape`\n\nThe `Editor.getInitialMetaForShape` method is kind of a hack to set the\ninitial meta property for newly created shapes. You can set it\nexternally. Escape hatch!\n\n### Change Type\n\n- [x] `minor` — New feature\n\n### Test Plan\n\ntodo\n\n- [ ] Unit Tests (todo)\n\n### Release Notes\n\n- todo","shortMessageHtmlLink":"[feature] add meta
property to records (tldraw#1627)"}},{"before":"5c396b325332533890d417c3313be8a26cb8fdd6","after":"fd29006538ab2e01b7d6c1275ac6d164e676398f","ref":"refs/heads/main","pushedAt":"2023-06-29T09:44:34.000Z","pushType":"push","commitsCount":391,"pusher":{"login":"TodePond","name":"Lu Wilson","path":"/TodePond","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/15892272?s=80&v=4"},"commit":{"message":"[feature] add `meta` property to records (#1627)\n\nThis PR adds a `meta` property to shapes and other records.\n\nIt adds it to:\n- asset\n- camera\n- document\n- instance\n- instancePageState\n- instancePresence\n- page\n- pointer\n- rootShape\n\n## Setting meta\n\nThis data can generally be added wherever you would normally update the\ncorresponding record.\n\nAn exception exists for shapes, which can be updated using a partial of\nthe `meta` in the same way that we update shapes with a partial of\n`props`.\n\n```ts\nthis.updateShapes([{\n id: myShape.id,\n type: \"geo\",\n meta: { \n nemesis: \"steve\",\n special: true\n }\n])\n```\n\n## `Editor.getInitialMetaForShape`\n\nThe `Editor.getInitialMetaForShape` method is kind of a hack to set the\ninitial meta property for newly created shapes. You can set it\nexternally. Escape hatch!\n\n### Change Type\n\n- [x] `minor` — New feature\n\n### Test Plan\n\ntodo\n\n- [ ] Unit Tests (todo)\n\n### Release Notes\n\n- todo","shortMessageHtmlLink":"[feature] add meta
property to records (tldraw#1627)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAADS2gS1AA","startCursor":null,"endCursor":null}},"title":"Activity · TodePond/tldraw"}