Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-09-10 Thread Arni
On 09/08/2019 06.31, Ashesh Vashi wrote: > On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng > 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 th

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-09-09 Thread Luther Goh Lu Feng
> 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

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-09 Thread Avin Kavish
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 a

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Dave Page
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 > On 9 Aug 2019, at 06:52, Avin

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Luther Goh Lu Feng
> 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 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

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Avin Kavish
@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 wrote: > I’m on my phone so can’t provide details, but some browsers offer command > line options

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Dave Page
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.ent

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Luther Goh Lu Feng
I personally don't like to run electron apps. So once the electron version is released, would it have an option to load a 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, Augus

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Luther Goh Lu Feng
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 n

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Michel Feinstein
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 wrote: >

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Avin Kavish
*top menu bar On Fri, Aug 9, 2019 at 10:24 AM Avin Kavish 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

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Avin Kavish
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 exc

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Michel Feinstein
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 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

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Avin Kavish
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 wrote: > Thanks for sharing the plans for electron. > > In my feature suggestion fo

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Luther Goh Lu Feng
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

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Ashesh Vashi
On Fri, Aug 9, 2019 at 9:57 AM Luther Goh Lu Feng 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

Re: Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Luther Goh Lu Feng
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

Opening pgAdmin 4 in a new browser window as an alternative user flow

2019-08-08 Thread Luther Goh Lu Feng
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 wou