[pgAdmin][RM4553] Query tool UX improvement - Mailing list pgadmin-hackers

From Aditya Toshniwal
Subject [pgAdmin][RM4553] Query tool UX improvement
Date
Msg-id CAM9w-_kFqLrrm74sEMB9v1F83DS5YHe4oymVzO1jJ3xTa8-shA@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin][RM4553] Query tool UX improvement  (Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>)
List 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

pgadmin-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: [GSoC][New Feature] Editable and Read-only Columns
Next
From: Aditya Toshniwal
Date:
Subject: Re: [pgAdmin][RM4553] Query tool UX improvement