Skip to content

Improvement: There is no pagination on the organization page #1463

Closed

Description

@MohRamadan24

What should be improved?

The table of the organization member should be displayed on the pagination.

Current behavior

All member displayed on the table, no matter how much the data is.

Proposed change

Should using pagination so the user will take less time to load if there is too much data on the table, and will boot the readibility

Affected service

Platform

Before submitting

  • I searched existing issues and this hasn't been suggested yet.

Activity

  1. yannickmonney commented on May 31, 2026

    @yannickmonney
    Contributor

    Triaged — valid improvement, keeping open. The org members table renders all rows with no pagination, and the backing query is capped at 100 — so large orgs would be truncated. This needs server-side pagination wired into the members table. Assigned to me.

  2. yannickmonney commented on Jun 1, 2026

    @yannickmonney
    Contributor

    Triaged — scoped. The org members table (members-settings.tsx) loads via useMembers → members.queries.listByOrganization, which fetches up to 100 in one shot and returns a flat array; the DataTable is rendered with infiniteScroll.hasMore=false. To paginate: add a listByOrganizationPaginated Convex query using .paginate() (mirror prompts/queries.ts::listPrompts), a useMembersPaginated hook via useCachedPaginatedQuery, and wire loadMore/hasMore into the table. Self-contained improvement; keeping assigned to do as a focused PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

improvementpriority: lowservice: platform

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions