Repository navigation
feat(engine): support folded_corner preset shape - #678
Merged
Merged
Conversation
Map folded_corner to MSO_SHAPE.FOLDED_CORNER in the builder, read foldedCorner back as folded_corner in the converter, accept the name in lint and list it in the slide-json-elements guide. Rebuilt from #150 on the current layout. Co-authored-by: Masa Kato <mazkato@amazon.co.jp>
This was referenced Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 KiroCrew automated PR -- created by KiroCrew on behalf of the maintainer.
Rebuilt from #150 by @mskt4440 on the current repository layout. #150 was closed during the big restructure, when its files moved from
skill/sdpm/...tosdpm/sdpm/engine/..., not because of a problem with the change. Thank you, @mskt4440, for the original work; you are credited as co-author on the commit.What changed
A shape element can now use
"shape": "folded_corner"(a note with a turned-down corner).engine/builder/elements/shape.py)folded_corner->MSO_SHAPE.FOLDED_CORNER(writes prstGeomfoldedCorner)engine/converter/elements/shapes.py)foldedCorner->folded_cornerengine/schema/lint.py)folded_corneris a known shape namereferences/guides/slide-json-elements.md)folded_corneradded to the shape list[Unreleased]/ Added entryHow tested
test_folded_corner_writes_the_ooxml_preset(built prstGeom isfoldedCorner),folded_cornerin the round-trip parametrize, andtest_folded_corner_is_a_known_namein lint. Both new tests fail without the engine change and pass with it.uv run pytest tests/: 3692 passed, 22 skipped.uv run ruff check sdpm/ servers/ shared/ api/ agent/: clean.Redeploy
Local mode (
sdpm update) and the AWS stack (SdpmRuntime).