-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/221 counties reorder list #361
base: develop
Are you sure you want to change the base?
Feature/221 counties reorder list #361
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/code4romania/monitorizare-vot-ong/6ofHvgQAvTWSGGKyJFQMtrsw7jVg |
lgtm |
to be merged after backend issue code4romania/monitorizare-vot#388 is fixed |
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:
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.
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.