Error tracking feature flag
What does this MR do and why?
As part of the epic to deprecate error tracking, this MR introduces a feature flag named hide_error_tracking_features.
This flag will allow us to gradually disable error tracking functionality across the application in a controlled and non-breaking way. Follow-up MRs will use this flag to conditionally disable specific parts of the error tracking codebase.
Changes Introduced:
- Defined hide_error_tracking_features feature flag (default: false)
- Moved the Error tracking menu item behind feature flag
- Move the controller index and details actions behind the feature flag so the associated pages render 404
References
Include Issue reference
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- In rails console enable the feature flag
Feature.enable(:error_tracking_enabled, project)
- Visit any group or project member pages such as
http://127.0.0.1:3000/groups/flightjs/-/group_members
- Check that Error Tracking is no more visible.
- Check that the index and show page renders 404 page
Edited by Nnamdi Ogundu