Skip to content

feat(demo): adds more guides for demo mode#24718

Merged
scefali merged 2 commits into
masterfrom
feat/demo-tooltips-v2
Mar 26, 2021
Merged

feat(demo): adds more guides for demo mode#24718
scefali merged 2 commits into
masterfrom
feat/demo-tooltips-v2

Conversation

@scefali

@scefali scefali commented Mar 25, 2021

Copy link
Copy Markdown
Contributor

This PR adds more guides to demo mode and fixes a bug with guides that were added earlier (#24649). The following guides have been added:

  1. Releases
  2. Release Details
  3. Discover landing page
  4. Discover event view
  5. Transaction details

@github-actions

github-actions Bot commented Mar 25, 2021

Copy link
Copy Markdown
Contributor

size-limit report

Path Base Size (27a1b39) Current Size Change
public/app.js 322.5 KB 323.12 KB +0.2% 🔺
public/vendor.js 598.09 KB 598.09 KB 0%
public/sentry.css 24.67 KB 24.67 KB 0%

let labelString = label;
if (React.isValidElement(label)) {
label = label?.props?.children ?? label;
labelString = label?.props?.children ?? label;

@scefali scefali Mar 25, 2021

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I introduced a bug here that only impacted demo mode (the guides on the sidebar didn't actually mount because we only rendered the child).

@scefali scefali marked this pull request as ready for review March 25, 2021 23:07
@scefali scefali requested review from a team and scttcper March 25, 2021 23:07
type={type}
title={
<GuideAnchor target="breadcrumbs" position="bottom">
<GuideAnchor target="breadcrumbs" position="right">

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this change makes the guide look a bit better

@scefali scefali merged commit 270627f into master Mar 26, 2021
@scefali scefali deleted the feat/demo-tooltips-v2 branch March 26, 2021 16:51
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 11, 2021
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