Re: [pgAdmin4][Patch]: Feature #2418 add rollback and commit action buttons on Query Tool

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch]: Feature #2418 add rollback and commit action buttons on Query Tool
Date: 2019-02-21 14:59:13
Message-ID: CA+OCxowWES7nFHkARCKdj_A1kfoQxsQwmRi=Ku0oQ+Xc1f=5dg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Thu, Feb 21, 2019 at 12:40 PM Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
wrote:

> Hi Hackers,
>
> Attached is the implementation of feature #2418 "add rollback and commit
> action buttons on Query Tool". I have added jasmine test cases, modified
> regression test. I have not added feature test as it is not stable and
> document is also not updated as we are going to update the new screenshots.
>
> Please review it.
>

I found a few quirks:

- The buttons disable themselves after a short delay when a long running
query is executed. Shouldn't we just disable them in
disable_tool_buttons()?
- The buttons are initially disabled, until a command is run. Shouldn't
they return to that state after a commit or rollback (whether from a button
press or typed SQL query)?
- Please update the docs, even if you don't update the screenshot
(otherwise we'll forget).

Thanks.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2019-02-21 15:40:41 pgAdmin 4 commit: Fix an issue where importing servers fails if a group
Previous Message Dave Page 2019-02-21 14:20:06 Re: [pgAdmin4][Pattch] - RM #3673 - "Download as .csv" F8 does NOT work when one of joined files is a TEMPORARY file