pgadmin-org / pgadmin4

pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
https://www.pgadmin.org
Other
2.49k stars 650 forks source link

Option to dock modal windows #7157

Open Satek7 opened 9 months ago

Satek7 commented 9 months ago

Hi,

Currently when user clicks on object properties, window opens in modal. Maximizing the modal window is not available, so the user can only resize it by dragging the window's border. It's hard to work with database function/procedure code when editor area is not big enough.

Is it possible to add the ability to dock modal windows to the main program window as the next tab, like a 'Query Tool' for example? (Of course as a setting in pgAdmin preferences)

This feature will improve working with code in pgAdmin

adityatoshniwal commented 2 months ago

We can add a maximise button on the dialog.

dpage commented 2 months ago

Hmm, I guess that functionality got lost when we moved to React. Originally, you could drag a dialog title and dock it on the main tabset.

As a sidenote to clarify this ticket for future readers, the issue here is with regular dialogues. I think the only modal dialogues in all of pgAdmin are the About box and the Settings dialogue, and maybe a handful of message boxes.