AOSSIE-Org / AOSSIE-Org/EduAid

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

未關閉
#639 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
JavaScript
星號
171
分支
423
PR 合併指標
30 天內沒有已合併 PR

描述

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

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。