Skip to content

[BYOC] Bulk assign cards - Release 2: Extract GenericTable component from WorkspaceCompanyCardsList #77821

Closed

Description

@ikevin127

Part of the [BYOC] Bulk Assign Cards project

Main issue: N/A
Doc section: https://docs.google.com/document/d/1QvPyl4w3-1hmi0i5xnmcMuF7yQKSrqMMSjAvOmWnppY/edit?tab=t.0#bookmark=id.4rl584udbgte
Project: [BYOC] Bulk Assign Cards

Feature Description

Extracts table functionality from WorkspaceCompanyCardsList into a reusable GenericTable component with built-in search, filter buttons, and sortable column headers.

New Components

  • src/components/GenericTable/index.tsx
    • Main table component
  • src/components/GenericTable/FilterButtons.tsx
    • Toggle filter buttons
  • src/components/GenericTable/types.ts
    • Type definitions

Changes

  • Refactored WorkspaceCompanyCardsList to use GenericTable
  • No visual changes to the UI

Manual Test Steps

[NoQA]

Automated Tests

Added 14 unit tests for GenericTable and FilterButtons.

Activity

  1. ikevin127 commented on Dec 17, 2025

    @ikevin127
    ContributorAuthor

    ❌ Closing this issue as the PR is being worked on here.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions