-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revamp plugin documentation & strip plugin publishing functionality #4305
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Simpler is better in this case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Just a couple outstanding qs.
Have you added publishing scripts to CI for all the Mapbox supported plugins?
tags: | ||
- controls-and-overlays | ||
--- | ||
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v{{site.data.plugins.mapbox-gl-geocoder.latest}}/mapbox-gl-geocoder.js'></script> | ||
<link rel='stylesheet' href='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v{{site.data.plugins.mapbox-gl-geocoder.latest}}/mapbox-gl-geocoder.css' type='text/css' /> | ||
<script src='https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v2.0.1/mapbox-gl-geocoder.js'></script> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the plan for keeping these versions up to date?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The plan is for these to be manually updated alongside plugin releases, as they are now.
Not yet. Waiting for final 👍 on the |
This version added read-only stub properties for clientWidth, offsetWidth, etc., so we need to use Object.defineProperty to override the new default value of 0.
4919efd
to
86a97a8
Compare
Todo Before Merging
|
Maybe as a next step, it would be cool if the script that sends the distribution file to s3, also created a version file that could be used for auto updating the version numbers here. That said, this is a great leap forward towards making releases better. Thanks! |
@mollymerp I finished adding deployment processes to all existing Mapbox plugins. Can you rereview? 🙏 |
Nice work @lucaswoj! 💪 ✨ |
@lucaswoj With this merged, does it make sense to remove the list in the README.md and simply point to https://www.mapbox.com/mapbox-gl-js/plugins/ ? For example the mapbox-gl-directions plugin is missing in README.md so the risk of them becoming out of sync is real. |
Yes @andrewharvey. That was my intention. Submitting a PR for the |
This PR closes #3947, closes #3687, and removes 74,231 lines from source control 😄
Definitely looking for feedback on the design of the plugins directory & taxonomy of plugins.
Any design suggestions @tristen @mayagao?
Related to mapbox/mapbox-gl-directions#121