Say when a collection item is skipped for a bad slug
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript, react
- Domain
- full-stack
Research direction
Start with packages/builder-server/src/services/collectionService.js to see how invalid slugs are skipped, then read packages/editor-ui/src/pages/CollectionItems.jsx and its existing invalid-item notice. Add visibility for skipped items or repair their slugs, and add a test; done means users can see the affected item or it is repaired.
Written by the indexing model from the issue text.
Description
A collection item with a broken address disappears with nothing on screen to say so.
Since 0fd5005a, readCollectionItems (collectionService.js) skips an item whose stored slug (raw.slug ?? raw.id) is missing or not ^[a-z0-9-]+$, with a server-side console.warn only. The editor list, link pickers and export then simply lack the item, with nothing on screen to explain it. Such files come only from a hand-edited project or a crafted backup (writes always produce plain slugs), so this is about not losing content silently, not about frequency. Likely shapes: report skipped items on the collection screen (as the invalid-item notice does), or repair the slug from the file name.
Done when: A skipped item is visible to the user (or repaired), with a test.
Start: collectionService.js, CollectionItems.jsx. Source: 2026-10-06 review of the containment fix.
- Dominant language
- JavaScript
- Stars
- 162
- Forks
- 6
- Avg merge
- 12h 55m
- Merged PRs (30d)
- 2
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No 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 tsiger/widgetizer
-
question
Difficulty 1/5 1-3 hours Newbie friendliness 82/100
tsiger/widgetizer#194 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
tsiger/widgetizer#181 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
tsiger/widgetizer#175 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
tsiger/widgetizer#174 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
tsiger/widgetizer#173 ·
All issues in tsiger/widgetizer
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
glossyio/traffic-monitor#255 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
juice-shop/juice-shop#3706 ·
Maintainers usually reply within 1 day
-
Main workflow runs twice for newly created refsPossibly taken @rustyconover claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
duckdb/duckdb-wasm#2293 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
521xueweihan/HelloGitHub#4115 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
outline/outline#14348 · 1 comment ·
Maintainers usually reply within 1 day