AOSSIE-Org / AOSSIE-Org/PictoPy

BUG: Settings page is slow while loading folder status

未關閉
#876 7 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
283
分支
679
平均合併
7 天 2 小時
30 天內合併 PR
3

描述

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。