Skip to content

feat: configurable tabs via NUXT_PUBLIC_HIDDEN_TABS + bump version to 3.1.0#337

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/feature-configurable-tabs
Draft

feat: configurable tabs via NUXT_PUBLIC_HIDDEN_TABS + bump version to 3.1.0#337
Copilot wants to merge 2 commits intomainfrom
copilot/feature-configurable-tabs

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

Tabs are hardcoded in MainComponent.vue, making it impossible to customize the dashboard without rebuilding from source — particularly problematic for pre-built Docker deployments.

Changes

  • nuxt.config.ts — Added hiddenTabs: '' to runtimeConfig.public, mapped to NUXT_PUBLIC_HIDDEN_TABS
  • MainComponent.vue — Filters tabItems in created() using hiddenTabs config; comma-separated, case-insensitive, applied after scope/teams tabs are inserted
  • .env — Documents the new variable with available tab names
  • package.json — Version 3.0.03.1.0
  • tests/MainComponent.hiddenTabs.spec.ts — 8 Vitest unit tests covering single/multi-hide, case-insensitivity, whitespace handling, and unknown tab names
  • playwright.config.ts + e2e-tests/configurable-tabs.spec.ts — E2E test sets NUXT_PUBLIC_HIDDEN_TABS=agent activity and asserts the tab is absent while others remain visible

Usage

# In .env or container environment — no rebuild required
NUXT_PUBLIC_HIDDEN_TABS=api response,agent activity

Available values: languages, editors, copilot chat, agent activity, pull requests, github.com, seat analysis, user metrics, api response

Screenshot

Dashboard with NUXT_PUBLIC_HIDDEN_TABS=agent activity,api response:

Configurable tabs

Copilot AI linked an issue Apr 10, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add configurable tabs for better customization feat: configurable tabs via NUXT_PUBLIC_HIDDEN_TABS + bump version to 3.1.0 Apr 10, 2026
Copilot AI requested a review from karpikpl April 10, 2026 22:54
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.

Feature Request - Config for Tabs

2 participants