Page MenuHomePhabricator

[Improvement] Reorder frame better collision algorithm
Open, LowPublic

Description

Prior ticket: T296783: Re-order story pages

It uses the mouse hover to detect the next frame and reorder the frame position; once it moves out of the thumbnail container, the reordering step is finished.

Changing the logic to allow the user to continue to reorder while the mouse/touch presses the thumbnail and moves around the entire screen, thumbnail continues moving x-axis.

Current Result (Gif file)
chrome-capture (15).gif (445×387 px, 3 MB)

Dev: During the setup phase, calculate all the thumbnail position, getBoundingClientRect; once the mouse moves touch move event is called, check all the thumbnail positions if it has a collision with each other.

Event Timeline

hueitan moved this task from Dev to Ready for Dev on the Inuka-Team (Kanban) board.
SBisson lowered the priority of this task from Medium to Low.Sep 6 2023, 1:54 PM
SBisson edited projects, added Inuka-Team; removed Inuka-Team (Kanban).