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.38k stars 627 forks source link

[ UX ] ( ERD ) : Dialogs could honor the resize efforts/preference of the user #5659

Closed daguitosama closed 1 month ago

daguitosama commented 1 year ago

Stop having to keep resizing Dialogs to fit content once you have done it the for first time

When a Dialog shows up in the ERD tool, and the user resize that dialog window to give more room to the content, that size preference should not be thrown away when closing the dialog, should be collected and used when the user open up a new dialog, giving it as default new size. That way the user did not need to keep resizing those Dialogs again and again every time.

Alternatives I have considered I will explain thinking in a component composition way, hopping that there is actually a Dialog component.

New additions to the Dialog component to achieve the desired effect.

Additional context

In this capture the user has resized the Dialog to fit all relevant content

Screenshot 2022-12-19 at 16 51 08

But next time the user opens the Dialog that size preference and effort is gone

Screenshot 2022-12-19 at 16 52 04
adityatoshniwal commented 1 year ago

@daguitosama You can raise a PR if you're willing to work on it.

daguitosama commented 1 year ago

O thanks, don't have much time lately but will do my best to find a spot to collaborate. PG Admin is awesome.

daguitosama commented 1 year ago

Hi im trying to spin up the dev environment, but im finding a little difficult, I have done nothing yet but following the Readme instructions till point 6 and I have all ready 9K file changes in Git, what's the best place to ask for help with the dev setup ?

khushboovashi commented 1 year ago

Have you followed the steps under "Configuring the Python Environment"?

daguitosama commented 1 year ago

Have you followed the steps under "Configuring the Python Environment"?

Yeah I did. Then by the time i did step 5 (wish im not sure what to put in the dev config, i just want to work in the component, just rolling with readme example) i realize the editor got + 9k file changes to be committed, and now checking lean git get's just two; this is weird:

Screenshot 2023-03-27 at 10 24 37
pravesh-sharma commented 1 month ago

It will be taken care of in #3241.