Skip to content

perf: use pagination in sidebar user lists - #2965

Merged
JammingBen merged 9 commits into
mainfrom
feat/sidebar-user-lists-pagination
Jul 30, 2026
Merged

perf: use pagination in sidebar user lists#2965
JammingBen merged 9 commits into
mainfrom
feat/sidebar-user-lists-pagination

Conversation

@JammingBen

@JammingBen JammingBen commented Jul 28, 2026

Copy link
Copy Markdown
Member

Description

Add pagination for the following sidebar user lists:

  • [files] shares panel
  • [files] space members panel
  • [admin-settings] space members panel
  • [admin-settings] group members panel

This improves overall UI responsiveness when have larger lists >50 users.

Also move some of the repeated logic to own components/composables so it becomes reusable:

  • OcPaginationInline to display a locally/in-place paginated list navigation (the existing OcPagination component works with router-based navigation).
  • useLocalPagination to paginate a local list of items in memory.
  • useFilterHighlight to highlight occurrences of a filter result.

See individual commits for more detail.

How has this been tested

  • Add 100 users to a group and open the group members panel
  • Add 20 shares to a files and open the sharing panel
  • Add 20 members to a space and open the members panels (files & admin-settings)

closes #2970

@JammingBen
JammingBen force-pushed the feat/sidebar-user-lists-pagination branch from e056147 to 82a5bcf Compare July 29, 2026 05:59
@JammingBen
JammingBen force-pushed the feat/sidebar-user-lists-pagination branch from 82a5bcf to 7dca910 Compare July 29, 2026 06:35
@JammingBen
JammingBen force-pushed the feat/sidebar-user-lists-pagination branch from 7dca910 to 7d17fc0 Compare July 29, 2026 08:05
@JammingBen
JammingBen marked this pull request as ready for review July 29, 2026 08:28
@JammingBen
JammingBen requested a review from tammi-23 July 29, 2026 08:29

@tammi-23 tammi-23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Good update.

@JammingBen
JammingBen merged commit 2e25633 into main Jul 30, 2026
30 checks passed
@JammingBen
JammingBen deleted the feat/sidebar-user-lists-pagination branch July 30, 2026 08:01
openclouders pushed a commit that referenced this pull request Jul 30, 2026
…gination

perf: use pagination in sidebar user lists
@openclouders openclouders mentioned this pull request Jul 30, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make sure that user lists in the right sidebar are paginated

2 participants