Re: Jasmine introduction

2018-03-28 Thread Murtuza Zabuawala
Thank you Joao, I was also googling last night and came across this free course on JS testing with Jasmine. -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Thu, Mar 29, 2018 at

Re: How to enable debug mode to See changes on the fly?

2018-03-28 Thread Murtuza Zabuawala
Hi, AFAIR we intentionally disabled it. The reason for this is that due to how the reload mechanism works there are some side-effects which was causing executing certain code twice. Check commit: git log a49a3103e298fcc437 If you want to enable reloading for development purposes then you can simp

Jasmine introduction

2018-03-28 Thread Joao De Almeida Pereira
Hi Hackers, In one of the other thread Murtuza asked for more information about jasmine framework and we dig up some information about it. Jasmine is a lightweight framework that allow you to write tests in a behavior-driven style. Because of this it is a very easy to use framework with very few f

Re: How to enable debug mode to See changes on the fly?

2018-03-28 Thread Joao De Almeida Pereira
Hello Rahul, In fact when you change python code there isn't much you can do, you need to restart the server every time. For the Javascript code you can have a second console open and run `yarn bundle:watch` and it will regenerate the javascript code and you just need to refresh the webpage on the

Re: Bug #3083 fix

2018-03-28 Thread Joao De Almeida Pereira
Hey Akshay and Neethu We refactored the patch to add tests for the resize feature. We were able to write test cases for the drag event by using spies and setting the rect dimensions. In cases like this, we can just test some components in order to have enough confidence in the code. So we isola

How to enable debug mode to See changes on the fly?

2018-03-28 Thread Rahul Soshte
In my config_local.py I have made DEBUG_MODE = TRUE Even then when I make changes to files in the codebase I am not able to see the changes instantly, I gotta restart the server again and again.I dont want to restart the server again and again to see my changes. What do I do?

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-28 Thread Dave Page
On Wed, Mar 28, 2018 at 4:28 PM, Robert Eckhardt wrote: > > > On Wed, Mar 28, 2018 at 11:20 AM, Dave Page wrote: > >> >> >> On Wed, Mar 28, 2018 at 2:54 PM, Robert Eckhardt >> wrote: >> >>> >>> >>> On Wed, Mar 28, 2018 at 4:12 AM, Dave Page wrote: >>> On Wed, Mar 28, 2018 at 1:3

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-28 Thread Robert Eckhardt
On Wed, Mar 28, 2018 at 11:20 AM, Dave Page wrote: > > > On Wed, Mar 28, 2018 at 2:54 PM, Robert Eckhardt > wrote: > >> >> >> On Wed, Mar 28, 2018 at 4:12 AM, Dave Page wrote: >> >>> >>> >>> On Wed, Mar 28, 2018 at 1:37 AM, Robert Eckhardt >>> wrote: >>> On Tue, Mar 27, 2018 at

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-28 Thread Dave Page
On Wed, Mar 28, 2018 at 2:54 PM, Robert Eckhardt wrote: > > > On Wed, Mar 28, 2018 at 4:12 AM, Dave Page wrote: > >> >> >> On Wed, Mar 28, 2018 at 1:37 AM, Robert Eckhardt >> wrote: >> >>> >>> >>> On Tue, Mar 27, 2018 at 9:54 AM, Murtuza Zabuawala < >>> murtuza.zabuaw...@enterprisedb.com> wrote

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-28 Thread Robert Eckhardt
On Wed, Mar 28, 2018 at 4:12 AM, Dave Page wrote: > > > On Wed, Mar 28, 2018 at 1:37 AM, Robert Eckhardt > wrote: > >> >> >> On Tue, Mar 27, 2018 at 9:54 AM, Murtuza Zabuawala < >> murtuza.zabuaw...@enterprisedb.com> wrote: >> >>> >>> >>> On Tue, Mar 27, 2018 at 7:06 PM, Robert Eckhardt >>> wro

Re: [pgAdmin4][patch]: RM #3090 pgadmin shows misleading "Query returned successfully" with incorrect SQL

2018-03-28 Thread Joao De Almeida Pereira
Hi Akshay, Thanks for the clarification, looks like there isn't much we can do then Best Regards, Joao On Wed, Mar 28, 2018 at 1:35 AM Akshay Joshi wrote: > Hi Joao > > On Tue, Mar 27, 2018 at 6:53 PM, Joao De Almeida Pereira < > jdealmeidapere...@pivotal.io> wrote: > >> Hi Akshay, >> >> We wer

Re: Bug #3083 fix

2018-03-28 Thread Akshay Joshi
Hi On Fri, Mar 2, 2018 at 3:40 AM, Joao De Almeida Pereira < jdealmeidapere...@pivotal.io> wrote: > Hello Neethu, > We passed the patch through our CI pipeline and all tests pass. > The code looks good, but we are trying to decouple files as much as we > can so that we do not end up with files w

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-28 Thread Dave Page
On Wed, Mar 28, 2018 at 1:37 AM, Robert Eckhardt wrote: > > > On Tue, Mar 27, 2018 at 9:54 AM, Murtuza Zabuawala < > murtuza.zabuaw...@enterprisedb.com> wrote: > >> >> >> On Tue, Mar 27, 2018 at 7:06 PM, Robert Eckhardt >> wrote: >> >>> >>> >>> On Tue, Mar 27, 2018 at 6:25 AM, Murtuza Zabuawala