PhoneInput: full country list + basic E.164 validation
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- react, typescript
調査の方向性
The payload names no file, so start by locating the existing PhoneInput component and its 50-country list in the repository. Replace the list with the full E.164 set, add the optional countries and preferredCountries props, and add basic digits-only, 15-digit validation that sets aria-invalid and calls onValidityChange(valid, e164). Done when the tests check every entry's ISO code and dial code, filtering, and the callback, and the PR notes the bundle size.
索引モデルが issue の本文から書いたものです。
説明
PhoneInput: full country list + basic E.164 validation
PhoneInput currently ships 50 countries, so users in most of the world (e.g. Sri Lanka, Nepal, Peru, Morocco, Ukraine) can't select their dial code.
Proposal
- Full list — all ITU-T E.164 country codes (~245 entries). Flags can be derived from the ISO code rather than stored, and English names via
Intl.DisplayNamesto keep bundle size down. - Optional
countriesprop — allow consumers to restrict / reorder the list (e.g.["IN", "US", "GB"]), pluspreferredCountriespinned at the top. - Basic validation — strip formatting characters, enforce digits-only and E.164 max length (15 digits incl. country code); expose
aria-invalidand anonValidityChange(valid, e164)callback. Full per-country rules (libphonenumber) stay out of scope to keep zero extra deps.
Acceptance
- Test that every entry has a valid ISO code and
+-prefixed dial code - Tests for
countriesfiltering and validation callback - Bundle size noted in the PR
- 主要言語
- TypeScript
- スター
- 39
- フォーク
- 16
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 10
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
babelize/babelize-elements のほかの issue
-
bug website
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
babelize/babelize-elements#46 ·
メンテナーはふだん 1 日以内に返信
-
bug language-switcher priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
babelize/babelize-elements#26 ·
メンテナーはふだん 1 日以内に返信
-
component enhancement help wanted
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
babelize/babelize-elements#47 ·
メンテナーはふだん 1 日以内に返信
-
bug component rtl-layout
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
babelize/babelize-elements#45 ·
メンテナーはふだん 1 日以内に返信
-
Website: revamp and improve the landing page対応中かも @anjalinayak01 が 5 日前に担当しました。 オープンenhancement help wanted priority: medium website
難易度 4/5 1週間以上 初心者へのやさしさ 30/100
babelize/babelize-elements#37 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
babelize/babelize-elements の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
QuantumNous/new-api#7839 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
bug p2 triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
getpaseo/paseo#7071 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
test: make the #3408 Claude OAuth token fixture obviously fake so secret scanners stop flagging itオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
code-yeongyu/senpi#3436 ·
メンテナーはふだん 1 日以内に返信
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
lingdojo/kana-dojo#32505 · コメント 1 件 · リアクション 5 件 ·
メンテナーはふだん 1 日以内に返信