Thread: Opening pgAdmin 4 in a new browser window as an alternative userflow
The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loads
I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviour
Wdyt?
--Luther
Hi,
On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loadsI would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviour
pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.
Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.
I have attached the Chrome configuration for the new window for your reference.
Thanks,
Khushboo
Wdyt?--Luther
Attachment
Re: Opening pgAdmin 4 in a new browser window as an alternativeuser flow
From
Luther Goh Lu Feng
Date:
Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration. However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3.I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, makeit more similar to pgAdmin 3 As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switchedto and fro from Chrome. It would be convenient if there is a single command that applies for both browsers! --Luther On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote: Hi, On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: > The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of alltabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will beabruptly brought to that tab when pgAdmin 4 loads > > I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, thatcould be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as thedefault behaviour > pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browserto always open pgAdmin in the new window. Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command"option. I have attached the Chrome configuration for the new window for your reference. Thanks, Khushboo > > Wdyt? > > --Luther
On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.
However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3
We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.
I would like to invite other python/electron developers to help us evolving the project in correct direction.
-- Thanks, Ashesh
As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!
--Luther
On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi,
On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loads
>
> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviour
>
pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.
Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.
I have attached the Chrome configuration for the new window for your reference.
Thanks,
Khushboo
>
> Wdyt?
>
> --Luther
Re: Opening pgAdmin 4 in a new browser window as an alternativeuser flow
From
Luther Goh Lu Feng
Date:
Thanks for sharing the plans for electron. In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new windowin the existing web browser. I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing webbrowser should be much more easily achievable. Wdyt? --Luther On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote: On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: > Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration. > > However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3.I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, makeit more similar to pgAdmin 3 We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and itis a side line project, and getting delayed due to limited resources working on the pgAdmin 4. I would like to invite other python/electron developers to help us evolving the project in correct direction. -- Thanks, Ashesh > > > As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and haveswitched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers! > > --Luther > > > On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote: > > > > > > Hi, > > On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of alltabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will beabruptly brought to that tab when pgAdmin 4 loads >> >> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, thatcould be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as thedefault behaviour >> > pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for yourbrowser to always open pgAdmin in the new window. > > Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command"option. > > I have attached the Chrome configuration for the new window for your reference. > > Thanks, > Khushboo >> >> Wdyt? >> >> --Luther > > >
The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.
On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
Thanks for sharing the plans for electron.
In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.
I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.
Wdyt?
--Luther
On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
> Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.
>
> However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3
We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.
I would like to invite other python/electron developers to help us evolving the project in correct direction.
-- Thanks, Ashesh
>
>
> As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!
>
> --Luther
>
>
> On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
>
>
>
>
>
> Hi,
>
> On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
>> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loads
>>
>> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviour
>>
> pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.
>
> Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.
>
> I have attached the Chrome configuration for the new window for your reference.
>
> Thanks,
> Khushboo
>>
>> Wdyt?
>>
>> --Luther
>
>
>
Re: Opening pgAdmin 4 in a new browser window as an alternative user flow
From
Michel Feinstein
Date:
I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.
On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:
The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.
In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.
I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.
Wdyt?
--Luther
On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
> Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.
>
> However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3
We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.
I would like to invite other python/electron developers to help us evolving the project in correct direction.
-- Thanks, Ashesh
>
>
> As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!
>
> --Luther
>
>
> On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
>
>
>
>
>
> Hi,
>
> On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
>> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loads
>>
>> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviour
>>
> pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.
>
> Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.
>
> I have attached the Chrome configuration for the new window for your reference.
>
> Thanks,
> Khushboo
>>
>> Wdyt?
>>
>> --Luther
>
>
>
yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matches the one used by the server and some sort of secret key exchange and context menus.
On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote:
I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.
In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.
I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.
Wdyt?
--Luther
On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
> Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.
>
> However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3
We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.
I would like to invite other python/electron developers to help us evolving the project in correct direction.
-- Thanks, Ashesh
>
>
> As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!
>
> --Luther
>
>
> On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
>
>
>
>
>
> Hi,
>
> On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
>> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loads
>>
>> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviour
>>
> pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.
>
> Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.
>
> I have attached the Chrome configuration for the new window for your reference.
>
> Thanks,
> Khushboo
>>
>> Wdyt?
>>
>> --Luther
>
>
>
*top menu bar
On Fri, Aug 9, 2019 at 10:24 AM Avin Kavish <avinkavish@gmail.com> wrote:
yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matches the one used by the server and some sort of secret key exchange and context menus.On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote:I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.
In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.
I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.
Wdyt?
--Luther
On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
> Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.
>
> However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3
We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.
I would like to invite other python/electron developers to help us evolving the project in correct direction.
-- Thanks, Ashesh
>
>
> As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!
>
> --Luther
>
>
> On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
>
>
>
>
>
> Hi,
>
> On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
>> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loads
>>
>> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviour
>>
> pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.
>
> Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.
>
> I have attached the Chrome configuration for the new window for your reference.
>
> Thanks,
> Khushboo
>>
>> Wdyt?
>>
>> --Luther
>
>
>
Re: Opening pgAdmin 4 in a new browser window as an alternative user flow
From
Michel Feinstein
Date:
Do it the other way around... Instead of having the browser opening the server, have the server open the browser when it's up and running. In case the server is shut down, just close the browser window, they will behave as if they were one process.
On Fri, Aug 9, 2019, 01:55 Avin Kavish <avinkavish@gmail.com> wrote:
yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matches the one used by the server and some sort of secret key exchange and context menus.On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote:I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.
In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.
I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.
Wdyt?
--Luther
On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:
On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
> Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.
>
> However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3
We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.
I would like to invite other python/electron developers to help us evolving the project in correct direction.
-- Thanks, Ashesh
>
>
> As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!
>
> --Luther
>
>
> On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
>
>
>
>
>
> Hi,
>
> On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:
>> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loads
>>
>> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviour
>>
> pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.
>
> Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.
>
> I have attached the Chrome configuration for the new window for your reference.
>
> Thanks,
> Khushboo
>>
>> Wdyt?
>>
>> --Luther
>
>
>
Re: Opening pgAdmin 4 in a new browser window as an alternativeuser flow
From
Luther Goh Lu Feng
Date:
I see. I actually appreciate that pgAdmin is in a web browser, just that it was frustrating that it opens in a new tab insteadof a window. But I guess it is impossible to make all users happy so I will rest my case for now. In any case, a brief look at the code[1] seems to suggest that it may not be trivial to implement my request. Thanks for the feedback anyway! 🙇🏻♂️ --Luther On Friday, August 9, 2019, 12:55:08 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote: yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launchingand waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matchesthe one used by the server and some sort of secret key exchange and context menus. On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote: > I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address. > > On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote: >> The people who want it don't want a browser window, they want an independent standalone application that is not affectedby what they might do with the browser. >> >> On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>> Thanks for sharing the plans for electron. >>> >>> In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a newwindow in the existing web browser. >>> >>> I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existingweb browser should be much more easily achievable. >>> >>> Wdyt? >>> >>> --Luther >>> >>> >>> >>> >>> On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote: >>> >>> >>> >>> >>> >>> >>> On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>>> Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration. >>>> >>>> However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3.I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, makeit more similar to pgAdmin 3 >>> We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), andit is a side line project, and getting delayed due to limited resources working on the pgAdmin 4. >>> >>> I would like to invite other python/electron developers to help us evolving the project in correct direction. >>> >>> -- Thanks, Ashesh >>>> >>>> >>>> As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and haveswitched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers! >>>> >>>> --Luther >>>> >>>> >>>> On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote: >>>> >>>> >>>> >>>> >>>> >>>> Hi, >>>> >>>> On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>>>> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right ofall tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I willbe abruptly brought to that tab when pgAdmin 4 loads >>>>> >>>>> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option,that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomedas the default behaviour >>>>> >>>> pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for yourbrowser to always open pgAdmin in the new window. >>>> >>>> Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command"option. >>>> >>>> I have attached the Chrome configuration for the new window for your reference. >>>> >>>> Thanks, >>>> Khushboo >>>>> >>>>> Wdyt? >>>>> >>>>> --Luther >>>> >>>> >>>> >>> >>> >>> >> >
Re: Opening pgAdmin 4 in a new browser window as an alternativeuser flow
From
Luther Goh Lu Feng
Date:
I personally don't like to run electron apps. So once the electron version is released, would it have an option to loada webpage in the browser? But it is also understandable if my feature suggestion isnt on the roadmap. Since I probably belong to the minority --Luther On Friday, August 9, 2019, 1:00:33 PM GMT+8, Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: I see. I actually appreciate that pgAdmin is in a web browser, just that it was frustrating that it opens in a new tab insteadof a window. But I guess it is impossible to make all users happy so I will rest my case for now. In any case, a brief look at the code[1] seems to suggest that it may not be trivial to implement my request. Thanks for the feedback anyway! 🙇🏻♂️ --Luther On Friday, August 9, 2019, 12:55:08 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote: yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launchingand waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matchesthe one used by the server and some sort of secret key exchange and context menus. On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote: > I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address. > > On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote: >> The people who want it don't want a browser window, they want an independent standalone application that is not affectedby what they might do with the browser. >> >> On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>> Thanks for sharing the plans for electron. >>> >>> In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a newwindow in the existing web browser. >>> >>> I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existingweb browser should be much more easily achievable. >>> >>> Wdyt? >>> >>> --Luther >>> >>> >>> >>> >>> On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote: >>> >>> >>> >>> >>> >>> >>> On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>>> Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration. >>>> >>>> However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3.I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, makeit more similar to pgAdmin 3 >>> We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), andit is a side line project, and getting delayed due to limited resources working on the pgAdmin 4. >>> >>> I would like to invite other python/electron developers to help us evolving the project in correct direction. >>> >>> -- Thanks, Ashesh >>>> >>>> >>>> As an aside, is there a generic command that does the default browser in a new window? I am using firefox now and haveswitched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers! >>>> >>>> --Luther >>>> >>>> >>>> On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote: >>>> >>>> >>>> >>>> >>>> >>>> Hi, >>>> >>>> On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>>>> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right ofall tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I willbe abruptly brought to that tab when pgAdmin 4 loads >>>>> >>>>> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option,that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomedas the default behaviour >>>>> >>>> pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for yourbrowser to always open pgAdmin in the new window. >>>> >>>> Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command"option. >>>> >>>> I have attached the Chrome configuration for the new window for your reference. >>>> >>>> Thanks, >>>> Khushboo >>>>> >>>>> Wdyt? >>>>> >>>>> --Luther >>>> >>>> >>>> >>> >>> >>> >> >
I’m on my phone so can’t provide details, but some browsers offer command line options you can use in the config dialog to use a new window. In some, you may need to settle for an alternate profile.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company
I see. I actually appreciate that pgAdmin is in a web browser, just that it was frustrating that it opens in a new tab instead of a window. But I guess it is impossible to make all users happy so I will rest my case for now.
In any case, a brief look at the code[1] seems to suggest that it may not be trivial to implement my request.
Thanks for the feedback anyway! 🙇🏻♂️
--Luther
On Friday, August 9, 2019, 12:55:08 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote:
yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matches the one used by the server and some sort of secret key exchange and context menus.
On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote:I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.Wdyt?--LutherOn Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.I would like to invite other python/electron developers to help us evolving the project in correct direction.-- Thanks, AsheshAs an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!--LutherOn Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:Hi,On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loadsI would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviourpgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.I have attached the Chrome configuration for the new window for your reference.Thanks,KhushbooWdyt?--Luther
@Luther Goh Lu Feng Electron launch option is going to be optional as far as I'm aware
@Dave Page I think Khushboo linked a screenshot with the settings
On Fri, Aug 9, 2019 at 11:14 AM Dave Page <dpage@pgadmin.org> wrote:
I’m on my phone so can’t provide details, but some browsers offer command line options you can use in the config dialog to use a new window. In some, you may need to settle for an alternate profile.--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL CompanyI see. I actually appreciate that pgAdmin is in a web browser, just that it was frustrating that it opens in a new tab instead of a window. But I guess it is impossible to make all users happy so I will rest my case for now.
In any case, a brief look at the code[1] seems to suggest that it may not be trivial to implement my request.
Thanks for the feedback anyway! 🙇🏻♂️
--Luther
On Friday, August 9, 2019, 12:55:08 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote:
yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matches the one used by the server and some sort of secret key exchange and context menus.
On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote:I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.Wdyt?--LutherOn Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.I would like to invite other python/electron developers to help us evolving the project in correct direction.-- Thanks, AsheshAs an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!--LutherOn Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:Hi,On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loadsI would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviourpgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.I have attached the Chrome configuration for the new window for your reference.Thanks,KhushbooWdyt?--Luther
Re: Opening pgAdmin 4 in a new browser window as an alternativeuser flow
From
Luther Goh Lu Feng
Date:
> Electron launch option is going to be optional as far as I'm aware
That's great to know! 🙇🏻♂️
On Friday, August 9, 2019, 1:52:31 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote:
@Luther Goh Lu Feng Electron launch option is going to be optional as far as I'm aware
@Dave Page I think Khushboo linked a screenshot with the settings
On Fri, Aug 9, 2019 at 11:14 AM Dave Page <dpage@pgadmin.org> wrote:
I’m on my phone so can’t provide details, but some browsers offer command line options you can use in the config dialog to use a new window. In some, you may need to settle for an alternate profile.--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL CompanyI see. I actually appreciate that pgAdmin is in a web browser, just that it was frustrating that it opens in a new tab instead of a window. But I guess it is impossible to make all users happy so I will rest my case for now.
In any case, a brief look at the code[1] seems to suggest that it may not be trivial to implement my request.
Thanks for the feedback anyway! 🙇🏻♂️
--Luther
On Friday, August 9, 2019, 12:55:08 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote:
yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matches the one used by the server and some sort of secret key exchange and context menus.
On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote:I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.Wdyt?--LutherOn Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.I would like to invite other python/electron developers to help us evolving the project in correct direction.-- Thanks, AsheshAs an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!--LutherOn Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:Hi,On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loadsI would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviourpgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.I have attached the Chrome configuration for the new window for your reference.Thanks,KhushbooWdyt?--Luther
Right - I’m just point out that you may be able to add a command line option to tell your browser to use a new window.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company
@Luther Goh Lu Feng Electron launch option is going to be optional as far as I'm aware@Dave Page I think Khushboo linked a screenshot with the settingsOn Fri, Aug 9, 2019 at 11:14 AM Dave Page <dpage@pgadmin.org> wrote:I’m on my phone so can’t provide details, but some browsers offer command line options you can use in the config dialog to use a new window. In some, you may need to settle for an alternate profile.--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL CompanyI see. I actually appreciate that pgAdmin is in a web browser, just that it was frustrating that it opens in a new tab instead of a window. But I guess it is impossible to make all users happy so I will rest my case for now.
In any case, a brief look at the code[1] seems to suggest that it may not be trivial to implement my request.
Thanks for the feedback anyway! 🙇🏻♂️
--Luther
On Friday, August 9, 2019, 12:55:08 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote:
yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matches the one used by the server and some sort of secret key exchange and context menus.
On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote:I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.Wdyt?--LutherOn Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.I would like to invite other python/electron developers to help us evolving the project in correct direction.-- Thanks, AsheshAs an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!--LutherOn Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:Hi,On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loadsI would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviourpgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.I have attached the Chrome configuration for the new window for your reference.Thanks,KhushbooWdyt?--Luther
okay, my point is that an answer was given to Luther which I believe helped him solve his problem :) Just trying to save you the energy of looking into this in detail, that is all :) Sometimes I shorten what I'm thinking to a few words and it leaves it open to interpretation.
On Fri, Aug 9, 2019 at 11:50 AM Dave Page <dpage@pgadmin.org> wrote:
Right - I’m just point out that you may be able to add a command line option to tell your browser to use a new window.--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL Company@Luther Goh Lu Feng Electron launch option is going to be optional as far as I'm aware@Dave Page I think Khushboo linked a screenshot with the settingsOn Fri, Aug 9, 2019 at 11:14 AM Dave Page <dpage@pgadmin.org> wrote:I’m on my phone so can’t provide details, but some browsers offer command line options you can use in the config dialog to use a new window. In some, you may need to settle for an alternate profile.--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:http://www.enterprisedb.com
The Enterprise PostgreSQL CompanyI see. I actually appreciate that pgAdmin is in a web browser, just that it was frustrating that it opens in a new tab instead of a window. But I guess it is impossible to make all users happy so I will rest my case for now.
In any case, a brief look at the code[1] seems to suggest that it may not be trivial to implement my request.
Thanks for the feedback anyway! 🙇🏻♂️
--Luther
On Friday, August 9, 2019, 12:55:08 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote:
yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matches the one used by the server and some sort of secret key exchange and context menus.
On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote:I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address.On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote:The people who want it don't want a browser window, they want an independent standalone application that is not affected by what they might do with the browser.On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for sharing the plans for electron.In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meant a new window in the existing web browser.I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existing web browser should be much more easily achievable.Wdyt?--LutherOn Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.I would like to invite other python/electron developers to help us evolving the project in correct direction.-- Thanks, AsheshAs an aside, is there a generic command that does the default browser in a new window? I am using firefox now and have switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers!--LutherOn Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:Hi,On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme right of all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, and I will be abruptly brought to that tab when pgAdmin 4 loadsI would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option, that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomed as the default behaviourpgAdmin configuration window provides the way to set the browser options. You can set the appropriate command for your browser to always open pgAdmin in the new window.Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "Browser Command" option.I have attached the Chrome configuration for the new window for your reference.Thanks,KhushbooWdyt?--Luther
Re: Opening pgAdmin 4 in a new browser window as an alternativeuser flow
From
Luther Goh Lu Feng
Date:
> yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such as launchingand waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matchesthe one used by the server and some sort of secret key exchange and context menus. Is there a ticket or a branch that I can follow for the electron code? On Friday, August 9, 2019, 3:00:37 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote: okay, my point is that an answer was given to Luther which I believe helped him solve his problem :) Just trying to saveyou the energy of looking into this in detail, that is all :) Sometimes I shorten what I'm thinking to a few words andit leaves it open to interpretation. On Fri, Aug 9, 2019 at 11:50 AM Dave Page <dpage@pgadmin.org> wrote: > Right - I’m just point out that you may be able to add a command line option to tell your browser to use a new window. > > -- Dave PageBlog: http://pgsnake.blogspot.comTwitter: @pgsnakeEnterpriseDB UK:http://www.enterprisedb.comThe EnterprisePostgreSQL Company > > On 9 Aug 2019, at 06:52, Avin Kavish <avinkavish@gmail.com> wrote: > >> @Luther Goh Lu Feng Electron launch option is going to be optional as far as I'm aware >> >> @Dave Page I think Khushboo linked a screenshot with the settings >> >> On Fri, Aug 9, 2019 at 11:14 AM Dave Page <dpage@pgadmin.org> wrote: >>> I’m on my phone so can’t provide details, but some browsers offer command line options you can use in the config dialogto use a new window. In some, you may need to settle for an alternate profile. >>> >>> -- Dave PageBlog: http://pgsnake.blogspot.comTwitter: @pgsnakeEnterpriseDB UK:http://www.enterprisedb.comThe EnterprisePostgreSQL Company >>> >>> On 9 Aug 2019, at 06:00, Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>> >>>> I see. I actually appreciate that pgAdmin is in a web browser, just that it was frustrating that it opens in a new tabinstead of a window. But I guess it is impossible to make all users happy so I will rest my case for now. >>>> >>>> In any case, a brief look at the code[1] seems to suggest that it may not be trivial to implement my request. >>>> >>>> Thanks for the feedback anyway! 🙇🏻♂️ >>>> >>>> --Luther >>>> >>>> >>>> >>>> On Friday, August 9, 2019, 12:55:08 PM GMT+8, Avin Kavish <avinkavish@gmail.com> wrote: >>>> >>>> >>>> >>>> >>>> >>>> yep, exactly. The code for that is already in the repository. But there are a few considerations to be made such aslaunching and waiting for the python server to be up when the window is opened, ensuring the port number is fixed or matchesthe one used by the server and some sort of secret key exchange and context menus. >>>> >>>> On Fri, Aug 9, 2019 at 10:13 AM Michel Feinstein <michelfeinstein@gmail.com> wrote: >>>>> I think this would be a lot easier, as you are just basically wrapping a browser with a fixed URL address. >>>>> >>>>> On Fri, Aug 9, 2019, 01:39 Avin Kavish <avinkavish@gmail.com> wrote: >>>>>> The people who want it don't want a browser window, they want an independent standalone application that is not affectedby what they might do with the browser. >>>>>> >>>>>> On Fri, Aug 9, 2019 at 10:08 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>>>>>> Thanks for sharing the plans for electron. >>>>>>> >>>>>>> In my feature suggestion for a new window, I am not referring to a new window using electron, but instead I meanta new window in the existing web browser. >>>>>>> >>>>>>> I am unfamiliar with the effort needed for electron integration. But I suspect that opening a new window in an existingweb browser should be much more easily achievable. >>>>>>> >>>>>>> Wdyt? >>>>>>> >>>>>>> --Luther >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Friday, August 9, 2019, 12:31:56 PM GMT+8, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>>>>>>> Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration. >>>>>>>> >>>>>>>> However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlikepgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints,make it more similar to pgAdmin 3 >>>>>>> We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron),and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4. >>>>>>> >>>>>>> I would like to invite other python/electron developers to help us evolving the project in correct direction. >>>>>>> >>>>>>> -- Thanks, Ashesh >>>>>>>> >>>>>>>> >>>>>>>> As an aside, is there a generic command that does the default browser in a new window? I am using firefox now andhave switched to and fro from Chrome. It would be convenient if there is a single command that applies for both browsers! >>>>>>>> >>>>>>>> --Luther >>>>>>>> >>>>>>>> >>>>>>>> On Friday, August 9, 2019, 12:17:57 PM GMT+8, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Hi, >>>>>>>> >>>>>>>> On Thu, Aug 8, 2019 at 11:18 PM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote: >>>>>>>>> The current default behaviour of pgAdmin4 is to load a webpage in a new default browser tab, on the extreme rightof all tabs. I find that less than ideal in the scenario where I have a large number of tabs in firefox, eg, 50, andI will be abruptly brought to that tab when pgAdmin 4 loads >>>>>>>>> >>>>>>>>> I would like to suggest an alternative user flow, where the pgAdmin loads in a new window. This could be an option,that could be toggled on and off with a checkbox. I would even go as far to suspect that this may be more welcomedas the default behaviour >>>>>>>>> >>>>>>>> pgAdmin configuration window provides the way to set the browser options. You can set the appropriate command foryour browser to always open pgAdmin in the new window. >>>>>>>> >>>>>>>> Right click on the pgAdmin 4 taskbar icon (elephant icon) > Select Configure > Set the command for the "BrowserCommand" option. >>>>>>>> >>>>>>>> I have attached the Chrome configuration for the new window for your reference. >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Khushboo >>>>>>>>> >>>>>>>>> Wdyt? >>>>>>>>> >>>>>>>>> --Luther >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>>> >>
On 09/08/2019 06.31, Ashesh Vashi wrote:
I for one would be very interested in an electron based desktop version...On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng <elfgoh@yahoo.com> wrote:Thanks for the suggestion!. That is very useful, and would work for me as a personal custom configuration.
However, I have read some complaints in the mailing list about how pgAdmin 4 opens a web page in a new tab, unlike pgAdmin3. I do wonder if changing the default behaviour to open in a new window would possibly address those complaints, make it more similar to pgAdmin 3We would love to have a separate window for pgAdmin 4, hence - we're already working on the POC (using electron), and it is a side line project, and getting delayed due to limited resources working on the pgAdmin 4.
Regards, Arni