forked from github-copilot-resources/copilot-metrics-viewer
-
Notifications
You must be signed in to change notification settings - Fork 3
Add multi-teams support for metrics viewer #14
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
Open
DevOps-zhuang
wants to merge
75
commits into
main
Choose a base branch
from
add-multi-teams-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Piotr Karpala <[email protected]>
Signed-off-by: Piotr Karpala <[email protected]>
…esources/feature/portal Better UI for Azure deployments
…esources/fix/fixed-footer Fix for the footer and release action
Signed-off-by: Piotr Karpala <[email protected]>
…esources/version-update-v1.9.1 v1.9.1
…esources/bugfix/latest-tag include latest tag
…-resources#163) Signed-off-by: Piotr Karpala <[email protected]>
Minor Edit Add your Github project URL as a link I find it useful to refer to your github repo for this project!
…s and improve metrics fetching logic,so it support non-unicode team names.
…huang/copilot-metrics-viewer into add-multi-teams-support
…ys, and filter data when clicking cards
…ys, and filter data when clicking cards
…huang/copilot-metrics-viewer into add-multi-teams-support
…and loading states - Updated MultiTeamsMetricsViewer.vue to display organization name in the title and improved team selection logic. - Added loading state for metrics fetching and improved error handling. - Introduced API endpoint for fetching team metrics with support for mocked data. - Refactored team fetching logic to handle both configured and API-fetched teams. - Improved metrics calculation and display logic for better user experience. - Updated nuxt.config.ts to support environment variable overrides for configuration.
… based on the URL path now.
…pe,only show it when scope is not enterprise
…s when selecting teams.
… from GitHub API and improve error handling
…and improved filtering
…g and organization query extraction
…t,reuse existing code
… improve display name logic,so when team is set in .env, it will displayed
…fetch logic for team data retrieval,so for team/org/enterprise level, the behavior is similar now
…ation and enhance toolbar styling for better visibility
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for multiple teams in the metrics viewer.
API Changes:
getTeams
function insrc/api/GitHubApi.ts
to return team names.getTeamMetricsApi
to handle multiple teams.getMultipleTeamsMetricsApi
function to fetch metrics for multiple teams.Component Changes:
src/components/MainComponent.vue
to select multiple teams.setup
function to fetch and display metrics data for selected teams.MultiTeamsMetricsViewer.vue
to display multi-teams metrics information.Configuration Changes:
src/config.ts
.VUE_APP_SHOW_MULTIPLE_TEAMS
in.env
andsrc/config.ts
.Documentation:
README.md
to describe metrics for multiple teams and the newVUE_APP_SHOW_MULTIPLE_TEAMS
parameter.