Skip to content

feat(usage): split usage analysis view into 3 tabs#540

Merged
rajbos merged 1 commit intomainfrom
rajbos/rabbinistic-chaya
Apr 1, 2026
Merged

feat(usage): split usage analysis view into 3 tabs#540
rajbos merged 1 commit intomainfrom
rajbos/rabbinistic-chaya

Conversation

@rajbos
Copy link
Copy Markdown
Owner

@rajbos rajbos commented Apr 1, 2026

Summary

The Usage Analysis view was getting very long — 9 major sections on a single scrolling page. This PR splits it into 3 focused subtabs so users can find what they need without scrolling through everything.

Tabs

Tab Sections
📊 My Activity Sessions Summary · Interaction Modes · Context References · Multi-Model Usage
🔧 Tools & Integrations Tool Usage · MCP Tools
🏗️ Workspace Health Copilot Customization Files · Missed Potential · Repository Hygiene

Details

  • Active tab persists across stats refreshes (module-level activeTab state)
  • The Tools & Integrations tab is automatically activated when the extension sends a highlightUnknownTools message
  • Tab CSS follows the existing VS Code theme variable conventions (--text-primary, --link-color, --border-color, etc.)
  • Build passes cleanly (TypeScript, ESLint, esbuild)

Files changed

  • vscode-extension/src/webview/usage/main.ts — restructured renderLayout(), added setupTabs(), updated highlightUnknownTools handler
  • vscode-extension/src/webview/usage/styles.css — added .tab-bar, .tab-button, .tab-button.active styles

Split the Usage Analysis webview into three subtabs:
- 📊 My Activity: Sessions Summary, Interaction Modes, Context References, Multi-Model Usage
- 🔧 Tools & Integrations: Tool Usage, MCP Tools
- 🏗️ Workspace Health: Copilot Customization Files, Missed Potential, Repository Hygiene

Active tab persists across stats refreshes. The Tools tab is
automatically activated when highlighting unknown MCP tools.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rajbos rajbos force-pushed the rajbos/rabbinistic-chaya branch from 607b49e to 3e367ab Compare April 1, 2026 21:01
@rajbos rajbos merged commit bae8243 into main Apr 1, 2026
17 checks passed
@rajbos rajbos deleted the rajbos/rabbinistic-chaya branch April 1, 2026 21:08
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.

1 participant