Giter VIP home page Giter VIP logo

Comments (15)

lisaah avatar lisaah commented on June 13, 2024

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
image

Edit view with dropdown selected.
image

from covid-volunteers.

caseypugh avatar caseypugh commented on June 13, 2024

@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.

sradu avatar sradu commented on June 13, 2024

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.

phylor avatar phylor commented on June 13, 2024

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.

sradu avatar sradu commented on June 13, 2024

@jamiew @caseypugh looking for input here

from covid-volunteers.

lisaah avatar lisaah commented on June 13, 2024

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.

jamiew avatar jamiew commented on June 13, 2024

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.

sradu avatar sradu commented on June 13, 2024

@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:

  1. rename location to volunteer_location
  2. add target_country & target_location

From a logical point of view keep the _location fields as free form.

from covid-volunteers.

jamiew avatar jamiew commented on June 13, 2024

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.

sradu avatar sradu commented on June 13, 2024

@jamiew the latter - we can drop it if we don't need city/state.

from covid-volunteers.

jamiew avatar jamiew commented on June 13, 2024

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.

lisaah avatar lisaah commented on June 13, 2024

Yep, I should be able to get to implementing the suggested field updates in a day or so @jamiew

from covid-volunteers.

lisaah avatar lisaah commented on June 13, 2024

Updated screenshots:

image

image

from covid-volunteers.

sradu avatar sradu commented on June 13, 2024

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.

lisaah avatar lisaah commented on June 13, 2024

Good call, thanks @sradu! Updated the style and element structure so it's consistent with status.

image

from covid-volunteers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.