Skip to content

chore(preprod): [FE] Update build details platform code to support apple value#107109

Merged
chromy merged 4 commits intomasterfrom
01-27-chore_preprod_fe_update_build_details_platform_code_to_support_apple_value
Jan 28, 2026
Merged

chore(preprod): [FE] Update build details platform code to support apple value#107109
chromy merged 4 commits intomasterfrom
01-27-chore_preprod_fe_update_build_details_platform_code_to_support_apple_value

Conversation

@NicoHinderling
Copy link
Contributor

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.

@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jan 27, 2026
Copy link
Contributor Author

NicoHinderling commented Jan 27, 2026

@NicoHinderling NicoHinderling force-pushed the 01-27-chore_preprod_fe_update_build_details_platform_code_to_support_apple_value branch from a8ba919 to cc79aa8 Compare January 27, 2026 22:02
@NicoHinderling NicoHinderling force-pushed the 01-27-chore_preprod_fe_update_build_details_platform_code_to_support_apple_value branch from cc79aa8 to 669b4f3 Compare January 27, 2026 22:17
@NicoHinderling NicoHinderling force-pushed the 01-27-chore_preprod_fe_update_build_details_platform_code_to_support_apple_value branch from 669b4f3 to 00fcb5b Compare January 27, 2026 22:39
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

aria-label={t('Install QR Code')}
value={
installDetails.platform === 'ios'
installDetails.platform === 'ios' || installDetails.platform === 'apple'
Copy link
Contributor

Choose a reason for hiding this comment

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

Apple platform treated as iOS installs

Medium Severity

The QR code value uses the iOS itms-services:// scheme when installDetails.platform is apple. If apple can represent macOS artifacts as well as iOS, scanning the QR code may produce an invalid install flow by forcing the iOS manifest scheme for non-iOS platforms.

Fix in Cursor Fix in Web


function getInsightsDocsUrl(platform?: Platform): string {
if (platform === 'macos' || platform === 'ios') {
if (platform === 'apple' || platform === 'macos' || platform === 'ios') {
Copy link
Contributor

Choose a reason for hiding this comment

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

Apple insights docs link points to iOS

Low Severity

getInsightsDocsUrl returns the iOS Apple docs URL when platform is apple. If apple is a generic value (not specifically iOS), this can send users to the wrong documentation (e.g., macOS-specific guidance).

Fix in Cursor Fix in Web

@NicoHinderling NicoHinderling force-pushed the 01-27-chore_preprod_fe_update_build_details_platform_code_to_support_apple_value branch from 00fcb5b to 0160fef Compare January 28, 2026 00:02
Copy link
Contributor

@chromy chromy left a comment

Choose a reason for hiding this comment

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

lgtm

@chromy chromy merged commit 1785d6a into master Jan 28, 2026
54 checks passed
@chromy chromy deleted the 01-27-chore_preprod_fe_update_build_details_platform_code_to_support_apple_value branch January 28, 2026 11:49
@github-actions github-actions bot locked and limited conversation to collaborators Feb 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants