TextPlayground: the `.truncationMode(.tail)` example applies `.head`
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 94/100
Research direction
Open Sources/Showcase/TextPlayground.swift at lines 93–94 and inspect the truncation example. Update the .truncationMode(.tail) row so its modifier and explanatory text describe tail truncation, or implement the separate head and tail rows suggested in the issue. Open Showcase › Text and confirm the labels and truncation behavior match.
Written by the indexing model from the issue text.
Description
Where: Text › .truncationMode(.tail) —
TextPlayground.swift#L93-L94
Steps to reproduce
- Open Showcase › Text and scroll to the truncation examples.
Expected: a row labelled .truncationMode(.tail) that truncates at the end.
Actual: it truncates at the start; the page has no tail-truncation example.
Cause: the text reads .truncationMode(.tail): ... will head truncate and the modifier is .truncationMode(.head).
Suggested fix: either relabel the row .truncationMode(.head) and add a .tail row, or change the modifier to .truncationMode(.tail) and the text to "...will tail truncate".
- Dominant language
- Swift
- Stars
- 44
- Forks
- 19
- Avg merge
- 6h 27m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from skiptools/skipapp-showcase
-
AlertPlayground iOS build failure in Xcode 27/Swift 6.4Possibly taken @dfabulich claimed this 42 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
skiptools/skipapp-showcase#143 ·
-
WebBrowserPlayground: "Open with No Params" passes the same params as "Open in Embedded Browser"Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
skiptools/skipapp-showcase#137 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
skiptools/skipapp-showcase#136 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
skiptools/skipapp-showcase#135 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
skiptools/skipapp-showcase#133 ·
All issues in skiptools/skipapp-showcase
Similar issues
-
AndroidAssetManager(env:peer:) in AssetURLProtocol.swift doesn't compile for Android on the Swift nightlyPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
erkamyaman/unslop-anything#579 ·
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
erkamyaman/rust-anything#1311 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug priority:low status:queued
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Maintainers usually reply within 1 day