AOSSIE-Org / AOSSIE-Org/EduAid

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

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

Description

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

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.