Skip to content

Commit 38e1598

Browse files
ryan953michellewzhangcoolguyzone
authored
docs: Add FAQ page for the Dev Toolbar (#12182)
* docs: Add FAQ page for the Dev Toolbar * Update docs/product/dev-toolbar/faq.mdx Co-authored-by: Michelle Zhang <[email protected]> * note about ui vs sdk difference in goals * Apply suggestions from code review Co-authored-by: Alex Krawiec <[email protected]> * Update docs/product/dev-toolbar/faq.mdx --------- Co-authored-by: Michelle Zhang <[email protected]> Co-authored-by: Alex Krawiec <[email protected]>
1 parent bced287 commit 38e1598

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

docs/product/dev-toolbar/faq.mdx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: FAQ
3+
sidebar_order: 30
4+
description: "Frequently asked questions about the Dev Toolbar."
5+
---
6+
7+
<Expandable title="Are there plans to include the Dev Toolbar in the JavaScript SDK?">
8+
9+
The [Dev Toolbar](https://github.com/getsentry/sentry-toolbar) and the [JavaScript SDK](https://github.com/getsentry/sentry-javascript) are distinct features that we intentionally keep separated.
10+
11+
Some of the differences between the two include:
12+
- The toolbar is a UI product focused on making it easier to find and take action on existing data, while the SDK functions as infrastructure to collect and send data to the server.
13+
- The toolbar has a different set of [dependencies](https://github.com/getsentry/sentry-toolbar/blob/main/package.json) and uses different browser APIs that the JavaScript SDK does not use. For example: the toolbar will interact with things like cookies and local storage. By keeping these pieces of code separate, it's easier to audit the [SDK code on GitHub](https://github.com/getsentry/sentry-javascript) to verify that it is not persisting information inside end-users' browsers.
14+
- The setup and deploy instruction are very different. The SDK is best deployed on staging and production environments, and can be configured easily with environment variables. The Dev Toolbar requires special considerations to deploy it into production, usually by creating a condition so that it's only included for members of your own Sentry organization.
15+
16+
</Expandable>

0 commit comments

Comments
 (0)