Open Kitenite opened 3 months ago
Can I take this up?
@SkyC0der for sure! I assigned it to you
Can you assign me this issue. I would like to work on it.
Great will do!
@SkyC0der since you are working on https://github.com/onlook-dev/onlook/issues/174 , I'll let @kartik-raj7 start on this. Hope that's ok!
Yeah, It's fine!
I updated the description with a Loom walking through the requirements and implementation suggestion. @kartik-raj7
I updated the description with a Loom walking through the requirements and implementation suggestion. @kartik-raj7
Ya Just saw the video its clear now what needs to be done thanks, will look into it.
Describe the feature
Have handles on the display rectangles to be able to
Right now, the rectangles are implemented as non-touchable svgs on the overlay layer. But it would be better to update these to React components that have logic and handles. Very open to interpretation.
https://github.com/onlook-dev/studio/blob/main/app/src/lib/editor/engine/overlay/rect.ts https://github.com/onlook-dev/studio/blob/main/app/src/lib/editor/engine/overlay/index.ts
Requirement clarification:
https://www.loom.com/share/2083559006b64a14b71b9084f164e237?sid=cdcf7a18-f68e-4391-9c42-ff250ca228e1
Implementation suggestion:
I would suggest splitting this task into 2 PRs:
Reasoning: For legacy reason, the overlay rects are implemented as HTML element. This is because they used to be inserted into the DOM directly. However, this is not extensible because we want these rects to fit some logic on them.