Skip to content
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

Add linked types to MapWheelEvent and MapTouchEvent #10525

Merged
merged 3 commits into from
Apr 8, 2021

Conversation

domlet
Copy link
Contributor

@domlet domlet commented Mar 30, 2021

Related to: https://github.com/mapbox/mapbox-gl-js-docs/issues/305 , https://github.com/mapbox/mapbox-gl-js-docs/issues/307

Improves developer experience by explicating event types and offering links.

  • Extends the pattern seen in: #mapmouseevent#type.
  • Adds a list of linked types to MapWheelEvent and MapTouchEvent.
  • Consistifies event documentation on this page.
  • Requesting Docs review from @mapbox/docs
  • Requesting GL JS review from @mapbox/gl-js

Before/after screenshot:

Launch Checklist

  • briefly describe the changes in this PR
  • include before/after visuals or gifs if this PR includes visual changes
  • write tests for all new functionality
  • document any changes to public APIs
  • post benchmark scores
  • manually test the debug page
  • tagged @mapbox/map-design-team @mapbox/static-apis if this PR includes style spec API or visual changes
  • tagged @mapbox/gl-native if this PR includes shader changes or needs a native port
  • apply changelog label ('bug', 'feature', 'docs', etc) or use the label 'skip changelog'
  • add an entry inside this element for inclusion in the mapbox-gl-js changelog: <changelog></changelog>

@domlet domlet marked this pull request as ready for review March 31, 2021 01:47
src/ui/events.js Outdated Show resolved Hide resolved
src/ui/events.js Outdated Show resolved Hide resolved
@domlet domlet requested review from HeyStenson and ryanhamley and removed request for ryanhamley April 7, 2021 21:55
Copy link
Contributor

@HeyStenson HeyStenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! 🍊

@mourner mourner merged commit 92be4e0 into main Apr 8, 2021
@mourner mourner deleted the db-eventtypesconsistify branch April 8, 2021 08:05
@domlet domlet removed the request for review from ryanhamley April 8, 2021 15:41
domlet pushed a commit that referenced this pull request Apr 15, 2021
domlet pushed a commit that referenced this pull request Apr 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants