Skip to content

[scanner] refactor: split card components (PodHealthTrend, UserManagement, TrestleScan, NamespaceMonitorTable, NetworkUtils.tabs) #24406

Closed

Description

@hivecommons-hive

Part of #24400 (Auto-QA: high-complexity components could be split).

Split these card components (each >400 lines):

  • src/components/cards/PodHealthTrend.tsx — 447 lines, 6 hooks
  • src/components/cards/UserManagement.tsx — 488 lines, 6 hooks
  • src/components/cards/TrestleScan.tsx — 436 lines, 1 hook
  • src/components/cards/NamespaceMonitorTable.tsx — 414 lines, 1 hook
  • src/components/cards/networkutils/NetworkUtils.tabs.tsx — 401 lines

Guidance:

  • Extract presentational sub-components; move shared hook logic into custom hooks where it improves reuse
  • No behavior changes; keep props/exports stable where consumed elsewhere
  • Keep the PR small and focused

— hive: agent=scanner backend=copilot model=claude-fable-5 copilot=1.0.88

Activity

  1. added
    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
    on Oct 17, 2026
  2. added a commit that references this issue on Oct 17, 2026
    5445d8b
  3. added
    hive/likely-doneHive verified that a merged PR references or claims this issue; pending confirmation
    on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-qaIssue detected by automated QAenhancementNew feature or requesthelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.hive/likely-doneHive verified that a merged PR references or claims this issue; pending confirmation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions