AOSSIE-Org / AOSSIE-Org/EduAid

Feature: Add "Clear input" button for input textarea (with confirmation)

Aperta
#322 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
171
Fork
425
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Title
Feature: Add "Clear input" button for input textarea (with confirmation)

## Description
Add a **Clear** button next to the existing **Paste** button to quickly reset the input textarea content. Implement this in **both the web app and the browser extension** for consistent UX.

## Acceptance Criteria
- [ ] Clicking **Clear** empties the textarea.
- [ ] Show a confirmation step (OK to use `confirm()`, a small modal, or a simple inline "Are you sure?") to prevent accidental clears.
- [ ] Must **not** break the existing word count behavior.
- [ ] Implemented in both web and extension for consistency.

## Files / Locations
- `eduaid_web/src/pages/Text_Input.jsx`
- `extension/src/pages/text_input/TextInput.jsx`

## Notes
Keep changes minimal. Avoid unrelated UI refactors or styling changes.

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.