mapbox-gl-geocoder icon indicating copy to clipboard operation
mapbox-gl-geocoder copied to clipboard

Feedback widget

Open scottsfarley93 opened this issue 6 years ago • 2 comments

With the addition of events in #183, there is now a mechanism for sending direct feedback about irrelevant or missing search results from the plugin. We should create a feedback widget that allows users to report such feedback during a search session. It could be really simple, but something that allows feedback to be directly surfaced would be super helpful in triaging and improving the search engine.

scottsfarley93 avatar Mar 13 '19 18:03 scottsfarley93

I'm interested in what the UX would look like.

Like if no search results are found would it show some italicised click here to report a missing feature? Or a small "improve these results" text below the results?

andrewharvey avatar Mar 14 '19 02:03 andrewharvey

Per scrum today, we're going to hold on introducing the feedback widget in v4. I've removed the milestone label from this issue.

For context, we discussed appending a link "Submit search feedback" to the geocoder results. That link would open up https://labs.mapbox.com/geocoder-feedback/?search=myplace&options={} where we'd pass the query and the options set on the geocoder through the URL so that /geocoder-feedback can accept the parameters and allow the user to quickly submit their feedback.

A round up of things we need to scope/figure out to introduce this feature:

  • Implementation of the feedback link #234
  • Decide what updates we need to make to /geocoder-feedback (for example, update to React, Mapbox GL JS)

katydecorah avatar Mar 22 '19 16:03 katydecorah