nextcloud / nextcloud/contacts

Use pagination for Circles list

Open
#2,605 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: teams
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Is your feature request related to a problem? Please describe.
I have a production instance with nearly a thousand circles (yes, I know). Loading the contacts app does a big request to the circles app that slows display, but it also hangs the interface a bit when I ask to view all circles.

Describe the solution you'd like
Fetch only the top 10 circles, and load all others in batch.

Requires https://github.com/nextcloud/circles/issues/902

Describe alternatives you've considered
Disabling the circle full list altogether, only allowing to search them.

Related to : https://github.com/nextcloud/contacts/issues/2604

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue does not name a file or test. Start with the contacts app request that loads the Circles list, then review circles#902 and contacts#2604. Done means the initial request fetches only 10 circles and the remaining circles can be loaded in batches without disabling full-list access.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.