Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first page of GET /environment is loaded #312

Closed
jonzeper opened this issue Sep 28, 2023 · 0 comments · Fixed by #391 · May be fixed by #356
Closed

Only first page of GET /environment is loaded #312

jonzeper opened this issue Sep 28, 2023 · 0 comments · Fixed by #391 · May be fixed by #356
Labels
type: bug 🐛 Something isn't working

Comments

@jonzeper
Copy link
Contributor

Describe the bug

The left nav of the UI lists all the namespaces/environments available to the user. This is populated by a call to the conda-store API's GET /environment. The API supports pagination, but the UI only requests the first page, with a page size of 100.

We have some users that have access to over 100 environments and end up not being able to see all of them.

Expected behavior

Users should see all the environments they have access to, even if it's quite a lot.

How to Reproduce the problem?

  1. Have access to more than 100 environments.
  2. Look at left nav of the UI
  3. Observe that not all of the environments show up

Output

Network tab in chrome inspector showing just the one request made to GET /environment with a full page in the response:
image

Versions and dependencies used.

jupyterlab-conda-store 0.2.7

Anything else?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
Archived in project
1 participant