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

Editor & Submission: Use a dropdown for country input #55

Open
StevenDufresne opened this issue Nov 23, 2022 · 3 comments
Open

Editor & Submission: Use a dropdown for country input #55

StevenDufresne opened this issue Nov 23, 2022 · 3 comments
Labels
[Component] Blocks/Editor Custom blocks, block variations, or editor customization [Component] Site Submission
Milestone

Comments

@StevenDufresne
Copy link
Collaborator

We currently use the country meta value. It's probably a better approach to use a custom taxonomy to help with data input.

@StevenDufresne StevenDufresne added this to the Future milestone Dec 5, 2022
@ryelle
Copy link
Contributor

ryelle commented Aug 1, 2023

@StevenDufresne Do you still think this is worth adding, even though we probably rarely have this data?

@ryelle ryelle added the [Status] In Discussion The implementation of this idea is still being worked out label Aug 1, 2023
@StevenDufresne
Copy link
Collaborator Author

Probably not, the main issue was that it relie(d/s) on custom fields which isn't a great input interface.

@ryelle ryelle changed the title Consider adding Country as custom taxonomy. Editor & Submission: Use a dropdown for country input Aug 1, 2023
@ryelle
Copy link
Contributor

ryelle commented Aug 1, 2023

Ah, I see, it was about inputting data, not for front-end filtering.

The submission form uses a dropdown, so maybe we should switch the meta field to also use a dropdown. I don't think we need to change the value storage right now, I think there's a helper function that can get a list of countries we've used on WordCamp.org, so we don't need to create that list from scratch.

Updated the title to reflect the issue.

@ryelle ryelle added [Component] Blocks/Editor Custom blocks, block variations, or editor customization [Component] Site Submission and removed [Status] In Discussion The implementation of this idea is still being worked out labels Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Component] Blocks/Editor Custom blocks, block variations, or editor customization [Component] Site Submission
Projects
None yet
Development

No branches or pull requests

3 participants
@ryelle @StevenDufresne and others