AOSSIE-Org / AOSSIE-Org/EduAid

Add Quiz Description History Page

Open
#151 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
171
Forks
425
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.