Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: colored logs in new logs explorer #5749

Merged
merged 6 commits into from
Aug 26, 2024

Conversation

vikrantgupta25
Copy link
Collaborator

@vikrantgupta25 vikrantgupta25 commented Aug 22, 2024

Summary

This PR takes care of unescaping the characters in the logs view where in some receivers ( ex - file log ) the special characters were auto escaped hence no color was being rendered despite the ansi codes being present.

The same thing has been done for the logs detail view as well where the body can be seen to be rendered with proper colors.

Also this takes care of removing all the escaped characters while rendering the same in tooltip and body column

Related Issues / PR's

contributes to - https://github.com/SigNoz/engineering-pod/issues/1622

fixes - #4139

Screenshots

Screen.Recording.2024-08-22.at.4.24.07.PM.mov

Copy link

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions bot added the bug Something isn't working label Aug 22, 2024
@vikrantgupta25 vikrantgupta25 marked this pull request as ready for review August 22, 2024 10:58
YounixM
YounixM previously approved these changes Aug 22, 2024
@vikrantgupta25 vikrantgupta25 merged commit 22f2e68 into develop Aug 26, 2024
11 of 12 checks passed
@vikrantgupta25 vikrantgupta25 deleted the logs-explorer-colored-logs branch August 26, 2024 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants