Skip to content
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

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

Botosio
Copy link
Contributor

@Botosio Botosio commented Oct 25, 2021

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.

@vercel
Copy link

vercel bot commented Oct 25, 2021

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

@idormenco
Copy link
Member

lgtm

@aniri
Copy link
Member

aniri commented Oct 3, 2022

to be merged after backend issue code4romania/monitorizare-vot#388 is fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Counties] Add reordering options in counties list
3 participants