feat: configurable tabs via NUXT_PUBLIC_HIDDEN_TABS + bump version to 3.1.0#337
Draft
feat: configurable tabs via NUXT_PUBLIC_HIDDEN_TABS + bump version to 3.1.0#337
Conversation
… version to 3.1.0 Agent-Logs-Url: https://github.com/github-copilot-resources/copilot-metrics-viewer/sessions/a8b0e8fc-911c-4740-a466-daf75a648226 Co-authored-by: karpikpl <3539908+karpikpl@users.noreply.github.com>
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
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
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.
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— AddedhiddenTabs: ''toruntimeConfig.public, mapped toNUXT_PUBLIC_HIDDEN_TABSMainComponent.vue— FilterstabItemsincreated()usinghiddenTabsconfig; comma-separated, case-insensitive, applied after scope/teams tabs are inserted.env— Documents the new variable with available tab namespackage.json— Version3.0.0→3.1.0tests/MainComponent.hiddenTabs.spec.ts— 8 Vitest unit tests covering single/multi-hide, case-insensitivity, whitespace handling, and unknown tab namesplaywright.config.ts+e2e-tests/configurable-tabs.spec.ts— E2E test setsNUXT_PUBLIC_HIDDEN_TABS=agent activityand asserts the tab is absent while others remain visibleUsage
# In .env or container environment — no rebuild required NUXT_PUBLIC_HIDDEN_TABS=api response,agent activityAvailable values:
languages,editors,copilot chat,agent activity,pull requests,github.com,seat analysis,user metrics,api responseScreenshot
Dashboard with
NUXT_PUBLIC_HIDDEN_TABS=agent activity,api response: