AOSSIE-Org / AOSSIE-Org/EduAid

[ENHANCEMENT]: Clean up QA parsing and utility functions in eduaid_web for better performance

Aperta
#639 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
JavaScript
Stelle
171
Fork
423
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Feature and its Use Cases

Some parts of the app have repeated logic for QA parsing, shuffling, and API handling. This can be cleaned up by moving shared logic into utility files and reusing it across pages.

What to improve:

- Move common QA parsing and shuffle logic into a shared utility
- Reuse the same logic across pages like Output and Text_Input
- Clean up API usage to make it more consistent
- Add some basic accessibility improvements where needed

Why this matters:

- Reduces duplicate code
- Makes the codebase easier to maintain
- Improves overall performance and readability

### Additional Context

_No response_

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