AOSSIE-Org / AOSSIE-Org/EduAid

[BUG]: Infinite Loading Loop in Desktop UI during Backend Timeout

Aperta
#469 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
171
Fork
425
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Bug Description

When the desktop application's backend is unreachable or processing large documents (e.g., 10+ page PDFs), the frontend enters an infinite loading state without providing feedback to the user.

### Steps to Reproduce

1.Launch the EduAid Desktop application.

2.Either disconnect the Python backend or upload a large file (e.g., a 16-page PDF).

3.Click the "Generate" button.

4.Observe that the UI enters an infinite loading state without timing out or providing an error message.

### Logs and Screenshots

_No response_

Image

Image

### Environment Details

Browser: N/A (Running as Desktop App via Electron)

Node.js Version: v21.1.0 (Based on your desktop folder name node-v21.1..)

Python Version: Python 3.12 (Standard for AOSSIE current builds)

Any other relevant information:

Virtual Environment: Active (storefront environment)

Backend Path: C:\Users\Vishnu Vardhan Raju\OneDrive\Documents\AOSSIE\EduAid\backend

Frontend Path: C:\Users\Vishnu Vardhan Raju\OneDrive\Documents\AOSSIE\EduAid\eduaid_desktop

### Impact

Critical - Application is unusable

### Code of Conduct

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have searched existing issues to avoid duplicates

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.