AOSSIE-Org / AOSSIE-Org/EduAid

[FEATURE]: Add Quiz Review & Confirmation Step Before Generation

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

Descripción

### Feature: Add Quiz Review & Confirmation Step Before Generation

---

## What is the feature?

Introduce an intermediate "Review & Confirm" step before triggering quiz generation.

Currently, once a user selects:

- Input source (text / PDF / URL)
- Number of questions
- Difficulty level
- Question type
- Wikipedia toggle

Clicking “Next” directly calls the backend to generate the quiz.

This enhancement proposes adding a confirmation step where users can review their selections before the generation request is made.

---

## How would users benefit from it?

- Prevent accidental quiz generation
- Reduce unnecessary backend calls
- Improve clarity and confidence before generation
- Provide a more structured and professional workflow
- Improve perceived quality of the application

---

## What scenarios would this feature address?

- User accidentally selecting incorrect difficulty
- Wrong number of questions chosen
- Incorrect question type selected
- Wikipedia toggle enabled unintentionally
- Large input submitted without reviewing settings

Instead of restarting the entire flow, users can easily go back and edit their configuration before confirming generation.

---

## Proposed Enhancement

Add a dedicated "Review & Confirm" page between the configuration step and the generation request.

This page would display a summary card including:

- Input source type (Text / PDF / URL)
- Number of questions
- Selected difficulty
- Question type
- Wikipedia toggle status

Buttons:

- Back (Edit configuration)
- Confirm & Generate (Triggers backend request)

---

## Scope

- Frontend-only changes (`eduaid_web`)
- No backend API modifications
- No changes to generation logic
- Routing/state management update only
- Minimal styling adjustments

---

## Additional Context

Affected areas may include:

- `Text_Input.jsx`
- `question-type` page
- Routing configuration
- A new component such as `ReviewSummary.jsx`

This enhancement focuses on improving workflow clarity and preventing unintended backend requests.

---
- I would be happy to work on implementing this enhancement if it aligns with the maintainers’ direction.

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

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.