Commit 57aa700
Pr 341 - New UI (#343)
* Initial plan
* chore: initial plan for scope simplification
Agent-Logs-Url: https://github.com/github-copilot-resources/copilot-metrics-viewer/sessions/81026c05-5fdd-4927-87d1-7727ce887d45
Co-authored-by: karpikpl <3539908+karpikpl@users.noreply.github.com>
* feat: simplify team scope - replace team-organization/team-enterprise with organization/enterprise + team parameter
Agent-Logs-Url: https://github.com/github-copilot-resources/copilot-metrics-viewer/sessions/81026c05-5fdd-4927-87d1-7727ce887d45
Co-authored-by: karpikpl <3539908+karpikpl@users.noreply.github.com>
* feat: fix SeatsAnalysisViewer isTeamView and add Historical mode warning for team URLs (Phase 3 & 10)
Agent-Logs-Url: https://github.com/github-copilot-resources/copilot-metrics-viewer/sessions/3d48083a-f37a-493a-a0a5-f3cfb5f04a5c
Co-authored-by: karpikpl <3539908+karpikpl@users.noreply.github.com>
* feat: dashboard parity, dark mode, responsive charts, agent activity overhaul
- Restructure Organization tab KPIs: Row 1 shows IDE Active Users, Agent
Adoption %, Most Used Chat Model (matches official dashboard emphasis)
- Add 10 new charts to Organization tab: DAU/WAU lines, avg chat req/user,
requests per chat mode, model usage per day (100% stacked area), chat model
donut, model per chat mode grouped bar, language usage per day (100% stacked
area), language donut, model per language stacked bar
- Add help links bar (How are these calculated / interpret / playbook)
- Add chart layout toggle (1-col / 2-col) for wide screens
- Constrain all chart heights (220-260px) with maintainAspectRatio: false so
charts scale properly and stay compact on wide monitors
- Complete overhaul of AgentActivityViewer: new KPI tiles (Lines changed with
AI, Agent Contribution %, Avg lines deleted per user), 7 charts side-by-side
showing user-initiated vs agent-initiated code changes by mode/model/language
- Fix dark mode: add .v-theme--light/.v-theme--dark CSS variable blocks in
global.css; add moon/sun toggle in MainComponent toolbar; persist in
localStorage via useState('app-theme') in default.vue
- Add dark theme definition to vuetify.config.ts
- Fix theme-aware colors in help links (color=primary variant=tonal)
- Add agent_edit entries to mock data totals_by_language_feature
- Update e2e test selectors for renamed KPI labels and .text-h5 class
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat: weekend shading on charts, 5-tile header KPI row
- Add weekendPlugin: custom Chart.js inline plugin (zero new deps) that
draws subtle grey bands on Saturday/Sunday columns across all 8
date-based Line/Bar charts in MetricsViewer; each chart subtitle
notes 'Shaded columns = weekends' in italic
- Expand header KPI row from 3 to 5 tiles: add 'Most used chat mode'
(feature with highest user-initiated requests) and 'Total chat
requests' (compact-formatted sum of all non-completion interactions)
- Resize Row 1 tiles from 320px → 260px and center container so all
5 tiles fit in a single row on standard monitors
- Fix mock data: add monthly_active_agent_users (5/6 = 83% adoption),
give agent_edit and chat_panel_agent_mode realistic
user_initiated_interaction_count values so KPI tiles show
representative data (claude-opus-4.6, Ask mode, 1.3k requests)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* UI polish: neutral toolbar, grid tiles, gradient fills, system font, hide date range
- Toolbar: color='surface' + bottom border (was indigo)
- v3 migration banner hidden by default (showMigrationBanner: false)
- Date range selector hidden behind calendar toggle icon (showDateRange: false)
- KPI tiles: CSS grid auto-fit layout, removed all fixed widths/heights
- Row 2 tiles: elevation=1, no fixed dimensions, removed dateRangeDescription captions
- Chart.js defaults: system-ui font family, size 12
- gradientFillPlugin: replaces flat rgba with top→bottom gradient on all Line charts with fill:true
- Donut charts: maintainAspectRatio:false + fixed 260px height container for alignment
- All Line charts: [gradientFillPlugin, weekendPlugin] plugins
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix dark mode: surface colors, help panel, Languages/Editors tab content
Dark mode fixes:
- Replace color="white" with color="surface" on all KPI tile cards
(SeatsAnalysisViewer, CopilotChatViewer, PullRequestViewer, TeamsComponent,
UserMetricsViewer, BreakdownComponent)
- Replace color="blue-grey-lighten-5" with color="surface-variant" in
BreakdownComponent CLI summary card
Help panel (MetricsViewer):
- Replace tonal primary card (unreadable dark mode) with outlined neutral card
- Add 2-sentence context: what this dashboard shows and what acceptance rates measure
- Use proper link styling (text-primary span + icon) instead of bare <a> tags
Languages tab (BreakdownComponent):
- Replace minimal v-alert with rich intro card explaining unique value vs Org tab
- Explains what features contribute to language data
Editors tab (BreakdownComponent):
- Rich intro card listing IDE surfaces: VS Code, JetBrains, CLI, GitHub.com, etc.
- Explains why acceptance rates don't apply to CLI/GitHub.com
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix: add copilot_cli display name and rename tile to 'Top Copilot feature'
- Add copilot_cli → 'CLI' to FEATURE_DISPLAY map so real org data shows
'CLI' instead of raw key 'copilot_cli'
- Rename 'Most used chat mode' tile → 'Top Copilot feature' since CLI is
not a chat mode; updated tooltip text accordingly
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: center overview tiles in AgentModeViewer, fix date card dark mode color
- Add justify="center" to v-row so 3 tiles center on wide screens
- Replace color="blue-grey lighten-5" with color="surface-variant" variant="tonal"
so the date range card adapts to dark/light theme
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: remove fixed-width isolated stat card in BreakdownComponent
The single 'Number of X' card had style='width:300px' with mx-auto inside
a CSS grid, making it float as an isolated centered white box.
- Remove inline width/height and mx-auto so the card fills the grid column
- Remove color='surface' variant='elevated' that caused white background in dark mode
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat: unified UI across all tabs + user/chat charts + CLI as editor
Organization tab:
- KPI values get accent colors (text-primary/success/info)
- Long text (model/feature names) use clamp() auto-scaling via .kpi-text-value
Shared chart utilities:
- New app/utils/chartPlugins.ts: weekendPlugin, gradientFillPlugin, PALETTE,
formatCompact, makeLineOptions, makeBarOptions
- MetricsViewer.vue imports from shared utils (removed duplicated plugin defs)
Tab header unification (all tabs now match Organization tab style):
- AgentActivityViewer: replaced tonal primary card with outlined card + description
+ links using text-primary (visible in dark mode)
- CopilotChatViewer: added standard outlined header card
- UserMetricsViewer: added standard outlined header card
Copilot Chat tab (complete rewrite):
- Removed fixed 300px tiles — now uses tiles-container CSS grid
- 3 KPI tiles: Chat Interactions, Code Actions, Action Rate (with progress bar)
- 3 charts: daily interactions line (gradient+weekends), daily active users bar,
daily action rate % line — all responsive with maintainAspectRatio:false
Editors tab:
- CLI (copilot_cli) now injected as a synthetic 'CLI (copilot_cli)' editor row
- Appears in enhanced editor table and top-5 charts, sorted by interactions
User Metrics tab:
- Added top-10 users bar chart (horizontal, Interactions + Copilot LOC)
- Added engagement distribution doughnut (High/Medium/Low/Inactive)
- Fixed tiles: removed fixed width/height + mx-auto, now uses CSS grid
- Added text-primary/success/info colors to KPI values
- Progress bar on Active Users tile
- Removed scoped .tiles-container style that conflicted with global
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* UI polish: unify all tabs, fix KPI colors, gradient toolbar, restyle GitHub.com/Seats/Breakdown
- global.css: explicit text-primary/success/info/error/warning overrides (fixes KPI colors)
- global.css: subtle gradient on .app-toolbar for modern look
- MainComponent.vue: add app-toolbar class to v-toolbar
- All info panels: flex:1 on description div so it grows, LEARN MORE stays compact
- AgentModeViewer: full restyle - info header, unified KPI tiles with colors,
cards-with-titles for all charts/tables, removed v-main/v-container wrapper
- SeatsAnalysisViewer: full restyle - info header with LEARN MORE links,
unified KPI tiles with colored values (blue/yellow/red), cards for chart+table,
removed mx-auto + inline width/height
- BreakdownComponent: Top Language/Editor KPI tile, color-coded feature chips,
info panel moved full-width above charts, all charts wrapped in v-card,
removed v-main/v-container wrapper, standardized mx-4 margins
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* UI: add chart size toggle and consistent containers to all tabs
- Fix AgentActivityViewer missing chartColumns in return statement
- Add v-container + v-btn-toggle to PullRequestViewer, AgentModeViewer,
SeatsAnalysisViewer, UserMetricsViewer, BreakdownComponent
- Make chart cols responsive to chartColumns (1-col or 2-col layout)
- All components now match MetricsViewer's px-4 elevation-2 container pattern
- All 281 unit tests passing
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix: x-axis dates missing (d.date -> d.day) + chart card alignment
- Fix critical bug: MetricsViewer was using d.date which doesn't exist
on ReportDayTotals (the field is d.day), causing all chart x-axis labels
to be empty strings
- Add explicit x: { ticks: { maxTicksLimit: 14 } } to all MetricsViewer
chart options to ensure x-axis labels always render
- Add legend: { position: 'bottom' } consistently across all options
- Add d-flex + flex-grow-1 to chart cards so pairs in same visual row
stretch to equal height, fixing the alignment mismatch
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Fix: align Organization tab chart styles with other tabs
- Add y-axis title 'Users' to IDE DAU/WAU charts (matches AgentModeViewer)
- Add interaction: { mode: 'index', intersect: false } for consistent
cross-hair tooltips across line charts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Models tab: charts side by side, tables full-width underneath
- Lines Added by Feature and Lines Added by Model now share a row
- Feature Summary and Model Summary each take full width, stacked below
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Toolbar: blue gradient in light mode
Light mode toolbar uses a blue gradient (1565c0→1976d2→1e88e5).
Dark mode keeps existing charcoal (#1a1b2e).
White text/icons remain unchanged on both.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Remove Least-Used Languages/IDEs section
Removes the '5 Least-Used' bar chart from both Languages and Editors tabs.
Cleans up the ref declaration, both computed blocks, and the template row.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add full-width chart toggle option to all tabs
Third toggle button (mdi-fullscreen) sets chartColumns='full':
- Container becomes fluid with px-0 (no side margins)
- Charts expand to full page width
- BreakdownComponent mx-4 table wrapper also removed in full mode
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat: add LOC suggested/added splits, P3 info card, P4 trend arrows
AgentActivityViewer:
- Add Suggested vs Added split to user-initiated per-model and per-language charts
- Add Added vs Deleted split to agent-initiated per-model and per-language charts
- Add new aggregate summary charts: user-initiated by mode (Suggested/Added)
and agent-initiated by mode (Added/Deleted) alongside existing time series
- Add chart_panel_edit_mode and chat_panel_plan_mode to FEATURE_DISPLAY map
- Update chart subtitles to better describe what each chart shows
AgentModeViewer:
- Add premium requests info card (v-alert) at bottom of Models tab
with dynamic billing settings link and model multipliers docs link
MetricsViewer:
- Add KPI trend arrows (first-half vs second-half comparison) on 4 tiles:
IDE Active Users, Agent Adoption %, Total Chat Requests, Acceptance Rate
- Add chat_panel_plan_mode to FEATURE_DISPLAY map
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix
* fix: address PR #343 review comments
- e2e-tests/pages/DashboardPage.ts: update KPI locators from .text-h5
to .kpi-value-sm to match redesigned tile structure (fixes storage
pipeline test failure)
- app/components/MetricsViewer.vue: replace no-op map+standalone
expression with forEach for cumulativeNumberLOCAccepted
- app/components/CopilotChatViewer.vue: convert setup() snapshot reads
to watchEffect so KPI values and charts react to prop updates
- app/model/Options.ts: validate rawScope against allowed values
before assigning; unknown values default to 'organization'
- app/assets/global.css: scope font-family override to
:not(.v-icon):not(.mdi) to preserve MDI icon rendering
- app/plugins/suppress-devtools-warn.client.ts: remove plugin per
review feedback
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: update all e2e page object locators for redesigned KPI tiles
The UI redesign replaced .text-h4/.text-h5 value elements with
.kpi-value and .kpi-value-sm classes, and renamed 'Cumulative Chat
Interactions' to 'Chat Interactions'.
Update all stale locators across e2e page objects:
- CopilotChatTab.ts: 'Cumulative Chat Interactions' → 'Chat Interactions', .text-h4 → .kpi-value
- GitHubTab.ts: same label/class rename
- EditorsTab.ts: .text-h4 → .kpi-value
- LanguagesTab.ts: .text-h4 → .kpi-value
- SeatAnalysisTab.ts: .text-h4 → .kpi-value
- UserMetricsTab.ts: all three KPI values .text-h4 → .kpi-value
- real-data-teams.spec.ts: two inline .text-h4 → .kpi-value
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* refactor: rename github-tab → models-tab; GitHubTab → ModelsTab; .github-com-container → .models-container
- Rename e2e-tests/github-tab.spec.ts → models-tab.spec.ts
- Rename e2e-tests/pages/GitHubTab.ts → ModelsTab.ts (class GitHubTab → ModelsTab)
- Update DashboardPage.ts: githubTabLink → modelsTabLink, gotoGitHubTab() → gotoModelsTab(), tab name 'github.com' → 'models'
- Add class='models-container' to AgentModeViewer.vue root div (was unclassed)
- Replace .github-com-container with .models-container throughout
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat: reorganize charts between Organization and Models tabs
- Move Active Users Over Time from Models tab to Organization tab
- Move Feature Usage Over Time (expanded to all features) to Organization tab
- Move 3 model charts (Model Usage Per Day, Chat Model Usage, Model Usage
Per Chat Mode) from Organization tab to Models tab via new reportData prop
- Add Feature Activity Breakdown bar chart to Organization tab
- Shared y-axis scale for IDE DAU/WAU charts
- Clean up unused imports/refs from MetricsViewer (ArcElement, Doughnut,
stackedAreaOptions, donutOptions, model chart refs)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chore: bump version to 3.3.0
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: make 'Requests per chat mode' full-width to avoid empty column
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: apply full-width mode to table containers in UserMetricsViewer
Both table containers (Per-User Metrics and User Metrics History) now
use :fluid="chartColumns === 'full'" matching the charts container,
so the full-width toggle consistently affects all sections.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(e2e): fix stale locators in models-tab spec
- statisticsTitle: was looking for non-existent 'Copilot Statistics' h2;
now targets the always-present info panel heading in .models-container
- featureUsageTitle: 'Feature Usage Over Time' moved to Org tab; now
targets 'Top Models by Interactions' v-card-title in Models tab
- activeUsersTitle: 'Active Users Over Time' moved to Org tab; now
targets 'Model Usage Per Day' v-card-title in Models tab
- modelFeatureTitle / featureSummaryTitle / modelSummaryTitle: were using
h2 selector but v-card-title renders as div; switched to .v-card-title
- gotoModelsTab: no longer wastes 15s timing out on missing statisticsTitle
- beforeAll .v-card-title wait: made non-fatal (.catch) so webkit CI
slowness can't cause a cascade failure of all serial tests
- expectChartSectionsVisible: accepts any v-card-title in models-container
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(e2e): fix allModelsCard locator — card title is 'Unique Models' not 'All Models'
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat(charts): fix acceptance rate y-axis — set max to 120% with % tick labels
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat(charts): use 120% max on all percentage y-axes for visual headroom
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: refresh all README screenshots with current UI and anonymized org/user names
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: refresh screenshots — models tab rename, feature usage & active users charts, date range filter
- Rename github-com-tab → models-tab, remove expanded screenshot
- main-metrics-dashboard: full page org tab
- Total_suggestions_count: now shows Feature Usage Over Time chart
- Acceptance_rate_bycount: now shows Active Users Over Time chart
- date-range-filter: now shows picker open
- Update README section titles and descriptions to match
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: update csv-export-functionality screenshot with current API response tab
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(preview): use NUXT_PUBLIC_ENABLE_HISTORICAL_MODE to correctly enable teams tab
ENABLE_HISTORICAL_MODE is not picked up by Nuxt public runtimeConfig.
The correct env var is NUXT_PUBLIC_ENABLE_HISTORICAL_MODE which maps to
config.public.enableHistoricalMode, required for teams tab visibility.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(teams): bind :theme to v-autocomplete so dropdown uses correct dark/light mode colors
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat(teams): complete Teams tab redesign — single-team deep dive + comparison mode
- Two modes based on selection count:
- 1 team → deep dive (KPIs, time-series, language donut, editor bar, models bar, user table)
- 2+ teams → comparison (summary cards, overlapping line charts, language/editor/models grouped bars)
- Single-team mode shows:
- 4 KPI tiles: active users, acceptance rate, interactions, top language
- Column toggle (1/2 col) matching org view pattern
- Acceptance rate + active users time-series charts (220px, compact)
- Language distribution donut chart (top 10 by code generations)
- Editor usage horizontal bar chart (interactions per editor)
- Top models by interactions bar chart (from reportData.totals_by_model_feature)
- Language acceptance rates table (top 15 languages)
- Per-user activity table (fetched non-fatally, shows 503 sign-in prompt if needed)
- Comparison mode shows:
- Per-team summary cards (active users, acceptance rate, interactions)
- Acceptance rate + active users overlapping line charts
- Language and editor grouped bar charts
- Models comparison grouped bar chart
- Data improvements:
- PerTeamData now stores reportData: ReportDayTotals[] from API
- Language/editor aggregation prefers new reportData (totals_by_ide,
totals_by_language_feature) with fallback to legacy metrics.breakdown
- Models use reportData.totals_by_model_feature (correct path)
- User metrics fetch is non-fatal; shows contextual error for 503
- perTeamData is reactive ref (was local variable) so all computeds update
- Removed: sequential h2+LineChart layout, Selected Teams Quick Links card,
old summary tiles, unused chart data refs (suggestions, lines, feature usage)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: update Playwright tests for redesigned Teams tab
- 'No Teams Selected' → 'No Team Selected' (single team mode)
- Remove assertions for removed UI elements: 'Selected Teams' section,
'Teams Selected' tile, 'Total Active Users' tile
- Add assertions for new comparison mode: 'Comparison' chip, per-team
summary cards showing team names
- Update chart titles: 'Language/Editor Usage by Team' →
'Language/Editor Usage — by Team' (em dash)
- Replace .comparison-summary-card (non-existent) with card name checks
- Add empty state hints: '1 team → Deep Dive', '2+ teams → Comparison'
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: Teams tab header and KPI tiles match org style
- Replace card-title/subtitle header with outlined info panel matching
Organization Dashboard layout (description text on top, no extra margin)
- Move team selector to its own flat card below the info panel
- Replace v-row/v-col KPI grid with tiles-container + elevation-4 cards
matching org tile style (text-h6 label, kpi-value with color, subtitle)
- Add color/subtitle fields to singleTeamKPIs: Active Users (primary),
Acceptance Rate (success/green), Interactions (primary), Top Language (primary)
- Team header uses outlined compact card with icon, name, date range
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: resolve dateRangeDesc ReferenceError in singleTeamKPIs computed
dateRangeDesc was only defined in the setup() return object, not as a
local variable. The singleTeamKPIs computed threw ReferenceError when
accessing dateRangeDesc.value, causing KPI tiles to not render.
Fix: use props.dateRangeDescription directly inside the computed.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat(teams): add Feature Usage Over Time chart to single-team deep dive
Add a new full-width line chart showing feature interactions per day
(Completions, Chat, Edit, Agent, etc.) between the language/editor row
and the models/language-table row in the Teams single-team deep dive.
- Import PALETTE from chartPlugins for consistent colors
- Add FEATURE_DISPLAY map and featureLabel helper (mirrors MetricsViewer)
- Add singleTeamFeatureUsageData computed from perTeamData[0].reportData
- Chart only renders when feature data is present (v-if guard)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(teams): align team selector card to match other cards (outlined, mx-4)
Replace flat unstyled selector card with outlined variant matching the
Teams Dashboard description card above and team header cards below.
Also use density=compact and flex layout instead of v-row/v-col grid.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat(teams): add Model Usage Over Time chart to fill gap below Top Models
Add a line chart below 'Top Models by Interactions' showing daily model
interaction counts over time (one line per model). Only renders when
model data is present, filling the empty space when Language Acceptance
Rates table is taller than the bar chart.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: add Teams tab screenshots (comparison + single-team deep dive)
- teams-comparison.png: two teams selected side-by-side (My Secrets Team
+ Nested A Team) showing acceptance rate, active users, language,
editor, and model comparison charts
- teams-single-team.png: single team deep dive showing KPI tiles, all
time-series/donut/bar charts including new Feature Usage Over Time
and Model Usage Over Time charts, plus user activity table
User names anonymized; captured from preview deployment.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* docs: update Teams section in README with single-team and comparison screenshots
Replace single 'Teams Comparison' screenshot with two screenshots:
- teams-single-team.png: full deep-dive view (KPI tiles, all charts, user table)
- teams-comparison.png: multi-team side-by-side comparison
Also rename section from 'Teams Comparison' to 'Teams Tab' to reflect
that it now covers both single-team deep dive and comparison modes.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: use 1-day report JSON as mock template; clarify scope/team docs
Agent-Logs-Url: https://github.com/github-copilot-resources/copilot-metrics-viewer/sessions/a6472326-3d05-45a8-9dd2-4134ded24382
Co-authored-by: karpikpl <3539908+karpikpl@users.noreply.github.com>
* feat: remove NUXT_PUBLIC_GITHUB_TEAM UI-lock behavior
The env var's only effect was to lock the UI to a single team view,
hide the Teams tab, rename tabs to 'team', and show a historical warning.
All of this is now superseded by the Teams tab (dynamic selection) and
URL routing (/orgs/x/teams/y). The Options.githubTeam field is kept
for dynamic team queries from the Teams tab and URL params.
Changes:
- MainComponent.vue: remove githubTeam guard on Teams tab, remove
getDisplayTabName team branch, remove showTeamHistoricalWarning banner
- server/middleware/github.ts: remove event.context.team from env var,
remove 'team' scope assignment
- app/pages/index.vue: remove config.public.githubTeam = route.params.team
(Options.fromRoute already handles URL params correctly)
- nuxt.config.ts: remove githubTeam from runtimeConfig.public
- server/tasks/daily-sync.ts, server/sync-entry.ts: remove githubTeam
from syncBulk calls (buildReportUrl ignores teamSlug anyway)
- shared/utils/getDisplayName.ts: remove team name display branch
- DEPLOYMENT.md, README.md: remove NUXT_PUBLIC_GITHUB_TEAM documentation
- tests: update MainComponent.teams.spec.ts and github-middleware.nuxt.spec.ts
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(e2e): update team title test to match removed team name suffix
getDisplayName no longer appends '| Team : <slug>' to the page title
since NUXT_PUBLIC_GITHUB_TEAM was removed. The URL-based team context
is visible in the Teams tab, not the page title.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: karpikpl <3539908+karpikpl@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 18e68b7 commit 57aa700
68 files changed
Lines changed: 4480 additions & 2086 deletions
File tree
- .github/workflows
- app
- assets
- components
- layouts
- model
- pages
- utils
- e2e-tests
- pages
- images
- server
- api
- middleware
- services
- tasks
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
264 | | - | |
| 264 | + | |
265 | 265 | | |
266 | 266 | | |
267 | 267 | | |
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
| 282 | + | |
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
339 | | - | |
| 339 | + | |
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
293 | 292 | | |
294 | 293 | | |
295 | 294 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
| 58 | + | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 82 | + | |
| 83 | + | |
82 | 84 | | |
83 | 85 | | |
84 | | - | |
| 86 | + | |
85 | 87 | | |
86 | 88 | | |
87 | 89 | | |
| |||
102 | 104 | | |
103 | 105 | | |
104 | 106 | | |
105 | | - | |
| 107 | + | |
106 | 108 | | |
107 | | - | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | | - | |
111 | | - | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
117 | 119 | | |
118 | 120 | | |
119 | 121 | | |
| |||
201 | 203 | | |
202 | 204 | | |
203 | 205 | | |
204 | | - | |
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
| |||
214 | 215 | | |
215 | 216 | | |
216 | 217 | | |
217 | | - | |
| 218 | + | |
218 | 219 | | |
219 | | - | |
220 | | - | |
221 | | - | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
222 | 225 | | |
223 | 226 | | |
224 | 227 | | |
| |||
234 | 237 | | |
235 | 238 | | |
236 | 239 | | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | 240 | | |
250 | 241 | | |
251 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
18 | 24 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
30 | 60 | | |
31 | 61 | | |
32 | 62 | | |
| |||
199 | 229 | | |
200 | 230 | | |
201 | 231 | | |
202 | | - | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
203 | 273 | | |
204 | 274 | | |
205 | 275 | | |
| |||
209 | 279 | | |
210 | 280 | | |
211 | 281 | | |
212 | | - | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
0 commit comments