Open aniri opened 4 years ago
Assign to me and I can take a look
Can you add hacktoberfest to the label also?
@aniri do you want every time someone drags and drops to send an update to the backend? Do we need a save button?
I'm guessing every time they drag and drop we will save it.
@aniri what happens if you filter the list and they change the order?
Right now I disabled the drag and drop if the filter is on.
If you filter, the index doesn't match the original order. However, the move to first when the filter is on should be able to work.
@aniri do you have this icon?
hey @Botosio
I'm guessing every time they drag and drop we will save it. Yep, sounds good!
Also good idea with disabling the drag and drop when the filter is on!
Here's the icon :D
Thank you!
Should there be a post without the ID for new Counties?
yes, it should be a post without id for adding a county and a put with id for editing one.
I'll add a backend issue to adjust these ;) thanks!
@aniri sounds good. I made the global change in this next pr to change the word "Country" to "County".... I might have been the culprit in that.
@aniri we need a delete also, for county
@Botosio thanks for the suggestion! I added a backend issue for all the mentioned changes :D
Depends on https://github.com/code4romania/monitorizare-vot-ong/issues/215
Add the option for setting a county as first in the list.
Add the possibility of reordering the counties by drag and dropping the items from the counties table.
Please suggest backend endpoints if needed.
UI available here: https://www.figma.com/file/61NHR7fwmV1Dsv4Pb6F8T7/code4ro_mv_user-management_2018.04.21-(Copy)?node-id=754%3A0