Skip to content

Conversation

rr-paras-patel
Copy link
Contributor

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:

  • Added tooltips to metrics such as "Cumulative Number of Turns," "Cumulative Number of Acceptances," and chart titles to provide detailed descriptions of their significance and context. [1] [2] [3]

Enhancements to MetricsViewer.vue:

  • Integrated tooltips for metrics like "Acceptance Rate (by count)," "Total Lines of Code Suggested," and corresponding charts to explain their relevance and usage scenarios. [1] [2] [3]

Enhancements to SeatsAnalysisViewer.vue:

  • Added tooltips for metrics such as "Total Assigned," "Assigned But Never Used," and "No Activity in the Last 30 days" to clarify their meaning and provide additional context about seat usage and activity. [1] [2] [3]

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.
@rr-paras-patel
Copy link
Contributor Author

Is there any active maintainer for this repo ?

@karpikpl
Copy link
Collaborator

karpikpl commented Jul 1, 2025

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 karpikpl merged commit 9f039dc into github-copilot-resources:main Jul 1, 2025
3 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.

2 participants