Skip to content

Commit 8f87eb7

Browse files
committed
Cleanup
1 parent 8d31398 commit 8f87eb7

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

src/App.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
<template>
22
<AppHeader />
33
<MetricsViewer />
4-
<RawDataViewer />
54
</template>
65

76
<script lang="ts">
87
import { defineComponent } from 'vue';
98
import MetricsViewer from './components/MetricsViewer.vue';
10-
import RawDataViewer from './components/RawDataViewer.vue';
119
import AppHeader from './components/AppHeader.vue';
1210
1311
export default defineComponent({
1412
name: 'App',
1513
components: {
1614
MetricsViewer,
17-
RawDataViewer,
1815
AppHeader
1916
}
2017
});

src/api/GitHubApi.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,5 @@ export const getGitHubCopilotMetricsApi = async (): Promise<Metrics[]> => {
2222
// Map the response data to an array of Metrics objects
2323
const metricsData = response.data.map((item: any) => new Metrics(item));
2424

25-
// Print the metrics data to the console
26-
console.log(metricsData);
27-
2825
return metricsData;
2926
};

src/components/MetricsViewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
22
<div>
33
<h1>GitHub Copilot Business Metrics Viewer</h1>
4+
45
<h2>Total Suggestions Count | Total Acceptances Count</h2>
56
<Line :data="totalSuggestionsAndAcceptanceChartData" :options="chartOptions" />
67

@@ -51,7 +52,6 @@ export default defineComponent({
5152
Bar
5253
},
5354
setup() {
54-
console.log('MetricsViewer setup');
5555
const metrics = ref<Metrics[]>([]);
5656
5757
//Total Suggestions Count | Total Acceptance Counts

0 commit comments

Comments
 (0)