Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Say when a collection item is skipped for a bad slug

Aperta
#166 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
68/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript, react
Ambito
full-stack

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

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.

Lingua principale
JavaScript
Stelle
162
Fork
6
Merge medio
12h 55m
PR unite (30g)
2

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di tsiger/widgetizer

Tutte le issue di tsiger/widgetizer

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.