Skip to content

Add shared pagination constants and update all tables to use them #1612

@joshdimanteto

Description

@joshdimanteto

Introduce shared constants for pagination options and update all table components to use them.

export const ROWS_PER_PAGE_OPTIONS = [30, 45, 60];
export const DEFAULT_ROWS_PER_PAGE_VALUE = ROWS_PER_PAGE_OPTIONS[0];

These values were chosen because users wanted to view more rows in tables within dialogs. The values match the Catalogue category card view and should be applied consistently across all table views and card views.

Search for all places where rowsPerPageOptions and the default page size are hardcoded.
Ensure tests and snapshots are updated accordingly.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions