AOSSIE-Org / AOSSIE-Org/PictoPy

BUG: Settings page is slow while loading folder status

Offen
#876 7 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
283
Forks
679
Ø Merge
7 T. 2 Std.
Gemergte PRs (30 T.)
3

Beschreibung

### Is there an existing issue for this?

- [x] I have searched the existing issues

### What happened?

Title:
Settings page is slow while loading folder status and blocks folder actions

Description:
The Settings → Folders page becomes noticeably slow when folder status is being fetched.
While the folder status is loading, the UI becomes partially unresponsive and actions like
folder deletion or uploading another folder do not work reliably.

This makes basic folder management difficult and affects overall usability of the Settings page.

Environment:
- OS: Windows
- Browser: Chrome
- PictoPy: current main branch

Pre-conditions:
- At least one folder already exists
- Folder contains multiple files

How to Reproduce (Step-by-step):
1. Open PictoPy in the browser
2. Navigate to Settings → Folders
3. Click on any existing folder
4. Observe that the folder status takes several seconds to load
5. While the folder status is still loading:
- Try deleting the same folder, OR
- Try uploading another folder
6. Notice that the UI becomes slow and the action either gets stuck or does not complete

Video Demo:
https://github.com/user-attachments/assets/13cfb1fd-ad29-4537-8321-36da975dba67

Actual Behavior:
- Folder status loading is slow
- UI becomes unresponsive during loading
- Folder delete does not work immediately
- Uploading another folder often gets stuck

Expected Behavior:
- Folder status should load quickly
- UI should remain responsive
- Folder deletion and uploads should work independently of status loading

Additional Context:
This issue was discussed during the recent PictoPy Google Meet and is being raised with
a video demo and detailed reproduction steps as suggested.

### Record

- [x] I agree to follow this project's Code of Conduct

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.