frontend icon indicating copy to clipboard operation
frontend copied to clipboard

[UI] Add compact mode

Open roxblnfk opened this issue 2 years ago • 2 comments

It would be great if you could add an option to activate a compact mode for the UI. In this mode, the left panel would be significantly reduced and the paddings would be trimmed.

I'm working on a small monitor and such a mode would help to fit more content in view.

roxblnfk avatar Nov 17 '23 12:11 roxblnfk

First, I would like to say congratulations on the project. I've been using for a few days and it is awesome. It has become my primary logger php tool.

I agree that a compact mode would be awesome, especially on the logging page. It seems there is so much "wasted" space between each log, we can see it fits way more logs on Ray.

image image

leonardocustodio avatar Jan 08 '24 22:01 leonardocustodio

I think in this case it would be useful to use different layouts depending on the open tab.

For example, we don't need to display the log badge if we are already in the Logs tab. At the same time, we can optimize the logs page for more convenient viewing of logs (rather than dumps or others). For example:

  • display the time in the left short column
  • display log level in the second column
  • Display source (ray) and content type (json) in another place (mb before tags) and remove the top line with labels
  • merge file with line
  • use white-space: nowrap; overflow: hidden; for content

roxblnfk avatar Jan 09 '24 13:01 roxblnfk