Skip to content

feat(feedback): Hide the URL section for mobile projects #94680

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryan953
Copy link
Member

@ryan953 ryan953 commented Jul 1, 2025

This hides the Url section when a project is not a 'frontend' project.

For example, a cocoa project vs. a javascript (web) one. The specific feedback the user submitted doesn't matter in this case.

Desc Img
Mobile SCR-20250630-psjt
Web SCR-20250630-psir

Fixes REPLAY-454

@ryan953 ryan953 requested a review from a team as a code owner July 1, 2025 00:59
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jul 1, 2025
eventData?.tags?.find(tag => tag.key === 'url')?.value;
const crashReportId = eventData?.contexts?.feedback?.associated_event_id;
const displayUrl =
eventData?.contexts?.feedback || eventData?.tags ? (url ?? URL_NOT_FOUND) : '';
Copy link
Member

Choose a reason for hiding this comment

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

can we just directly check if url exists? instead of doing the checks on eventData again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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