feat(gui): Review logs before sending feedback (#301)

* add review buttons that open the attached logs before submitting feedback
* add redact switches to redact transaction id's from attached logs
This commit is contained in:
Raphael 2025-04-23 15:09:19 +02:00 committed by GitHub
parent 3fa31ba139
commit e8084d65ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 255 additions and 85 deletions

View file

@ -52,7 +52,7 @@ export function getLinesOfString(data: string): string[] {
.filter((l) => l.length > 0);
}
export function getLogsAndStringsFromRawFileString(
export function parseLogsFromString(
rawFileData: string,
): (CliLog | string)[] {
return getLinesOfString(rawFileData).map(parseCliLogString);