Lemoncode / Lemoncode/quickmock
Generic way to rotate and flip shapes
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 70
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Description
It would be nice to provide an option to rotate a given shape or flip it.
Right now this could be accomplished using the transformer, but we had to disabled it since the rotate functionallity was buggy (not stable in our shapes).
So we need here first some brainstorming, my two cents:
- We could add an option in the context menu.
- We could add them on the properties panel (like the z-index thingie)
Another challenge we have to find a way that makes this generic (no need to be implemented on every shape, maybe let's start only with the basic shapes (the rest are not that important, and have an additional challenge resizing limitations and inline edition).
Maybe we could add a generic control that just adds a wrapper and applies a rotate transform on the shape?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the existing transformer and how basic shapes are handled. Compare the context menu and properties panel as possible entry points, then determine how a generic wrapper could support rotation and flipping without per-shape implementations. Done means the approach is agreed and stable for the selected basic shapes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- design, frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100