AOSSIE-Org / AOSSIE-Org/PictoPy

Title: Delay in Image Visibility After Adding Folder

Aberta
#591 3 comentários 0 reações 1 responsável Reivindicada por @Hemil36 Ver no GitHub
backend bug
Linguagem predominante
Python
Estrelas
283
Forks
679
Merge médio
7d 2h
PRs com merge (30d)
3

Descrição

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.