Text Case Converter: show how identifiers are split into words
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
What problem does this solve?
The Text Case Converter converts identifiers between naming conventions, but users cannot see how the input was segmented before conversion.
Inputs containing acronyms, digits, or mixed separators can have ambiguous word boundaries. Showing the detected words would help users understand results such as converting XMLHttpRequest to xml_http_request.
Proposed solution
Add a “Detected words” section below the input, showing the word segments used by the existing case-conversion logic.
Scope
- Reuse the existing word-splitting logic so the displayed segments match the conversion results.
- Display each segment as a readable token, preserving its original casing.
- Handle camelCase, PascalCase, acronyms, and supported separators.
- For multi-line input, show detected words separately for each non-empty line, labeled with its original line number.
- Explain that acronym and digit boundaries follow the converter’s existing rules.
- Show a helpful empty state when the input contains no detected words.
- Keep existing conversion behavior unchanged.
Acceptance criteria
XMLHttpRequestdisplaysXML,Http, andRequest.user_iddisplaysuserandid.HTTP_status_codedisplaysHTTP,status, andcode.- Digit boundaries match the existing conversion behavior and are covered by tests.
- Repeated separators and surrounding whitespace do not create empty tokens.
- Unicode input follows the same rules as the existing converter.
- The detected words update as the input changes.
- Multi-line results preserve the association with their source lines.
- Tokens remain readable in both site themes and are accessible to screen readers.
- Word segmentation lives in
lib/with tests covering acronyms, digits, separators, Unicode, and multi-line input. - All processing happens locally in the browser.
npm run lint && npm run test && npm run buildpass.
Custom splitting rules, editable tokens, and changes to existing conversion algorithms are outside this issue’s scope.
Fit
- This can work entirely in the browser with no server or data leaving the tab.
- Ngôn ngữ chính
- TypeScript
- Star
- 1
- Fork
- 9
- Merge trung bình
- 7 giờ 48 phút
- Pull request đã merge (30 ngày)
- 187
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 codercops/toolbelt
-
JSON and CSV Formatter: sizes just under 1 MB show as "1024.0 KB"Có thể đã có người làm @prakashNalla đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
codercops/toolbelt#422 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Base64: sizes just under 1 MB show as "1024.0 KB"Có thể đã có người làm @prakashNalla đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
codercops/toolbelt#421 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add a Unicode & Invisible Character Inspector toolCó thể đã có người làm @srikar-naidu đã nhận 1 ngày trước. Đang mởenhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
codercops/toolbelt#420 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Regex Tester: add next/previous match navigationCó thể đã có người làm @kachamsiddarth đã nhận 2 ngày trước. Đang mởenhancement hacktoberfest
codercops/toolbelt#380 · 5 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hacktoberfest 2026: start hereCó thể đã có người làm @Saifjafri212213 đã nhận 1 ngày trước. Đang mởhacktoberfest
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 1/100
codercops/toolbelt#101 · 18 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codercops/toolbelt
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
components-web-app/docs#307 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
localstack/localstack-mcp-server#112 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:frontend kind:bug priority:p1 ready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug ready-for-agent
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 73/100
PhyberApex/kuroshiro#1687 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Performance (Web Vitals) collector: LCP/FCP from background tabs are not discarded, inflating p75Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
umami-software/umami#4720 ·
Maintainer thường phản hồi trong vòng 3 ngày