AOSSIE-Org / AOSSIE-Org/EduAid

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

未关闭
#668 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
good first issue
主要语言
JavaScript
星标
171
派生
425
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。