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

Decide whether translated media text can be deliberately blank

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

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Read MediaDrawer.jsx, mediaController.js, and mediaRepository.js to trace how blank and inherited translations are handled; inspect the multilingual docs and the test named “clearing restores inheritance.” Decide whether blank translations remain supported or are removed, then align the UI, server, docs, and test around that rule.

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

Descrizione

question

Allow deliberately blank alt text in one language, or drop the idea.


The data model treats "" in media_file_translations as "deliberately blank" (e.g. a decorative image in one language) and NULL as "inherit", but MediaDrawer.jsx (~91-96) sends only non-empty fields, so the UI can't set a blank, and saving any other field turns an imported or API-set "" back into NULL (the default-language text reappears). The tests ("clearing restores inheritance") show the UI behaviour is intended; the control was removed in 66ae2e20. Decide: restore a control, or drop the "" meaning from backend/docs so the two agree.

Done when: UI, server and multilingual docs describe and implement the same rule, with a test.

Start: MediaDrawer.jsx, mediaController.js, mediaRepository.js. Source: 2026-10-05 code review of 48eef6f4..9e98dad7.

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.