AOSSIE-Org / AOSSIE-Org/EduAid

[GOOD FIRST ISSUE]: Add a "Clear Input" button to reset the text input form

Aperta
#668 7 commenti 0 reazioni 0 assegnatari Vedi su GitHub
good first issue
Lingua principale
JavaScript
Stelle
171
Fork
425
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Context

Problem:
Currently, there is no way to quickly clear the text input field on the input page. Users who want to start over must manually select all the text and delete it, which is inefficient and poor UX — especially on mobile or when large amounts of text have been pasted in.

### What Needs to Be Done

Proposed Solution:
Add a "Clear" or "Reset" button near the text input field that:
1. Clears the text input field in one click
2. Resets any other form fields (difficulty, question type, question count) back to their default values
3. Does not navigate away from the page

### Resources

- [Contribution Guide - Start Here!](https://github.com/AOSSIE-Org/TODO/blob/main/CONTRIBUTING.md)
- [Discord Channel](https://discord.gg/hjUhu33uAn)

### Getting Started

- [x] I have joined the [Discord server](https://discord.gg/hjUhu33uAn) and will post updates there
- [x] I have read the [Contribution Guide](https://github.com/AOSSIE-Org/Template-Repo/blob/main/CONTRIBUTING.md)
- [x] I understand this issue is assigned on a first-come, first-served basis

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.