AOSSIE-Org / AOSSIE-Org/PictoPy

Title: Delay in Image Visibility After Adding Folder

Ouverte
#591 3 commentaires 0 réactions 1 personne assignée Réclamée par @Hemil36 Voir sur GitHub
backend bug
Langage dominant
Python
Étoiles
283
Forks
679
Merge moyen
7 j 2 h
PR mergées (30 j)
3

Description

Description:
When adding a folder with a large number of images (around 200), it takes approximately 8 seconds before the images appear on the home tab.

This delay seems to occur because:

The backend performs all thumbnail generation and database insertion in a single blocking process before returning.

The frontend only triggers a refetch after the entire process completes — meaning no intermediate updates are shown.

As a result, the user perceives a long pause before new images appear.

Steps to Reproduce:

- Add a folder containing ~200 images.

- Observe that the images take several seconds to appear on the home tab.

Expected Behavior:
- The images should appear incrementally or much faster, even for large folders.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.