issue-199: Implement asset-reference resolution plus penpot_add_rect and penpot_add_text #232
No reviewers
Labels
No labels
bug
chore
documentation
enhancement
feature
ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
david/pi-extensions-and-skills!232
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-199/implement-asset-reference-resolution-plus-penpot-a"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
199: Implement asset-reference resolution plus penpot_add_rect and penpot_add_text
Closes #199 — 199.
Generated in 17m 49s.
Review findings
I'll start by exploring the repository to understand the current state.Let me read the relevant files.Now I'll implement the fixes. Starting with
shapes.ts(align-self tuple, grow types,resolveStyleArgguard):Nowschema.ts— add thelayout_item_align_selffragment:Nowrect.ts— forwardlayout_item_align_self:Nowtext.ts— align-self forwarding, grow type, and the typography/font conflict:NowlibraryRefs.ts— refuse a partial typography asset instead of mixing in defaults:Nowplacement.ts— make the parent hint generic (rect requiresparent_id):Now update the tests. Firstrect.test.ts:Nowtext.test.ts:Now addshapes.test.tsguard tests and a newlibraryRefs.test.ts:Now the CHANGELOG entry:Now the rootREADME.md:Now let me run the penpot test suite:Let me check whether a TypeScript compiler is available to sanity-check types:Let me review the final state of the key changed files:All fixes are in place and the penpot suite is green (331/331). The fullnpm testremains at 457 pass / 1 fail, the single failure being the pre-existingmongodbmanifest assertion that the finding explicitly places out of scope.