-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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(whats-new): Revamp "Whats New" #76818
Conversation
❌ 1 Tests Failed:
View the top 1 failed tests by shortest run time
To view individual test run time comparison to the main branch, go to the Test Analytics Dashboard |
|
||
export const isDone = (task: OnboardingTaskStatus) => | ||
task.status === 'complete' || task.status === 'skipped'; | ||
|
||
// To be passed as the `source` parameter in router navigation state | ||
// e.g. {pathname: '/issues/', state: {source: `sidebar`}} | ||
export const SIDEBAR_NAVIGATION_SOURCE = 'sidebar'; | ||
|
||
export function hasWhatIsNewRevampFeature(organization: Organization) { | ||
return organization.features.includes('what-is-new-revamp'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
two nits here - would prefer we call this whats-new-revamp
if the flag hasn't been created yet. second, do we really need this util function ? i feel like since it is just a feature flag check we could have it be const hasWhatsNewRevamp = organization.features.includes()...;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes initially I thought we would use it in more different places but it makes sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh and the feature flag has already been created
static/app/types/system.tsx
Outdated
}; | ||
/** | ||
* Category of the broadcast. | ||
* Synced with https://github.com/getsentry/sentry/blob/923a65508912c3e181e1c70cbdf076b7b956aa90/src/sentry/models/broadcast.py#L14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we change the branch here to be master: https://github.com/getsentry/sentry/blob/master/src/sentry/models/broadcast.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried that a couple of times, but always when I clicked on the copy button I got a never mind... copying the URL works tooblob/code
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
Before
After
closes #77055