Re: Regarding removal for wcDocker and replace it with rc-dock #6479

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Nikhil Mohite <nikhil(dot)mohite(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Regarding removal for wcDocker and replace it with rc-dock #6479
Date: 2023-08-11 06:40:58
Message-ID: CAM9w-_nj1MaC9jdzoOWrsQroCNpL8BOeAG_7t3XjBSaHjbZeVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Nikhil,

On Fri, Aug 11, 2023 at 11:06 AM Nikhil Mohite <
nikhil(dot)mohite(at)enterprisedb(dot)com> wrote:

> Hi Aditya,
>
> On Fri, Aug 11, 2023 at 12:56 AM Aditya Toshniwal <
> aditya(dot)toshniwal(at)enterprisedb(dot)com> wrote:
>
>> Hi Hackers,
>>
>> I am working on removing the jQuery based wcDocker with ReactJS based
>> rc-dock.
>> The new lib allows us to reset layout without reloading pgAdmin. The one
>> thing it doesn't provide is adding a panel using tab bar context menu. I
>> was able to add a custom context menu but only on the tabs and not on the
>> complete tab bar.
>> So my question is, do we need something to add a panel back or reset
>> layout should be enough as we'll not reload pgAdmin?
>> If yes, please suggest on how we can do it without using the context
>> menu. One way is to have a menu with check menu items for each default
>> panel.
>> Attached is a screen recording to show the current behavior.
>>
>> If we add a button in browser explorer(We can change the location of a
> button) and click on it will show a drop-down menu with a list of all
> closed tabs, and selecting it will open the selected tab on the right side.
> Something like this, click on the (+) plus button on Object Explorer and
> select the tab name from drop-down options. (I know there are Query Tool,
> Search, and PSQL Tool buttons already there we can change the location of
> the button)
>
I think we can do that, but on the main panel and not on object explorer
and with some relevant icon.
Any other suggestions/ideas?

> [image: image.png]
>
>>
>>
>> --
>> Thanks,
>> Aditya Toshniwal
>> pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
>> <https://www.enterprisedb.com/>
>> "Don't Complain about Heat, Plant a TREE"
>>
>
> Thanks,
> Nikhil Mohite
>

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Sr. Software Architect | *enterprisedb.com*
<https://www.enterprisedb.com/>
"Don't Complain about Heat, Plant a TREE"

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2023-08-11 08:35:40 Re: Regarding removal for wcDocker and replace it with rc-dock #6479
Previous Message Nikhil Mohite 2023-08-11 05:35:50 Re: Regarding removal for wcDocker and replace it with rc-dock #6479