AOSSIE-Org / AOSSIE-Org/PictoPy

BUG: Settings page is slow while loading folder status

Abierto
#876 7 comentarios 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
283
Forks
679
Merge medio
7 d 2 h
PR fusionados (30 d)
3

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.