AOSSIE-Org / AOSSIE-Org/EduAid

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

Offen
#639 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
JavaScript
Sterne
171
Forks
423
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.