Component: Locale Picker
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 30/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- react, tailwindcss, typescript
- Lĩnh vực
- frontend, internationalization, localization
Hướng nghiên cứu
Read ARCHITECTURE.md and CONTRIBUTING.md first, then look at an existing picker in src/registry/components/ to copy its prop, ref and controlled-state conventions. Wire the new component through src/registry/components/index.ts and src/registry/registry.ts, and add tests under test/. Done means the component exports a typed props interface, its docs page is in content/docs/components/, its live demo is in src/components/docs/, and the tests pass.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Component: Locale Picker
Build a picker that lets users choose their region-level preferences — not just language — e.g. for a settings page.
Requirements
- TypeScript-first with exported props interface
- Follows the conventions in ARCHITECTURE.md (controlled/uncontrolled via
useControllableState, forwarded ref,...restpassthrough, sharedLocaletype) - Lets the user choose a region and shows derived defaults: currency, date format preview, number format preview, first day of week
- Uses
Intl.DisplayNames,Intl.NumberFormat,Intl.DateTimeFormat(andIntl.Locale#getWeekInfo()where available) - Searchable list, keyboard accessible
- RTL-aware, dark mode via
dark:variants - Tailwind CSS compatible
Expected API
<LocalePicker
defaultValue="en-IN"
regions={["IN", "US", "GB", "DE", "JP"]}
onValueChange={(locale) => console.log(locale)}
/>
Deliverables
- Component source in
src/registry/components/ - Export in
src/registry/components/index.tsand entry insrc/registry/registry.ts - Tests in
test/ - Documentation page in
content/docs/components/and live demo insrc/components/docs/
See CONTRIBUTING.md.
- Ngôn ngữ chính
- TypeScript
- Star
- 39
- Fork
- 16
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 10
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của babelize/babelize-elements
-
bug website
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
babelize/babelize-elements#46 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug language-switcher priority: medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
babelize/babelize-elements#26 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
component enhancement help wanted
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
babelize/babelize-elements#47 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug component rtl-layout
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
babelize/babelize-elements#45 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Website: revamp and improve the landing pageCó thể đã có người làm @anjalinayak01 đã nhận 6 ngày trước. Đang mởenhancement help wanted priority: medium website
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 30/100
babelize/babelize-elements#37 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của babelize/babelize-elements
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
anomalyco/opencode#56380 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
BUG | `MCP 服务器` | 全局层行的停用/启用与删除报 404 server row not found,编辑保存会在 profile 层复制出重复行Có thể đã có người làm @w6242652 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Chocobozzz/PeerTube#7832 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Pay to use?Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
darkreader/darkreader#16108 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày