monitorizare-vot-ong icon indicating copy to clipboard operation
monitorizare-vot-ong copied to clipboard

Feature/221 counties reorder list

Open Botosio opened this issue 4 years ago • 3 comments

What does it fix?

Polling Station List can now be ordered by drag and drop or by "set to first" in the dropdown. Delete now has a frontend call but backend is not completed yet.

Missing: Icon to set to first: image

Backend calls missing Drag and drop takes the entire List Delete and move-to-first uses 1 county to pass in. All calls return a new list of counties. image image

Closes #221

@aniri hard to test until the backend is complete, URLs for the API can change to be whatever the backend dev wants.

How has it been tested?

Please drag and drop on an unfiltered polling station list. Please click the dropdown and select delete please click the dropdown and select "Set to first"

If you filter the list, drag, and drop will be disabled since the order doesn't have reference to all of the list. Let me know if this is a must-have or not.

Botosio avatar Oct 25 '21 21:10 Botosio

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/code4romania/monitorizare-vot-ong/6ofHvgQAvTWSGGKyJFQMtrsw7jVg
✅ Preview: https://monitorizare-vot-ong-git-fork-botosio-featu-a80738-code4romania.vercel.app

vercel[bot] avatar Oct 25 '21 21:10 vercel[bot]

lgtm

idormenco avatar Oct 26 '21 11:10 idormenco

to be merged after backend issue https://github.com/code4romania/monitorizare-vot/issues/388 is fixed

aniri avatar Oct 03 '22 18:10 aniri