pharo-graphics / Bloc

Low-level UI infrastructure & framework for Pharo
MIT License
83 stars 40 forks source link

Added some drag and drop example snippets #609

Closed Enzo-Demeulenaere closed 6 days ago

Enzo-Demeulenaere commented 1 month ago

You can find those examples in the class BlDragAndDropExamples under the 'experimentations tag'

There is also the beginning of a new DragHandler prototype only present behind the Bloc-DragNDrop>> core-experiment tag but some of the examples use this prototype such as experimentDragStrategies for instance.

tinchodias commented 6 days ago

I fixed the merge conflict and did some fixes here on the web UI. It looks ready for merge.

Enzo-Demeulenaere commented 6 days ago

Ok thank you Martin, I'll be more careful next time

tinchodias commented 5 days ago

No problem. What's the plan now? some new classes have New suffix, so I guess you are planing to do some refactorings

Martín

El mié, 13 nov 2024 a la(s) 4:04 a.m., Enzo-Demeulenaere ( @.***) escribió:

Ok thank you Martin, I'll be more careful next time

— Reply to this email directly, view it on GitHub https://github.com/pharo-graphics/Bloc/pull/609#issuecomment-2472645978, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXHHKJTWPBA6TJ2PZ7D7Z32AL2Y5AVCNFSM6AAAAABPCZQKUCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZSGY2DKOJXHA . You are receiving this because you modified the open/close state.Message ID: @.***>

Enzo-Demeulenaere commented 1 day ago

Yes we're trying to see how can we have a drag and drop implementation that doesn't use feenk's implementation but so far we talked about how difficult it is to abstract a drag and drop handler in a single class as there are lots of behaviors that are up to the developer so it's in discussion We might keep the BlPullHandler and add other handlers to provide different drag handlers and widen the possible scenarios