Open ChristopherChudzicki opened 1 year ago
Question: How do we expect the backend to be handling updates to list order? Do we expect that the lists in the database are always 0, 1, 2, ... N
, or do we just expect that they are monotonically increasing?
Steps to Reproduce
position
greater than zero. One way to do this is:0, 1, 2, 3, 4
1, 2, 3, 4, 5
.2, 3, 4, 5, 6
./learn
, swap the first and second items.Expected Behavior
UI and backend both update correctly.
Actual Behavior
UI updates. Reload page => old ordering. The backend and UI had different states.
https://user-images.githubusercontent.com/9010790/232099343-ac45b815-9425-4812-abfc-072439e48a17.mov