Skip to content

Conversation

@ryan953
Copy link
Member

@ryan953 ryan953 commented Nov 25, 2025

This is all behind a feature flag called "seer-settings-gtm". I tested things by enabling the flag with the toolbar and I can see that urls like /settings/seer/ and /settings/seer/projects/ and /settings/seer/repositories/ show the basic html that is defined. When I toggle the flag off (again, via the toolbar) I can see the "You dont have access to this feature " message as expected.

By setting up the flag and the blank pages like this it should be easier to do work in parallel against all three pages, and the original settings page is not affected.

This change has frontend and backend changes because it's adding a new flag. The default for the flag is 'off' so these changes are safe to be merged together, and be deployed at any time in any order.

Look at these screenshots to see the testing in action:

Flag Disabled Flag Enabled
Main Page SCR-20251125-jmdx SCR-20251125-jmbn
Projects Page SCR-20251125-jlxo SCR-20251125-jlzr

This is all behind a feature flag called "seer-settings-gtm". I tested things by enabling the flag with the toolbar and I can see that urls like /settings/seer/ and /settings/seer/projects/ and /settings/seer/repositories/ show the basic html that is defined. When I toggle the flag off (again, via the toolbar) I can see the "You dont have access to this feature
" message as expected.

By setting up the flag and the blank pages like this it should be easier to do work in parallel against all three pages, and the original settings page is not affected.
@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Nov 25, 2025
@github-actions
Copy link
Contributor

🚨 Warning: This pull request contains Frontend and Backend changes!

It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently.

Have questions? Please ask in the #discuss-dev-infra channel.

@ryan953
Copy link
Member Author

ryan953 commented Nov 25, 2025

🚨 Warning: This pull request contains Frontend and Backend changes!

This is intentional and safe. We're adding a new flag to the backend and using it in the frontend, the default is off though so no one will be affected.

I'm not going to turn on the flag in flagpole to test it out, because people (even me!) need to continue to see the old settings page at the same time, everyone should use the toolbar to test these changes.

The flag name is [seer-settings-gtm](https://github.com/search?q=repo%3Agetsentry%2Fsentry-options-automator%20OR%20repo%3Agetsentry%2Fsentry%20seer-settings-gtm&type=code)

</NoProjectMessage>
</Fragment>
);
return <Outlet />;
Copy link
Member Author

Choose a reason for hiding this comment

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

All that stuff got moved into seerAutomation.tsx

@ryan953 ryan953 requested a review from a team November 25, 2025 18:26
@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #103990      +/-   ##
===========================================
+ Coverage   75.87%    80.62%   +4.74%     
===========================================
  Files        9308      9312       +4     
  Lines      397265    397420     +155     
  Branches    25343     25343              
===========================================
+ Hits       301432    320417   +18985     
+ Misses      95392     76562   -18830     
  Partials      441       441              

@ryan953 ryan953 merged commit a162c3d into master Nov 25, 2025
70 checks passed
@ryan953 ryan953 deleted the ryan953/seer-gtm-settings-new-pages branch November 25, 2025 22:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants