Improve max event limit count to be passed to frontend
What is the issue
Solution
- Pass the
MAX_EVENTSto the frontend to be used in thelimit_warning_component.js
Reasons
- Improve the testability of limit warning component
- Reduce the chance these values get out of sync
Related MRs
Add limit to the number of events showed in cycle analytics | gitlab-ce!7743
Resolve "Add event limit warning to all Cycle Analytics tabs" | gitlab-ce!10179