Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

enhancement: Add 1-click Clear button (X) inside SearchField

オープン
#265 コメント 2 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@aryansinha1908 がすでに取り組んでいます。

2026年10月23日 から。

評価

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

説明

beginner friendly easy enhancement good first issue ui

In src/features/leaderboard/components/search-field.tsx, users can filter developers or countries by typing into the search input. While keyboard users can press Escape to clear, mouse and touch users must manually backspace all characters.

Motivation

A clear button (X) is standard search input UX on desktop and mobile, enabling fast filter reset.

Tasks
  • When value.trim().length > 0, render an icon button with X (from lucide-react) positioned at end-2.5.
  • Clicking the button calls onChange("") and retains focus on the input.
  • Ensure the shortcut badge / is hidden when the clear button is shown to avoid visual overlap.
  • Provide an accessible aria-label for screen readers.
Files to Check
  • src/features/leaderboard/components/search-field.tsx
  • src/locales/en.json & src/locales/ar.json

[!TIP]
🚀 Want to contribute?
Comment assign me to be automatically assigned to this issue via our GitHub Actions bot. Happy coding! ✨

主要言語
TypeScript
スター
31
フォーク
25
平均マージ
10時間 4分
マージ済み PR(30日)
29

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

O2sa/DevImpact のほかの issue

O2sa/DevImpact の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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