Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to Enterprise level metrics #23

Merged
merged 6 commits into from
Apr 30, 2024

Conversation

martedesco
Copy link
Collaborator

This pull request introduces changes to enhance the functionality of the application and improve the user experience. The most significant changes include the addition of environment variables to control the scope of API calls and changes to the API to support different scopes. These changes allow the application to target API calls to either an enterprise or an organization.

Environment Variables and API Calls:

  • .env: Introduced new environment variables VUE_APP_SCOPE and VUE_APP_GITHUB_ENT to determine the scope of the API calls and the enterprise or organization name to target API calls, respectively.
  • src/api/GitHubApi.ts: Renamed getGitHubCopilotMetricsApi to getMetricsApi and modified it to use the new environment variables to determine the API endpoint. Also, added a new method getTeams to fetch teams data. [1] [2]

User Interface and User Experience:

Documentation and Version Updates:

  • README.md: Updated the setup instructions to include the new environment variables and their usage. Also, updated the "Coming next" section. [1] [2]
  • package.json: Updated the project version from 1.2.0 to 1.4.0 - preparing for release.

Minor Changes:

  • public/index.html: Updated the favicon from .ico to .svg.
  • Removed src/components/RawDataViewer.vue file.

@martedesco martedesco force-pushed the feature/enterprise-team-slice-calls branch from 05bc745 to b10cbee Compare April 30, 2024 17:24
@martedesco martedesco merged commit f227a05 into main Apr 30, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant