Skip to content
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

ref(feedback): consolidate all settings into one heading under project #70679

Merged
merged 5 commits into from May 14, 2024

Conversation

michellewzhang
Copy link
Member

@michellewzhang michellewzhang commented May 10, 2024

closes #70663
as a fun bonus, this is also a deprecated async conversion so ref https://github.com/getsentry/frontend-tsc/issues/2

Before, we had two User Feedback headings in project settings, one under Processing (for spam detection) and one under SDK Setup (for crash report alerting options):

SCR-20240510-nqlf

This PR moves all 3 settings into one User Feedback header under the main Project heading:

SCR-20240510-nsig-2

@michellewzhang michellewzhang requested review from a team and jas-kas May 10, 2024 19:33
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 10, 2024
@@ -30,7 +30,7 @@ function ProjectReplaySettings({organization, project, params: {projectId}}: Pro
external
href="https://docs.sentry.io/product/session-replay/replay-page-and-filters/"
>
{t('Read the docs')}
{t('Read the Docs')}
Copy link
Member Author

Choose a reason for hiding this comment

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

extra change because this was inconsistent with other header actions in the settings, which all have the first word capitalized

@jas-kas
Copy link
Member

jas-kas commented May 10, 2024

Slightly unrelated but I'm almost certain the "Show Sentry branding" is for the Crash-Report modal specifically. Lets also update the copy for that while we're at it?

@jas-kas
Copy link
Member

jas-kas commented May 10, 2024

Otherwise, LGTM!

nyan

@michellewzhang
Copy link
Member Author

Slightly unrelated but I'm almost certain the "Show Sentry branding" is for the Crash-Report modal specifically. Lets also update the copy for that while we're at it?

SCR-20240510-nwff

updated!

gap: ${space(1)};
`;

export default withOrganization(ProjectUserFeedback);
Copy link
Member

Choose a reason for hiding this comment

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

is withOrganization HoC still the preferred method of getting org from context?

Copy link
Member Author

Choose a reason for hiding this comment

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

not sure, i know we've been getting rid of some of them but i didn't want to mess with it here

@michellewzhang michellewzhang merged commit 9ae25a7 into master May 14, 2024
42 checks passed
@michellewzhang michellewzhang deleted the mz/fb-consolidate-settings branch May 14, 2024 16:37
Copy link

sentry-io bot commented May 15, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

  • ‼️ Error: useNavigate() may be used only in the context of a component. useNavigate(useNavigate.tsx) View Issue

Did you find this useful? React with a 👍 or 👎

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.

Consolidate all User Feedback Project Settings by moving User Feedback up to PROJECT
3 participants