-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
feat(aci): Rewire insights crons/uptime links to go to Monitors #103129
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
feat(aci): Rewire insights crons/uptime links to go to Monitors #103129
Conversation
| const [wasRedirectedFromInsights, setWasRedirectedFromInsights] = useQueryState( | ||
| 'insightsRedirect', | ||
| parseAsBoolean.withOptions({history: 'replace'}).withDefault(false) | ||
| ); |
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.
damn nice
|
Let's not merge this yet, since it means it's difficult to see the old UI. Or maybe @malwilley we could create a new feature flag for the LA/EA/GA experience? Where this and Alerts etc are hidden away. if we do that we could also track some metrics for people with that flag who still somehow end up on the alert pages. |
|
@evanpurkhiser do you mean that it will be difficult for us internally to see the old UI? We could add an |
| ? starredProjects.slice(0, 8) | ||
| : nonStarredProjects.filter(project => project.isMember).slice(0, 8); | ||
|
|
||
| const hasWorkflowEngineUi = organization.features.includes('workflow-engine-ui'); |
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've been adding a isStaff check here so that staff don't get redirected during testing
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.
Will add that then merge
…ve-links-to-insights-crons-uptime-pages
similar to #103129, redirects users with the `workflow-engine-ui` flag who click on Issues > Alerts to the All Monitors list with a banner <img width="1381" height="332" alt="Screenshot 2025-11-13 at 11 56 52 AM" src="https://github.com/user-attachments/assets/00194e9e-1f85-4f23-9858-3c54a4c9e09a" />
Closes NEW-617, NEW-618
When the feature flag is on, insights crons/uptime links will direct to /monitors instead. When this happens, we'll show a banner that notifies the user about this change: