-
Notifications
You must be signed in to change notification settings - Fork 273
Feat/tooltips for metrics definition #208
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
Merged
karpikpl
merged 3 commits into
github-copilot-resources:main
from
rr-paras-patel:feat/tooltips-for-metrics-definition
Jul 1, 2025
Merged
Feat/tooltips for metrics definition #208
karpikpl
merged 3 commits into
github-copilot-resources:main
from
rr-paras-patel:feat/tooltips-for-metrics-definition
Jul 1, 2025
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
Enhanced the CopilotChatViewer component by adding tooltips to the cumulative number of turns, cumulative number of acceptances, and total active users sections. Each tooltip provides a brief description of the respective metrics, improving user understanding of the displayed data.
Implemented tooltips for various metrics in the MetricsViewer component, including Acceptance Rate, Total Suggestions Count, and Total Lines Suggested. Each tooltip provides detailed descriptions of the metrics, improving clarity and user guidance for interpreting the displayed data.
Enhanced the SeatsAnalysisViewer component by incorporating tooltips for various metrics, including Total Assigned, Assigned But Never Used, No Activity in the Last 7 days, and No Activity in the Last 30 days. Each tooltip provides detailed descriptions, aiding users in understanding the significance of the displayed metrics.
Is there any active maintainer for this repo ? |
Thanks for the PR! @rr-paras-patel have you verified tooltips with the official GH docs? GH Schema```json { "type": "array", "items": { "title": "Copilot Usage Metrics", "description": "Copilot usage metrics for a given day.", "type": "object", "properties": { "date": { "type": "string", "format": "date", "description": "The date for which the usage metrics are aggregated, in `YYYY-MM-DD` format." }, "total_active_users": { "type": "integer", "description": "The total number of Copilot users with activity belonging to any Copilot feature, globally, for the given day. Includes passive activity such as receiving a code suggestion, as well as engagement activity such as accepting a code suggestion or prompting chat. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." }, "total_engaged_users": { "type": "integer", "description": "The total number of Copilot users who engaged with any Copilot feature, for the given day. Examples include but are not limited to accepting a code suggestion, prompting Copilot chat, or triggering a PR Summary. Does not include authentication events. Is not limited to the individual features detailed on the endpoint." }, "copilot_ide_code_completions": { "type": [ "object", "null" ], "description": "Usage metrics for Copilot editor code completions in the IDE.", "additionalProperties": true, "properties": { "total_engaged_users": { "type": "integer", "description": "Number of users who accepted at least one Copilot code suggestion, across all active editors. Includes both full and partial acceptances." }, "languages": { "type": "array", "description": "Code completion metrics for active languages.", "items": { "type": "object", "description": "Usage metrics for a given language for the given editor for Copilot code completions.", "properties": { "name": { "type": "string", "description": "Name of the language used for Copilot code completion suggestions." }, "total_engaged_users": { "type": "integer", "description": "Number of users who accepted at least one Copilot code completion suggestion for the given language. Includes both full and partial acceptances." } } } }, "editors": { "type": "array", "items": { "type": "object", "description": "Copilot code completion metrics for active editors.", "additionalProperties": true, "properties": { "name": { "type": "string", "description": "Name of the given editor." }, "total_engaged_users": { "type": "integer", "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor. Includes both full and partial acceptances." }, "models": { "type": "array", "description": "List of model metrics for custom models and the default model.", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the model used for Copilot code completion suggestions. If the default model is used will appear as 'default'." }, "is_custom_model": { "type": "boolean", "description": "Indicates whether a model is custom or default." }, "custom_model_training_date": { "type": [ "string", "null" ], "description": "The training date for the custom model." }, "total_engaged_users": { "type": "integer", "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language and model. Includes both full and partial acceptances." }, "languages": { "type": "array", "description": "Code completion metrics for active languages, for the given editor.", "items": { "type": "object", "description": "Usage metrics for a given language for the given editor for Copilot code completions.", "properties": { "name": { "type": "string", "description": "Name of the language used for Copilot code completion suggestions, for the given editor." }, "total_engaged_users": { "type": "integer", "description": "Number of users who accepted at least one Copilot code completion suggestion for the given editor, for the given language. Includes both full and partial acceptances." }, "total_code_suggestions": { "type": "integer", "description": "The number of Copilot code suggestions generated for the given editor, for the given language." }, "total_code_acceptances": { "type": "integer", "description": "The number of Copilot code suggestions accepted for the given editor, for the given language. Includes both full and partial acceptances." }, "total_code_lines_suggested": { "type": "integer", "description": "The number of lines of code suggested by Copilot code completions for the given editor, for the given language." }, "total_code_lines_accepted": { "type": "integer", "description": "The number of lines of code accepted from Copilot code suggestions for the given editor, for the given language." } } } } } } } } } } } }, "copilot_ide_chat": { "type": [ "object", "null" ], "description": "Usage metrics for Copilot Chat in the IDE.", "additionalProperties": true, "properties": { "total_engaged_users": { "type": "integer", "description": "Total number of users who prompted Copilot Chat in the IDE." }, "editors": { "type": "array", "items": { "type": "object", "description": "Copilot Chat metrics, for active editors.", "properties": { "name": { "type": "string", "description": "Name of the given editor." }, "total_engaged_users": { "type": "integer", "description": "The number of users who prompted Copilot Chat in the specified editor." }, "models": { "type": "array", "description": "List of model metrics for custom models and the default model.", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." }, "is_custom_model": { "type": "boolean", "description": "Indicates whether a model is custom or default." }, "custom_model_training_date": { "type": [ "string", "null" ], "description": "The training date for the custom model." }, "total_engaged_users": { "type": "integer", "description": "The number of users who prompted Copilot Chat in the given editor and model." }, "total_chats": { "type": "integer", "description": "The total number of chats initiated by users in the given editor and model." }, "total_chat_insertion_events": { "type": "integer", "description": "The number of times users accepted a code suggestion from Copilot Chat using the 'Insert Code' UI element, for the given editor." }, "total_chat_copy_events": { "type": "integer", "description": "The number of times users copied a code suggestion from Copilot Chat using the keyboard, or the 'Copy' UI element, for the given editor." } } } } } } } } }, "copilot_dotcom_chat": { "type": [ "object", "null" ], "description": "Usage metrics for Copilot Chat in GitHub.com", "additionalProperties": true, "properties": { "total_engaged_users": { "type": "integer", "description": "Total number of users who prompted Copilot Chat on github.com at least once." }, "models": { "type": "array", "description": "List of model metrics for a custom models and the default model.", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the model used for Copilot Chat. If the default model is used will appear as 'default'." }, "is_custom_model": { "type": "boolean", "description": "Indicates whether a model is custom or default." }, "custom_model_training_date": { "type": [ "string", "null" ], "description": "The training date for the custom model (if applicable)." }, "total_engaged_users": { "type": "integer", "description": "Total number of users who prompted Copilot Chat on github.com at least once for each model." }, "total_chats": { "type": "integer", "description": "Total number of chats initiated by users on github.com." } } } } } }, "copilot_dotcom_pull_requests": { "type": [ "object", "null" ], "description": "Usage metrics for Copilot for pull requests.", "additionalProperties": true, "properties": { "total_engaged_users": { "type": "integer", "description": "The number of users who used Copilot for Pull Requests on github.com to generate a pull request summary at least once." }, "repositories": { "type": "array", "description": "Repositories in which users used Copilot for Pull Requests to generate pull request summaries", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Repository name" }, "total_engaged_users": { "type": "integer", "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository." }, "models": { "type": "array", "description": "List of model metrics for custom models and the default model.", "items": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the model used for Copilot pull request summaries. If the default model is used will appear as 'default'." }, "is_custom_model": { "type": "boolean", "description": "Indicates whether a model is custom or default." }, "custom_model_training_date": { "type": [ "string", "null" ], "description": "The training date for the custom model." }, "total_pr_summaries_created": { "type": "integer", "description": "The number of pull request summaries generated using Copilot for Pull Requests in the given repository." }, "total_engaged_users": { "type": "integer", "description": "The number of users who generated pull request summaries using Copilot for Pull Requests in the given repository and model." } } } } } } } } } }, "required": [ "date" ], "additionalProperties": true } } ```Some of the fields are aggregated and calculated by the app in order to produce breakdowns. |
karpikpl
approved these changes
Jul 1, 2025
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.
This pull request enhances user experience by adding tooltips to various metrics and charts across multiple components. These tooltips provide detailed explanations for each metric, improving clarity and usability for users interacting with the Copilot analytics dashboard.
Enhancements to
CopilotChatViewer.vue
:Enhancements to
MetricsViewer.vue
:Enhancements to
SeatsAnalysisViewer.vue
: