mapbox / mapbox/mapbox-gl-geocoder

Update debug pages to be... real pages

Open
#297 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auto-triaged enhancement
Dominant language
JavaScript
Stars
388
Forks
181
PR merge metrics
No merged PRs in 30d

Description

Per conversation with @scottsfarley93, the current budo javascript-only format is strange and doesn't provide an intuitive example of how to use the geocoder.

Also, setting the access token using localStorage is awkward. We should standardize between the tests (which use env vars) and here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the current debug pages and the tests that use environment variables; compare them with the budo JavaScript-only format and localStorage token handling. Done means the debug pages are real pages, provide an intuitive geocoder example, and use the same access-token configuration convention as the tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.