Skip to content
This repository was archived by the owner on Jun 12, 2024. It is now read-only.

Push text feedback to Sentry - #198

Merged
katydecorah merged 5 commits into
masterfrom
feedback-sentry
Dec 14, 2019
Merged

katydecorah merged 5 commits into
masterfrom
feedback-sentry

Conversation

@katydecorah

Copy link
Copy Markdown
Contributor

This PR adds Sentry to the feedback module so we can manage/triage text feedback with Sentry. Since Segment captures operating system and browser, we can remove detect-browser and stop sending that information to Mode.

How to test

  1. npm install && npm start
  2. Navigate to: http://192.168.7.223:9966/Feedback
  3. Submit text feedback using the first example
  4. Check in Sentry https://sentry.io/organizations/mapboxcom/issues/?project=1848287 for the message.
  5. Make sure the issue gets posted to #docs-feedback

Ref https://github.com/mapbox/documentation/issues/345

@katydecorah
katydecorah requested a review from a team December 10, 2019 01:03

@colleenmcginnis colleenmcginnis left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Tested this and it works beautifully @katydecorah !

Katy DeCorah added 3 commits December 14, 2019 06:47
* master:
  Prepare 0.23.0
  Allow for a configurable connector on search component (#200)
@katydecorah

Copy link
Copy Markdown
Contributor Author

I made one more update to make the Sentry DSN a prop in case the platform team wants to use this system as well: b6d06e8

@katydecorah
katydecorah merged commit cac47a9 into master Dec 14, 2019
@katydecorah
katydecorah deleted the feedback-sentry branch December 14, 2019 11:53
katydecorah pushed a commit that referenced this pull request Dec 20, 2019
* master:
  Add "tag" option to second and third level headings (#212)
  Update style of BetaFlag (#207)
  Add IE11 compatibility for the `Search` component (#203)
  Prepare 0.24.0
  Add groovy highlight option (#201)
  Push text feedback to Sentry (#198)
katydecorah pushed a commit that referenced this pull request Jan 3, 2020
* master:
  Update CHANGELOG.md
  Update CHANGELOG.md
  Collapse grayed lines in code block (#206)
  Add a tag component with themes (#216)
  Add new related page component (#213)
  Rework Notes themes (#202)
  Add "tag" option to second and third level headings (#212)
  Update style of BetaFlag (#207)
  allow `feedbackSentryDsn` to accept string (url) or boolean (false)
  Add IE11 compatibility for the `Search` component (#203)
  conditionally set `section` and `preferredLanguage`; send along `environment`
  Prepare 0.24.0
  Add groovy highlight option (#201)
  Push text feedback to Sentry (#198)
  Prepare 0.23.0
  Allow for a configurable connector on search component (#200)
  Update budo
katydecorah pushed a commit that referenced this pull request Jan 7, 2020
* master: (32 commits)
  add missing indices (#219)
  Create `Edit` and `CodeSnippet` components (#197)
  Update CHANGELOG.md
  Update CHANGELOG.md
  create highlight/theme-css
  Create themes component to house shared themes for Tag and Note (#217)
  Update CHANGELOG.md
  Update CHANGELOG.md
  Collapse grayed lines in code block (#206)
  Add a tag component with themes (#216)
  Add new related page component (#213)
  Rework Notes themes (#202)
  Add "tag" option to second and third level headings (#212)
  Update style of BetaFlag (#207)
  allow `feedbackSentryDsn` to accept string (url) or boolean (false)
  Add IE11 compatibility for the `Search` component (#203)
  conditionally set `section` and `preferredLanguage`; send along `environment`
  Prepare 0.24.0
  Add groovy highlight option (#201)
  Push text feedback to Sentry (#198)
  ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants