Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docs/platforms/android/size-analysis/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ title: Size Analysis
sidebar_title: Size Analysis
sidebar_order: 5200
description: Upload Android builds to Sentry for Size Analysis.
beta: true
---

<Include name="size-analysis/ea" />

[Size Analysis](/product/size-analysis) helps monitor your mobile app's size in pre-production to prevent unexpected size increases (regressions) from reaching users. Aside from being courteous to your users, a smaller app size helps boost installation and retention rates, especially for customers with limited storage or slower connections.

## Getting Started
Expand Down
1 change: 1 addition & 0 deletions docs/platforms/android/size-analysis/insights.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Insights
sidebar_order: 5250
description: Preview how Size Analysis reports highlight Android build trends.
beta: true
---

Size Analysis Insights point out opportunities to reduce your Android app's size. They spot patterns like duplicate files, oversized media, or unneeded assets, and list exactly what to fix along with the estimated size savings.
Expand Down
3 changes: 1 addition & 2 deletions docs/platforms/apple/guides/ios/size-analysis/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
title: Size Analysis
sidebar_order: 5200
description: Upload iOS builds to Sentry for size analysis.
beta: true
---

<Include name="size-analysis/ea" />

[Size Analysis](/product/size-analysis) helps monitor your mobile app's size in pre-production to prevent unexpected size increases (regressions) from reaching users. Aside from being courteous to your users, a smaller app size helps boost installation and retention rates, especially for customers with limited storage or slower connections.

## Getting Started
Expand Down
1 change: 1 addition & 0 deletions docs/platforms/apple/guides/ios/size-analysis/insights.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Insights
sidebar_order: 5250
description: See how Size Analysis surfaces trends for your iOS builds.
og_image: /og-images/platforms-apple-guides-ios-size-analysis-insights.png
beta: true
---

Size Analysis Insights point out opportunities to reduce your iOS app's size. They spot patterns like duplicate files, oversized media, or unneeded assets, and list exactly what to fix along with the estimated size savings.
Expand Down
3 changes: 1 addition & 2 deletions docs/platforms/dart/guides/flutter/size-analysis/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
title: Size Analysis
sidebar_order: 5200
description: Upload Flutter builds to Sentry for size analysis.
beta: true
---

<Include name="size-analysis/ea" />

[Size Analysis](/product/size-analysis) helps monitor your mobile app's size in pre-production to prevent unexpected size increases (regressions) from reaching users. Aside from being courteous to your users, a smaller app size helps boost installation and retention rates, especially for customers with limited storage or slower connections.

## Getting Started - iOS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Insights
sidebar_order: 5250
description: Preview how Size Analysis highlights Flutter build trends.
beta: true
---

Size Analysis Insights point out opportunities to reduce your Flutter app's size. They spot patterns like duplicate files, oversized media, or unneeded assets, and list exactly what to fix along with the estimated size savings.
Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/java/guides/spring-boot/advanced-usage.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ sidebar_section: configuration
description: "Learn about managing the release ID and customizing Spring Boot to your organization's needs."
---

Sentry's Spring Boot integration automatically includes the release and sets options as described in the following sections.
Copy link

Choose a reason for hiding this comment

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

Bug: Unrelated trailing whitespace change in Spring Boot file

This file has a trailing space added that is unrelated to the PR's purpose of updating size analysis to beta. The advanced-usage.mdx file for Spring Boot documentation was likely open in an editor and inadvertently modified while working on the size analysis changes.

Fix in Cursor Fix in Web

Sentry's Spring Boot integration automatically includes the release and sets options as described in the following sections.

## Using Git Commit ID As The Release

Expand Down
3 changes: 1 addition & 2 deletions docs/platforms/react-native/size-analysis/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ title: Size Analysis
sidebar_title: Size Analysis
sidebar_order: 5200
description: Upload React Native iOS and Android builds to Sentry for size analysis.
beta: true
---

<Include name="size-analysis/ea" />

[Size Analysis](/product/size-analysis) helps monitor your mobile app's size in pre-production to prevent unexpected size increases (regressions) from reaching users. Aside from being courteous to your users, a smaller app size helps boost installation and retention rates, especially for customers with limited storage or slower connections.

## Getting Started - iOS
Expand Down
1 change: 1 addition & 0 deletions docs/platforms/react-native/size-analysis/insights.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
title: Insights
sidebar_order: 5250
description: See how Size Analysis surfaces trends for React Native builds.
beta: true
---

Size Analysis Insights point out opportunities to reduce your React Native app's size. They spot patterns like duplicate files, oversized media, or unneeded assets, and list exactly what to fix along with the estimated size savings.
Expand Down
3 changes: 1 addition & 2 deletions docs/product/size-analysis/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ title: Size Analysis
sidebar_order: 136
description: Monitor mobile builds for size changes before they reach users.
og_image: /og-images/product-size-analysis.png
beta: true
---

<Include name="size-analysis/ea" />

Size Analysis monitors your mobile app size to prevent regressions before they reach users. Upload builds from CI to spot regressions early, understand what's inside each bundle, and keep release artifacts lean.

## Why Track App Size?
Expand Down
1 change: 1 addition & 0 deletions docs/product/size-analysis/integrating-into-ci.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ title: Integrating Into CI
sidebar_order: 40
description: Set up the integration in CI to receive automated size change notifications
og_image: /og-images/product-size-analysis-integrating-into-ci.png
beta: true
---

<Include name="size-analysis/github-only" />
Expand Down
5 changes: 0 additions & 5 deletions includes/size-analysis/ea.mdx

This file was deleted.

2 changes: 2 additions & 0 deletions src/components/sidebar/dynamicNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ export function DynamicNav({
collapsible={collapsible}
isActive={!isPlatformSidebar && unversionedPath === root}
topLevel
beta={parentNode.node?.context.beta}
isNew={parentNode.node?.context.new}
Copy link

Choose a reason for hiding this comment

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

Bug: Beta badge uses wrong node, will never display

The beta and isNew props are sourced from parentNode.node?.context, but parentNode is the empty-named child entity whose node is always null due to how toTree constructs the tree. The actual frontmatter data with beta: true is on entity.node, not parentNode.node. This means the beta badge will never appear on section headers like "Size Analysis" even though the frontmatter is correctly set. The code should use entity.node?.context.beta and entity.node?.context.new instead, consistent with how title is retrieved on line 255.

Fix in Cursor Fix in Web

data-sidebar-link
/>
);
Expand Down
4 changes: 4 additions & 0 deletions src/components/sidebar/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@ export type NavNode = {
context: {
draft: boolean;
title: string;
beta?: boolean;
new?: boolean;
section_end_divider?: boolean;
sidebar_hidden?: boolean;
sidebar_order?: number;
sidebar_section?: 'features' | 'configuration';
sidebar_title?: string;
};
path: string;
Expand Down
4 changes: 4 additions & 0 deletions src/components/sidebar/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ export const docNodeToNavNode = (node: DocNode): NavNode => ({
sidebar_order: node.frontmatter.sidebar_order,
sidebar_title: node.frontmatter.sidebar_title,
sidebar_hidden: node.frontmatter.sidebar_hidden,
beta: node.frontmatter.beta,
new: node.frontmatter.new,
section_end_divider: node.frontmatter.section_end_divider,
sidebar_section: node.frontmatter.sidebar_section,
},
path: '/' + node.path + '/',
});
Comment on lines 25 to 34

This comment was marked as outdated.

Loading