Lack of activity indicator over slow connections (pgadmin4)

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Lack of activity indicator over slow connections (pgadmin4)
Date: 2016-09-15 14:50:58
Message-ID: CABUevEx++DjkspfVGNkP4tyPNO1stR-Xp=GitREWXNHxKcoLyw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

I've been using pgadmin4 a bit recently over really slow and in particular
long-latency connections (double-vpns across the atlantic..)

What I've noticed is that there appears to be zero feedback while things
are running. In this case, the slow link was between pgadmin4 and the
database it's connected do, but I'd expect similar issues when it's pgadmin
that's far away from the browser.

Basically, clicking on a node in the tree, it took 15-20 seconds before the
SQL pane updated (or the properties pane). During this time, there is
*zero* feedback that something is going on, unless I open up developer
mode. Which, in fact, I did a couple of times to look at the console
thinking it had crashed rather than was just doing something.

In my case I did the "classic end user" and ended up clicking at a couple
of different things to see if anything works at all, which of course made
things even more confusing. But that's exactly the kind of thing that end
users will do.

I think that's going to cause a *lot* of confusion. There should really be
*some* level of feedback.

I think a very good choice would be if it's possible to make it do nothing
by default but if a request takes more than say 1 second, a spinner can
show up to show that it's actually *doing* something.

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Susan Douglas 2016-09-15 14:55:39 Documentation patch for pgAdmin 4
Previous Message Surinder Kumar 2016-09-15 12:05:40 [pgAdmin4][Patch]: RM1600 - Trigger function is not being created in EPAS 9.6 and PPAS-9.5 server