1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-12 01:17:04 +02:00
unleash.unleash/frontend/src/component/environments/EnvironmentTable
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
..
EnvironmentActionCell chore(unl-204): remove uses of toast text and confetti (#8941) 2024-12-10 13:38:04 +00:00
EnvironmentIconCell
EnvironmentNameCell
EnvironmentRow chore: drag to reorder release plan template milestones (#9176) 2025-01-31 09:12:27 +00:00
EnvironmentTable.tsx chore: drag to reorder release plan template milestones (#9176) 2025-01-31 09:12:27 +00:00
EnvironmentTableSingle.tsx fix: invalid spreading of keys into table rows everywhere (#8551) 2024-10-28 13:47:22 +01:00