This pull request includes changes to the GitHub Copilot metrics viewer application. The changes are focused on improving the code structure, updating the application version, and removing an old and not used the Azure Static Web Apps CI/CD workflow. The most important changes include updating the application version and refactoring the Vue components to improve the code structure and readability.
package.json: The version of copilot-metrics-viewer has been updated from 0.1.0 to 1.2.0. This indicates the introduction of new features or significant changes.
Addition of new component:
src/components/ApiResponse.vue: A new component ApiResponse.vue has been added to display the JSON object of the metrics data.
Major modifications to existing components:
src/components/CopilotChatViewer.vue: This component underwent significant changes, including the removal of error handling code, the addition of props for passing metrics data, changes to the setup function to use the passed props, and changes to the chart data generation code to use the passed props. [1][2][3][4][5][6][7]
src/components/LanguagesBreakdown.vue: Similar to CopilotChatViewer.vue, this component also had significant changes, including the removal of error handling code, the addition of props for passing metrics data, changes to the setup function to use the passed props, and changes to the chart data generation code to use the passed props. [1][2][3][4][5][6][7][8][9][10]
src/components/MainComponent.vue: This component was updated to handle the API call and pass the metrics data to the child components. It also handles API errors and displays a progress bar until the metrics data is ready. [1][2]
This pull request includes changes to the GitHub Copilot metrics viewer application. The changes are focused on improving the code structure, updating the application version, and removing an old and not used the Azure Static Web Apps CI/CD workflow. The most important changes include updating the application version and refactoring the Vue components to improve the code structure and readability.
Removal of Azure Static Web Apps CI/CD workflow:
.github/workflows/azure-static-web-apps-red-forest-047f4de10.yml
: The entire Azure Static Web Apps CI/CD workflow has been removed. This suggests a change in the deployment process of the application.Package version upgrade:
package.json
: The version ofcopilot-metrics-viewer
has been updated from0.1.0
to1.2.0
. This indicates the introduction of new features or significant changes.Addition of new component:
src/components/ApiResponse.vue
: A new componentApiResponse.vue
has been added to display the JSON object of the metrics data.Major modifications to existing components:
src/components/CopilotChatViewer.vue
: This component underwent significant changes, including the removal of error handling code, the addition of props for passing metrics data, changes to the setup function to use the passed props, and changes to the chart data generation code to use the passed props. [1] [2] [3] [4] [5] [6] [7]src/components/LanguagesBreakdown.vue
: Similar toCopilotChatViewer.vue
, this component also had significant changes, including the removal of error handling code, the addition of props for passing metrics data, changes to the setup function to use the passed props, and changes to the chart data generation code to use the passed props. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]src/components/MainComponent.vue
: This component was updated to handle the API call and pass the metrics data to the child components. It also handles API errors and displays a progress bar until the metrics data is ready. [1] [2]