AOSSIE-Org / AOSSIE-Org/EduAid

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

Đang mở
#639 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
JavaScript
Star
171
Fork
423
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.