[pgAdmin][RM2653] Lock layout

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM2653] Lock layout
Date: 2019-05-30 10:14:55
Message-ID: CAM9w-_n-1EKo44GctmEKy=SFRVK04a6yKGoQnawCq47X1FX=eA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached is the patch to introduce feature to lock the layout with three
different levels:
1) None - No locking
2) Prevent docking - The docking/undocking of panels will be disabled
3) Full lock - The resizing along with docking/undocking of panels will be
disabled

- This can be changed from new menu under File->Lock layout-><The level> or
from Preferences->Browser->Display->Lock Layout
- JS test cases added.

With this patch I have also changed below:
1) Moved the maintenance dialog button group control to new common control
named RadioModern, which I have re-used in preferences for lock layout
levels.
2) Added main nav bar menu with check feature, the menus which can checked.
3) Ability to add submenus from existing get_own_menuitems in python code
which is not possible currently.
3) Separated all the layout related functions from browser.js to new file
layout.js to help JS testing.

Kindly review.

--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
RM2653.patch application/octet-stream 33.9 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2019-05-30 10:35:46 Re: [RM#4307][pgAdmin4] Graphical Explain Plan - Embed images in explain plan only when user try to download it
Previous Message Murtuza Zabuawala 2019-05-30 09:11:15 [RM#4307][pgAdmin4] Graphical Explain Plan - Embed images in explain plan only when user try to download it