amir20 / dozzle

Realtime log viewer for docker containers.
https://dozzle.dev/
MIT License
5.7k stars 287 forks source link

feat: adds a side panel for complex logs that enables reordering and enabling fields #3237

Closed amir20 closed 2 weeks ago

amir20 commented 2 weeks ago
Screenshot 2024-08-27 at 11 26 30 AM
amir20 commented 2 weeks ago

@FrancYescO I saw you reacted on this PR. I am merging it soon. I think it is the last thing I want to do before releasing. Could you test master?

FrancYescO commented 2 weeks ago

just got a glitch: if a value is pretty long with no spaces will not wrap text and will hide the togglebox (will go on the left out of screen and you need to horizontal scroll to show)

FrancYescO commented 2 weeks ago

also consider adding a label "drag to reorder" or some icon that will show the cross cursor, otherwise will be a very hidden feature

FrancYescO commented 2 weeks ago

maybe in the time on top of the sidebar you can add also the ms of the log datetime, and idk if is and easy add also a toggle for the specific log level (but than i have some doubt on how this can be toggled back to be visualized)

amir20 commented 2 weeks ago

Thanks @FrancYescO

Yea there are some horizontal spaces that need to be improved. And even more on mobile.

also consider adding a label "drag to reorder" or some icon that will show the cross cursor, otherwise will be a very hidden feature

Doesn't the cursor already change to a cross? Or do you mean additionally put a note about it?

and idk if is and easy add also a toggle for the specific log level (but than i have some doubt on how this can be toggled back to be visualized)

What does this mean? Do you mean filter by log levels? https://github.com/amir20/dozzle/issues/2432

FrancYescO commented 2 weeks ago

Yes but it changes only while dragging, there is no indication that you are allowed to drag 😃

And yes i was referencing to the same feature of the #2432

redge76 commented 1 week ago

It's an interesting feature but when there is a LOT OF fields (like the access log of traefik) then if is impossible to see all fields on one page (and I'm on a 32" monitor...) Previously you cloud click on a line and get all the fields concatenated. It was hard to read but at least you could see everything without scrolling too much. I don't know what would make a good solution to this issue. Maybe a tooltip with a condensed line as previously.

amir20 commented 1 week ago

Screenshot?

redge76 commented 1 week ago

There is not much to see. The traefik access log had 40 fields. if you enable a few and click on a line you get this: image

Previously when you clicked on a line you had the same result you have now when you select all fields (where you could select the fields you wanted to display)

amir20 commented 1 week ago

I don't understand what you are saying is not possible now. If it's a bug then open an issue with better description. I have read your comment a few times and can't make any sense of it.