AOSSIE-Org / AOSSIE-Org/EduAid

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

Aberta
#639 0 comentários 0 reações 0 responsáveis Ver no GitHub
enhancement
Linguagem predominante
JavaScript
Estrelas
171
Forks
423
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

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.