Skip to content

Commit b00fd13

Browse files
committed
screenshots and typos
1 parent a60a08a commit b00fd13

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed
-340 KB
Loading
-74.2 KB
Loading
-70 KB
Loading
35.4 KB
Loading
-311 KB
Loading
-19.2 KB
Loading
29.5 KB
Loading
-328 KB
Loading

docs/product/dev-toolbar/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ The issues panel shows you your highest priority frontend [issues](https://docs.
2121

2222
## Feedback Panel
2323

24-
The feedback panel shows you the most recent user feedback messages for the page you are on, so you can more easily contextualize user feedback. The feedback can include misleading UX, broken links, typos, and so on, covering more bugs and suboptimal experiences than code-thrown errors. The feedback panel works by pulling feedback messages from [Sentry’s User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget).
24+
The feedback panel shows you the most recent user feedback messages for the page you are on, so you can more easily contextualize user feedback. The feedback can include misleading UX, broken links, typos, and so on, covering more bugs and suboptimal experiences than code-thrown errors. The feedback panel works by pulling feedback messages from [Sentry’s User Feedback Widget](https://docs.sentry.io/product/user-feedback/#user-feedback-widget).
2525

2626
![Dev Toolbar with the Feedback Panel open](./img/feedback-panel.png)
2727

2828
## Feature Flags Panel
2929

30-
Feature flags are a powerful tool that allow you to control the visibility of features in your app, enabling you to ship, test, and experiment with confidence. The feature flag panel allows you to quickly view and override feature flags locally that your team has enabled for your web application. You can override any feature flag to be true or false for your browser session, so you can verify its behavior and observe the impact it might have on errors. Learn more about how to [configure the feature flag panel](/product/dev-toolbar/setup/#implement-feature-flag-adapter).
30+
Feature flags are a powerful tool that allow you to control the visibility of features in your app, enabling you to ship, test, and experiment with confidence. The feature flag panel allows you to quickly view and override feature flags locally that your team has enabled for your web application. You can override any feature flag to be `true` or `false` for your browser session, so you can verify its behavior and observe the impact it might have on errors. Learn more about how to [configure the feature flag panel](/product/dev-toolbar/setup/#implement-feature-flag-adapter).
3131

3232
[Learn more](/product/explore/feature-flags/) about what data Sentry can track related to your feature flagging system.
3333

3434
![Dev Toolbar with the Feature Flags Panel open](./img/feature-flags-panel.png)
3535

3636
## Login Flow
3737

38-
After setting up the Dev Toolbar you’ll see a “Login to Sentry” button floating in the center of the page. Your team will need to click this button and login to sentry before they can access any information from your Sentry organization.
38+
After setting up the Dev Toolbar you’ll see a “Login to Sentry” button floating in the center of the page. Your team will need to click this button and login to Sentry before they can access any information from your Sentry organization.
3939
![Dev Toolbar login button](./img/login-button.png)
4040

4141
After clicking the button, you should see a pop up for logging in to Sentry.

docs/product/dev-toolbar/setup.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Set Up"
33
sidebar_order: 10
4-
description: "Get started with Sentry's Dev Toolbar, bringing critical Sentry insights and tools into your web app to help your team troubleshoot more effectively.."
4+
description: "Get started with Sentry's Dev Toolbar, bringing critical Sentry insights and tools into your web app to help your team troubleshoot more effectively."
55
---
66

77
<Alert level="info">
@@ -100,20 +100,20 @@ window.SentryToolbar.init({
100100

101101
| Field Name | Type | Description | Default Value |
102102
| ----- | ----- | ----- | ----- |
103-
| `organizationSlug` | `string` | The organization that users should login to. For example \`acme\` | *Required Value* |
103+
| `organizationSlug` | `string` | The organization that users should login to. For example \'acme\' | *Required Value* |
104104
| `projectIdOrSlug` | `string \| number` | The project for which this website/webapp is associated. | *Required Value* |
105-
| `environment (optional)` | `string \| string[] \| undefined` | The environment of this deployment. Used to narrow search results in the Toolbar UI. Set to \`undefined\` or \`””\` or \`\[\]\` if you want to see results from all environments. | `undefined` |
106-
| `placement (optional)` | `'right-edge' \| 'bottom-right-corner'` | Where to render the toolbar on the screen. | `"right-edge"` |
107-
| `theme (optional)` | `'system' \| 'dark' \| 'light'` | Whether to use dark or light mode. | `"system"` |
105+
| `environment (optional)` | `string \| string[] \| undefined` | The environment of this deployment. Used to narrow search results in the Toolbar UI. Set to `undefined` or `""` or `\[\]` if you want to see results from all environments. | `undefined` |
106+
| `placement (optional)` | `'right-edge' \| 'bottom-right-corner'` | Where to render the toolbar on the screen. | `'right-edge'` |
107+
| `theme (optional)` | `'system' \| 'dark' \| 'light'` | Whether to use dark or light mode. | `'system'` |
108108
| `featureFlags (optional)` | `FeatureFlagAdapter \| undefined` | See [Implement FeatureFlagAdapter](/product/dev-toolbar/setup//#implement-feature-flag-adapter) above | `undefined` |
109-
| `sentryOrigin (optional)` | `string \| undefined` | The origin where Sentry can be found. Used for loading the connection to Sentry, and generating links to the website. For example: \`"[https://acme.sentry.io]"\` | `"https://sentry.io"` |
110-
| `domId (optional)` | `string \| undefined` | The \`id\` given to the \<div\> that is created to contain the toolbar html. | `"sentry-toolbar"` |
111-
| `debug (optional)` | `string \| undefined` | A comma separated string of debug targets to enable. Example: `"logging,state"` If the list contains all or true then all targets will be enabled. Valid targets: `"logging" "login-success" "settings" "state"` | `undefined` |
109+
| `sentryOrigin (optional)` | `string \| undefined` | The origin where Sentry can be found. Used for loading the connection to Sentry, and generating links to the website. For example: `'[https://acme.sentry.io]'` | `'https://sentry.io'` |
110+
| `domId (optional)` | `string \| undefined` | The `id` given to the \<div\> that is created to contain the toolbar html. | `'sentry-toolbar'` |
111+
| `debug (optional)` | `string \| undefined` | A comma separated string of debug targets to enable. Example: `'logging,state'`. If the list contains 'all' or 'true' then all targets will be enabled. Valid targets: `'logging' 'login-success' 'settings' 'state'` | `undefined` |
112112
| `mountPoint (optional)` | `HTMLElement \| () => HTMLElement \| undefined` | Where to mount the toolbar in the DOM. | `document.body` |
113113

114114

115115
## Deploying To Production & Dev Environments
116-
Since the Dev Toolbar is deployed onto specific pages, it's strongly recommended that you consider which environments your app is deployed to should have the toolbar available.
116+
Since the Dev Toolbar is deployed onto specific pages, it's strongly recommended that you consider which environments the toolbar should apply to.
117117

118118
In dev and staging environments, you might want to *unconditionally* include the toolbar so that all developers and testers can use it and quickly go from the page they're looking at back to Sentry for further debugging.
119119

0 commit comments

Comments
 (0)