1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00
unleash.unleash/frontend/src/component/environments
Nuno Góis 25e8f80f21
chore: drag to reorder release plan template milestones (#9176)
https://linear.app/unleash/issue/2-2821/drag-to-reorder-template-milestones

This PR introduces reordering release plan template milestones by
dragging and dropping them.

Was a bit undecided on the approach, but it seems like using an old
`useDragItem` hook we have is pretty elegant and behaves as expected.

I suggest reviewers try it out themselves.

Includes a slight refactor to `useDragItem`, which so far is only used
here and in environments. I manually tested, but I suggest trying that
one out as well just in case.


![image](https://github.com/user-attachments/assets/3e433f70-53f8-4860-a704-60361f3b0ed7)
2025-01-31 09:12:27 +00:00
..
CreateEnvironment chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
CreateEnvironmentButton
EditEnvironment chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
EnvironmentForm
EnvironmentTable chore: drag to reorder release plan template milestones (#9176) 2025-01-31 09:12:27 +00:00
hooks