Skip to content

Conversation

@malwilley
Copy link
Member

@malwilley malwilley commented Nov 11, 2025

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:

CleanShot 2025-11-10 at 16 52 00

@malwilley malwilley requested review from a team and evanpurkhiser November 11, 2025 00:53
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 11, 2025
@linear
Copy link

linear bot commented Nov 11, 2025

Comment on lines +10 to +13
const [wasRedirectedFromInsights, setWasRedirectedFromInsights] = useQueryState(
'insightsRedirect',
parseAsBoolean.withOptions({history: 'replace'}).withDefault(false)
);
Copy link
Member

Choose a reason for hiding this comment

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

damn nice

@evanpurkhiser
Copy link
Member

evanpurkhiser commented Nov 11, 2025

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.

@malwilley
Copy link
Member Author

@evanpurkhiser do you mean that it will be difficult for us internally to see the old UI? We could add an isStaff check if we want to keep it visible for ourselves. Plus the URLs are still valid so you can always navigate that way

? starredProjects.slice(0, 8)
: nonStarredProjects.filter(project => project.isMember).slice(0, 8);

const hasWorkflowEngineUi = organization.features.includes('workflow-engine-ui');
Copy link
Member

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

Copy link
Member Author

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

ameliahsu added a commit that referenced this pull request Nov 15, 2025
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"
/>
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.

5 participants