Refactor vulnerability over time chart components to share query logic
Summary
Currently, the components that wrap the "Vulnerabilities over Time" charts share a lot of code:
- Data fetching
- Data formatting
- Filter Logic
- Grouping Logic
- Time-range logic
It has been identified that this will cause a maintenance overhead going forward.
Implementation Ideas
- Create a component that abstracts the points that are mentioned above
- Alternatively: Create a unified component that switches the query based on the current scope
Edited by 🤖 GitLab Bot 🤖