pgadmin4 icon indicating copy to clipboard operation
pgadmin4 copied to clipboard

"Dashboard/State/Sessions" display should be resizable

Open mboeringa opened this issue 9 months ago • 0 comments

Describe the solution you'd like

I often make use of "Dashboard/State/Sessions/Details" display to check and possibly cancel sessions based on the SQL running by inspecting the details and SQL in the window.

I am not sure if this actually changed in a recent version, but I seem to remember that it was possible to resize the "Dashboard/State/Sessions" display to properly show large numbers of sessions and their details. Details are accessible through the expand button left of the session, however will often not fully display in the small fixed maximum vertical size of the "Sessions" window above "Locks". This forces the continuous need to scroll down to see the full details of the session, which is cumbersome. It would be desirable to be able to resize the "Sessions" section to a larger size, and/or have the grid showing the sessions automatically move up the selected session to the top of the "Sessions" window once a user clicks the "Expand" button to show the "Details", to allow the full details to be displayed in the limited fixed vertical space without scrolling.

In some situations, I have even seen it become confusing, because e.g. only the 'SQL' line of the "Details" was missing, suggesting there was no more information in the "Details" section, as there was a clean display cut exactly in-between the "Last state changed at" and "SQL" section of the "Details".

Image

Describe alternatives you've considered

See text above, make it resizable (and have this setting preferably saved) or automatically scroll expanded session details to top of fixed window.

Additional context

  • Windows 10 - 22H2
  • pgAdmin 4 v9.2

mboeringa avatar Apr 09 '25 12:04 mboeringa