This pull request introduces a new feature to the MetricsViewer component in the src/components/MetricsViewer.vue file. The changes include the addition of a new tiles section to display various metrics, and modifications to the data processing logic to calculate cumulative metrics and acceptance rate average.
Here are the most important changes:
UI Enhancements:
src/components/MetricsViewer.vue: Added a new tile-based layout for displaying metrics. Each tile represents a different metric.
src/components/MetricsViewer.vue: Modified the data processing logic to calculate cumulative values for the number of suggestions, acceptances, and lines of code accepted.
This pull request introduces a new feature to the
MetricsViewer
component in thesrc/components/MetricsViewer.vue
file. The changes include the addition of a new tiles section to display various metrics, and modifications to the data processing logic to calculate cumulative metrics and acceptance rate average.Here are the most important changes:
UI Enhancements:
src/components/MetricsViewer.vue
: Added a new tile-based layout for displaying metrics. Each tile represents a different metric.src/components/MetricsViewer.vue
: Added CSS styles for the new tiles.Data Calculation and Display:
src/components/MetricsViewer.vue
: Added new reactive variables to hold the values for the new metrics.src/components/MetricsViewer.vue
: Modified the data processing logic to calculate cumulative values for the number of suggestions, acceptances, and lines of code accepted.src/components/MetricsViewer.vue
: Changed the data processing logic to calculate the average acceptance rate.src/components/MetricsViewer.vue
: Updated the return statement to include the new reactive variables.