Skip to content

Refactor Settings page with tabbed layout and absorb API Keys #302

Closed

Description

@vybe

Summary

The Settings page (/settings) has grown to 2,600+ lines with 12+ sections stacked vertically. The API Keys page (/api-keys) is a separate route but logically belongs under Settings. Refactor Settings into a clean tabbed layout and move API Keys into it.

Current State

Settings page has these sections in a single scrollable view:

  1. Platform (Public URL)
  2. API Keys (Anthropic, GitHub PAT)
  3. Slack Integration
  4. Claude Subscriptions
  5. Trinity Prompt
  6. Email Whitelist
  7. User Management
  8. GitHub Templates
  9. SSH Access
  10. Agent Quotas
  11. Skills Library
  12. Default Avatars

API Keys page (/api-keys) is a separate nav item managing MCP API keys (create, revoke, delete, usage tracking, MCP config display).

Proposed Changes

1. Add tabbed navigation to Settings

Group related sections into tabs:

Tab Sections
General Platform, Trinity Prompt, Default Avatars
Access Email Whitelist, User Management, SSH Access
Integrations API Keys (Anthropic/GitHub), Slack, Claude Subscriptions
MCP Keys Current API Keys page content (create/revoke MCP keys, connection info)
Agents Agent Quotas, Skills Library, GitHub Templates

2. Absorb API Keys page into Settings

  • Move MCP key management into the "MCP Keys" tab
  • Remove /api-keys route (or redirect to /settings?tab=mcp-keys)
  • Remove "Keys" nav item from NavBar

3. Extract tab content into sub-components

Break the 2,600-line monolith into focused components:

  • settings/GeneralTab.vue
  • settings/AccessTab.vue
  • settings/IntegrationsTab.vue
  • settings/McpKeysTab.vue
  • settings/AgentsTab.vue

Access Control Note

Settings is currently admin-only. MCP Keys (/api-keys) is available to all authenticated users. When merging, either:

  • Keep the MCP Keys tab visible to all users while other tabs are admin-only
  • Or keep a lightweight /api-keys redirect for non-admin users

Acceptance Criteria

  • Settings page uses tabbed navigation with URL query param (?tab=)
  • All 12+ sections organized into logical tabs
  • MCP API Keys management moved into Settings
  • Each tab is a separate Vue component (no 2,600-line monolith)
  • NavBar simplified (remove "Keys" link)
  • Non-admin users can still access MCP key management
  • No functionality lost in the migration

Labels

enhancement, frontend, P1b

Activity

  1. added
    enhancement
    frontend
    on Apr 11, 2026
  2. pavshulin commented on May 7, 2026

    @pavshulin
    Contributor

    /claim

  3. github-actions commented on May 7, 2026

    @github-actions

    Claimed by @pavshulin. Label status-in-progress added.

    Next steps:

    1. Create branch: feature/302-<short-slug>
    2. Implement the feature
    3. Open a PR with Fixes #302
  4. added
    status-in-progress
    on May 7, 2026
  5. added
    status-in-dev
    and removed
    status-in-progress
    on May 7, 2026
  6. added a commit that references this issue on May 8, 2026
  7. vybe commented on Jun 1, 2026

    @vybe
    ContributorAuthor

    Shipped in v0.6.0 (released via #998).

  8. added
    complexity-medium
    theme-devex
    and removed
    status-in-dev
    on Jun 1, 2026
  9. added a commit that references this issue on Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

complexity-mediumenhancementfrontendtheme-devex

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions