Comments (15)
Gave this a go based on ISO countries. I based the helper text on the Location field; not sure if that was correct. Looks like this:
Edit view with dropdown selected.
from covid-volunteers.
@LisaMai that's exactly what we're looking for! The one additional change would be to make the country clickable and it'd take you to the list of projects filtered by country.
from covid-volunteers.
This is great but we need to think about it a bit more. We have a field called location that asks where volunteers should be from.
We should re-use the location for that, and perhaps build a migration script for the data, from free form to ISO select.
Perhaps also change the text to have it more encompassing: "Does this project target a certain area and wants volunteers only from there?" or something similar.
Another option is to slip it into two: volunteer location, target market. Perhaps that would be better. We still need that migration script, perhaps there are some easy to use NLP libraries out there.
from covid-volunteers.
I like the idea of the target market. 👍 I assume that people would want to help out in their local area.
I don't see the need for a migration script though. Imagine you're manufacturing something in Germany (you have the infrastructure there), but your target market is Sweden (where your product is required). We don't know whether the volunteer location is the same as the target market.
The same is true for digital products. You might build a digital product which helps out Austria, but people from all over the world may participate (location == remote
).
My suggestion would be to keep the free text field for the location of the volunteers (either a location or remote
). Additionally, provide the suggested select list (countries) for the target market.
You could then filter for the target market, which helps out bringing projects from other countries to the platform.
from covid-volunteers.
@jamiew @caseypugh looking for input here
from covid-volunteers.
Either way is fine with me; I think making this a target market could make sense to differentiate the purposes. Besides that decision, if the country is clickable to filtering, then would we want country to also be one of the filter options at the top? Listing all the countries may be overwhelming.
from covid-volunteers.
I'd propose:
- we add this country dropdown as a new field
projects.country
which is tied to ISO, but change the question to say something like what @sradu proposed: "Is this project only targeting people in a specific country?" - keep the open-ended
location
field but change question to: "Specific state, province or city within that country?" - migrate the existing data. Delete Global & friends, then manually clean up the rest. I'd be happy to do this part, there aren't many
Here are the Location
values for all the current projects:
curl https://helpwithcovid.com/projects.json > projects.json
cat projects.json | jq '.[] .location' | egrep -i -v "(remote|global|nywhere|world)"
=>
https://gist.github.com/74c6c4f5dbc93bb20fe2d5ef94a9b3c6
This list has <50 projects, which is less than 10% of total projects`
I reviewed a handful manually and I believe many project creators are just putting in their own location, rather than their target market, as has been pointed out above.
I also liked the suggestion here of differentiating "where we'd like to source volunteers" and "only working with people in a specific area"
I think project creators would accept volunteers from anywhere – perhaps you're an ex-pat, perhaps you just love that country, whatever. Creators want volunteers.
With this feature we are more interested in enabling filtering down to projects that have an exclusively local impact. For instance, I would personally like to be alerted about projects that are happening where I'm from. I don't necessarily want to be alerted about all projects.
from covid-volunteers.
@jamiew because the current wording for location is: 'Do volunteers need to live in a certain location? Write remote otherwise.' we have to be careful about the migration.
The proposed idea here, which I support, would have the location field refer to target market instead of volunteers.
So one migration could be:
- rename location to volunteer_location
- add target_country & target_location
From a logical point of view keep the _location fields as free form.
from covid-volunteers.
Is there a benefit to collecting and storing volunteer_location
or is that more just to keep the existing data as-is?
from covid-volunteers.
@jamiew the latter - we can drop it if we don't need city/state.
from covid-volunteers.
Cool that makes sense to me
Also just realized should maybe have been commenting on #105 instead... @LisaMai would you be willing to implement the changes @sradu proposed in his previous comment?
from covid-volunteers.
Yep, I should be able to get to implementing the suggested field updates in a day or so @jamiew
from covid-volunteers.
Updated screenshots:
from covid-volunteers.
Love this. @LisaMai can you please style that select with default tailwind. I believe the classes are in the project sort, you can just copy and paste those should be the defaults.
from covid-volunteers.
Good call, thanks @sradu! Updated the style and element structure so it's consistent with status.
from covid-volunteers.
Related Issues (20)
- External link selection is broken HOT 2
- Volunteer Office Hours - Selecting time error HOT 1
- Volunteer Office Hours - Sorting HOT 1
- Failed redirection to calling screen after profile update action HOT 1
- [Office hours/ Booking System] design update after first draft HOT 5
- Add Links to HWC media kit/logos to the footer HOT 1
- Add 1hour to Resources Page HOT 1
- [Resource page] Small updates
- Report a Project HOT 2
- Redirect /offers to /resources HOT 1
- HWBE - Footer links HOT 1
- Redirect site to canonical URL HOT 1
- Remove hard-coded categories from tests & seeds
- Fork HelpWithCovid and HelpWithBlackEquity from a core HelpWith app
- Create a better 404 page
- HWBE - Project Extract
- Provide Organization Status in the JSON output of projects HOT 1
- HWBE - Helpmainstreet.com directory HOT 1
- HWBE -Create a Business form HOT 1
- Update New Haven team page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from covid-volunteers.