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

An ellipsis is added to the value if shortenTextAfterLength is equal to the length of the string

Aperta
#52 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Locate the handling of shortenTextAfterLength in the TypeScript React component and reproduce the case where the setting equals the string length. Check the existing tests for text shortening, then add coverage showing that an ellipsis is not added when the lengths are equal. Done means the boundary case displays the complete value without an ellipsis.

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

Descrizione

If you set the shortenTextAfterLength to the length of the word, then an ellipsis is added after the word, although this is not necessary.

Lingua principale
TypeScript
Stelle
421
Fork
26
Merge medio
56m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 uiwjs/react-json-view

Tutte le issue di uiwjs/react-json-view

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.