AOSSIE-Org / AOSSIE-Org/EduAid

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

オープン
#515 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
JavaScript
スター
171
フォーク
425
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。