ipfs / ipfs/ipfs-webui

Clicking on large folders/listing a large amount of pins stalls the UI

Open
#1,400 0 comments 0 reactions 0 assignees View on GitHub
help wanted kind/bug
Dominant language
JavaScript
Stars
1.6k
Forks
534
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
The UI cannot handle long lists of items

**To Reproduce**
For me listing my 6k pins doesn't work. The UI just stalls and works endlessly on this task, until chrome asks to close the page.

**Expected behavior**
Just the first two dozens or so items are fetched and displayed. Since the total number is already known, they could be shown as pages.

Also, operations that take longer than something like 1 second should get a progress bar and not stall the browser tab. There should also be an abort button.

**Screenshots**
![Screenshot_20200212_105613](https://user-images.githubusercontent.com/614929/74323985-a0fb4680-4d86-11ea-9545-549ce9b1f49f.png)

**Desktop (please complete the following information):**
- OS: Linux
- Browser Chrome
- Version 79

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.