sosedoff / pgweb

Cross-platform client for PostgreSQL databases
https://sosedoff.github.io/pgweb
MIT License
8.53k stars 724 forks source link

Feature request: text overflow UX improvements #653

Closed Davincible closed 1 year ago

Davincible commented 1 year ago

When there is a large text body in a column now, there is no way to see the full text except inspect the HTML element. It would be nice to be able to see the full text. I have some solutions in mind, each its own feature. Having all of them would be amazing, but just one is a good start

Text popup on hover

It would be nice to have the full text in a little pop-up when you hover over overflowing columns.

Resizeable columns when you drag the column border

I know this isn't a small feature and probably not very easy, but would be very cool to have

Auto horizontally size rows

Auto-increase the row height if not all columns fit. But only behind an option, also not nice to always have this. Maybe behind a right mouse click option, "expand row", "expand all rows"

sosedoff commented 1 year ago

You can double click on a cell and a popup with the full cell content will appear, does that work for you?

Davincible commented 1 year ago

@sosedoff double clicking does nothing for me, both firefox and chromium

sosedoff commented 1 year ago

Which version are you on? This is a recently added feature so give pgweb v0.14 a try.

sosedoff commented 1 year ago

@Davincible did that work out for you in the end?

Davincible commented 1 year ago

No, still doesn't seem to work

sosedoff commented 1 year ago

When you double click on a cell you dont see a widget like this?

Screenshot 2023-02-27 at 1 50 29 PM
Davincible commented 1 year ago

Ah now it does work!