[pgAdmin4][Patch]: Adding connection status in Query tool

From: Murtuza Zabuawala <murtuza(dot)zabuawala(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: Adding connection status in Query tool
Date: 2017-12-19 11:42:32
Message-ID: CAKKotZT=N35X5vujWScjwcr9NRtYtn81Bbv-oTCm4gfDBfmdjQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

PFA patch to add the connection status
<http://initd.org/psycopg/docs/extensions.html#transaction-status-constants>
in query tool, this feature will allow user to check the database
connection status in query tool itself, it will also provide the detailed
status as a tooltip when user hovers on it, the most benefit of the feature
will be when user open query tool in new Browser Tab where Browser tree is
not visible to user, user can also configure the status polling time using
preference dialog.
RM#2475

Apart from that I have also removed the
..sqleditor/static/css/sqleditor.css reference
from ../datagrid/templates/datagrid/index.html file because we are already
bundling the "sqleditor.css" file in main "style.css" file.

Thanks to Chethana for his UI related inputs and to Surinder for helping me
on html alignment issues.

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
RM_2475.diff text/plain 11.2 KB
image/jpeg 47.7 KB
image/jpeg 49.3 KB
conn_status_3.jpg image/jpeg 87.8 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-12-19 12:20:05 pgAdmin 4 commit: Avoid a potential crash when downloading. Fixes #2964
Previous Message Khushboo Vashi 2017-12-19 06:51:39 [pgAdmin4][Patch]: RM #2964 - [Desktop Runtime] pgAdmin4 crash if user download query as CVS