AOSSIE-Org / AOSSIE-Org/EduAid

Add Quiz Description History Page

Abierto
#151 3 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
171
Forks
425
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.