AOSSIE-Org / AOSSIE-Org/EduAid

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

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

Description

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

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.