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

LogViewer is not maintaining indentation/removing spacing which is prefix to the log data

Aperta
#77 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
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

Start by reproducing the issue in LogViewer using the attached Pod log and compare the displayed output with the file contents. Trace how log text is rendered and identify where leading whitespace is removed; done means preserving intentional indentation and spacing in strings and objects.

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

Descrizione

I have the below log downloaded from Pod logs and in the log file, there are spaces infront of strings "hello" and "hello1" and there is spacing in front of a,b and c in the object which is present in log

hello-goodbye-iu8saw-goodbye-pod-step-goodbye.log

In the below attached LogViewer we can see the above mentioned spaces are removed. If there are any objects in logs or if user intentionally added spacing infront of logs, those spacings are removed.

Screenshot 2024-09-04 at 6 46 55 PM
Lingua principale
TypeScript
Stelle
34
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

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 patternfly/react-log-viewer

Tutte le issue di patternfly/react-log-viewer

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.