Grsmto / Grsmto/sanity-plugin-mapbox-input

Add support for Sanity v3 (code ready)

Open
#31 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
22
Forks
5
PR merge metrics
No merged PRs in 30d

Description

I have a working version of this plugin for Sanity v3. @Grsmto would you be interested in a PR?

It is basically a fork of `@sanity/google-maps-input` that swaps the Google Maps bits for Mapbox (I believe this is what you did when you created the plugin after looking at the code for guidance).

It still uses the old `mapbox-gl@v1` so users from your plugin (like myself) don't need to consider any of the policy or pricing changes that came with v2. In case someone needs this to be updated we could look into it, I guess.

Let me know what you think and if this is something that could be of use to anyone 👍

Btw, your plugin still works fine for me with v0.0.3 so perhaps if v0.0.4 is not working we could also look into what regression was introduced and ship a fix for users with sanity v2?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the existing plugin and comparing it with @sanity/google-maps-input to understand the proposed Sanity v3 fork. Check the reported difference between v0.0.3 and v0.0.4, and confirm how the proposed mapbox-gl@v1 implementation should support Sanity v3. Done means the maintainers agree on the scope and the v3 support path, with any Sanity v2 regression handled separately.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.