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

[docs] fix missing location prop for feedback #8554

Merged
merged 1 commit into from
Jul 25, 2019

Conversation

katydecorah
Copy link
Contributor

@katydecorah katydecorah commented Jul 25, 2019

Launch Checklist

As the feedback data is starting to come in, we found that the feedback comonent inside the collapsible sections of the API docs (example: /mapbox-gl-js/api/#map#triggerrepaint) was not sending the current page along with the response. This PR makes sure the prop is passed through to the component so we have data on which page the user submitted feedback.

  • briefly describe the changes in this PR
  • Run npm run build to catch any build errors or force push to publisher-staging.
    • I just pushed this branch to staging, but you can test locally as well by pulling down the branch, interacting with a feedback module found in a collapsed section and checking the Segment staging debugger that the event include a page object with pathname: '/mapbox-gl-js/api/',

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.

@katydecorah Just checked on staging and this looks correct to me! For feedback on https://docs.tilestream.net/mapbox-gl-js/api/#lnglat#wrap, in Segment I see a page object that contains hash: '#lnglat' and pathname: '/mapbox-gl-js/api/', along with the property section: 'wrap'. Pretty sure those are all the right pieces! 🍊

@katydecorah katydecorah merged commit 757b9ef into publisher-production Jul 25, 2019
@katydecorah katydecorah deleted the feedback-fix-missing-prop branch July 25, 2019 18:56
mourner added a commit that referenced this pull request Jul 30, 2019
* origin/publisher-production:
  update version to v1.2.0 (#8562)
  Fix usage of String.includes which is es6 but not transformed by buble (#8565) (#8573)
  [docs] fix missing location prop to feedback component (#8554)
  Fix typo
  [docs] update dr-ui (#8548)
  [docs] fix errors on IE11 caused by dr-ui dependencies (#8544)
  updates directions plugin version (#8536)
  add dds sdk support
  squash (#8529)
  [docs] adds feedback component (#8507)
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.

2 participants