AOSSIE-Org / AOSSIE-Org/EduAid

Add Quiz Description History Page

Ouverte
#151 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
171
Forks
425
Métriques de merge des PR
Aucune PR mergée en 30 j

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)

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.