Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#77 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript
Bereich
frontend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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
Vorherrschende Sprache
TypeScript
Sterne
34
Forks
19
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus patternfly/react-log-viewer

Alle Issues in patternfly/react-log-viewer

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.