AOSSIE-Org / AOSSIE-Org/EduAid

Add Quiz Description History Page

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

Mô tả

#### **Description**
Currently, the **History Page** displays basic information about generated quizzes, such as the number of questions, difficulty, and creation date. However, it lacks the **Context** of each quiz, which are critical for understanding the purpose and scope of the quizzes.

This issue proposes adding a detailed description and context for each quiz in the history view to provide users with more meaningful insights and improve the usability of the platform.

---

#### **Proposed Feature Details**
- **Objective**: Enhance the History Page by displaying the quiz's context alongside other details.
- **Functionality**:
1. Fetch the **context** of quizzes from `localStorage` .
2. Display the details in a structured format under each quiz entry.
3. Use a truncation mechanism (e.g., `...`) for long text, with an option to expand for the full content.

---

#### **Proposed UI Changes**
- Each quiz entry should now include:
- **Topic/Context**: A brief overview of the quiz topic.
- **Truncation Handling**: Truncated text for long descriptions, with a "Read More" link to expand the full content.
- Maintain a consistent style with the existing UI and color scheme (gradients, font, spacing).

---

#### **Benefits**
- Allows users to quickly recall the purpose and focus of each quiz.
- Improves the organizational structure of the History Page.
- Enhances user experience by providing context for each quiz.

---

#### **Screenshots**

![Image](https://github.com/user-attachments/assets/dc653d71-4374-409d-ac43-43b6dcdbbf92)

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.