File tree Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Expand file tree Collapse file tree 3 files changed +1
-7
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<AppHeader />
3
3
<MetricsViewer />
4
- <RawDataViewer />
5
4
</template >
6
5
7
6
<script lang="ts">
8
7
import { defineComponent } from ' vue' ;
9
8
import MetricsViewer from ' ./components/MetricsViewer.vue' ;
10
- import RawDataViewer from ' ./components/RawDataViewer.vue' ;
11
9
import AppHeader from ' ./components/AppHeader.vue' ;
12
10
13
11
export default defineComponent ({
14
12
name: ' App' ,
15
13
components: {
16
14
MetricsViewer ,
17
- RawDataViewer ,
18
15
AppHeader
19
16
}
20
17
});
Original file line number Diff line number Diff line change @@ -22,8 +22,5 @@ export const getGitHubCopilotMetricsApi = async (): Promise<Metrics[]> => {
22
22
// Map the response data to an array of Metrics objects
23
23
const metricsData = response . data . map ( ( item : any ) => new Metrics ( item ) ) ;
24
24
25
- // Print the metrics data to the console
26
- console . log ( metricsData ) ;
27
-
28
25
return metricsData ;
29
26
} ;
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
3
<h1 >GitHub Copilot Business Metrics Viewer</h1 >
4
+
4
5
<h2 >Total Suggestions Count | Total Acceptances Count</h2 >
5
6
<Line :data =" totalSuggestionsAndAcceptanceChartData" :options =" chartOptions" />
6
7
@@ -51,7 +52,6 @@ export default defineComponent({
51
52
Bar
52
53
},
53
54
setup() {
54
- console .log (' MetricsViewer setup' );
55
55
const metrics = ref <Metrics []>([]);
56
56
57
57
// Total Suggestions Count | Total Acceptance Counts
You can’t perform that action at this time.
0 commit comments