AOSSIE-Org / AOSSIE-Org/EduAid

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

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

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

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.