[pgAdmin][RM4553] Query tool UX improvement

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin][RM4553] Query tool UX improvement
Date: 2019-08-22 07:35:12
Message-ID: CAM9w-_kFqLrrm74sEMB9v1F83DS5YHe4oymVzO1jJ3xTa8-shA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Hackers,

Attached is the patch to improve user experience when opening query tool.
Previously, when the query tool button was clicked, the request went to
backend, the connection was created and sent back to the UI. Until then,
there was no activity on the UI. For slow servers it looked like pgAdmin is
slow/struck.
With this change, the query tool will be opened instantaneously. Other
things like opening the connection is done in parallel with query tool
render, thus saving time.
The query tool connection status icon will show a spinner and text will
have "Obtaining connection..." until the connection is established.

Test cases added/changed accordingly.

Kindly review.
--
Thanks and Regards,
Aditya Toshniwal
Software Engineer | EnterpriseDB India | Pune
"Don't Complain about Heat, Plant a TREE"

Attachment Content-Type Size
RM4553.patch application/octet-stream 64.8 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2019-08-22 07:40:42 Re: [pgAdmin][RM4553] Query tool UX improvement
Previous Message Aditya Toshniwal 2019-08-22 05:51:41 Re: [GSoC][New Feature] Editable and Read-only Columns