public inbox for [email protected]  
help / color / mirror / Atom feed
From: Surinder Kumar <[email protected]>
To: Dave Page <[email protected]>
Cc: Magnus Hagander <[email protected]>
Cc: pgadmin-hackers <[email protected]>
Cc: Ashesh Vashi <[email protected]>
Cc: Murtuza Zabuawala <[email protected]>
Subject: Re: Lack of activity indicator over slow connections (pgadmin4)
Date: Wed, 21 Sep 2016 19:00:33 +0530
Message-ID: <CAM5-9D8GARXHAryQDHLKgBzCgN0+beSVwFPn3Gb3MCQZ=nr7ow@mail.gmail.com> (raw)
In-Reply-To: <CA+OCxozh3e4AGxd2GkLav9qLG=i2U4YG4FoCMe0fN+edYWhgow@mail.gmail.com>
References: <CABUevEx++DjkspfVGNkP4tyPNO1stR-Xp=GitREWXNHxKcoLyw@mail.gmail.com>
	<CA+OCxow5nvt8yBjx_Oh-6Upa3O4HrR5t14Y7OTiQ1quXxUfscw@mail.gmail.com>
	<CABUevEz0KfNQ6Y_gh-MRWkOEWaHxGrr-oFvpKOvLE+=M8fCxEw@mail.gmail.com>
	<CA+OCxozh3e4AGxd2GkLav9qLG=i2U4YG4FoCMe0fN+edYWhgow@mail.gmail.com>
List-Unsubscribe:  <mailto:[email protected]?body=unsub%20pgadmin-hackers>

Hi Dave/Ashesh

The thing we can do is:
1) We can display *loading message* same as other panels if returned
response is taking longer than 2 seconds, otherwise we won't display any
message(to avoid fluctuations).
Screenshot - demo_message.png

2) Display a loading spinner along with panel title while data is being
loaded.
Screenshot - spinner.png

Please let us know if it looks good.


On Wed, Sep 21, 2016 at 5:53 PM, Dave Page <[email protected]> wrote:

> Ashesh, Murtuza, Surinder,
>
> Some feedback or preferably a patch please? Release is next week!
>
> On Fri, Sep 16, 2016 at 3:36 PM, Magnus Hagander <[email protected]>
> wrote:
> > On Fri, Sep 16, 2016 at 3:35 AM, Dave Page <[email protected]> wrote:
> >>
> >> Ashesh, Murtuza, Surinder,
> >>
> >> Any thoughts on how we can achieve this easily, and where we're
> >> lacking notifications? We did have activity notification in the
> >> treeview, but that never worked overly well and now I come to think of
> >> it, I don't recall seeing it recently. I'm thinking we need something:
> >>
> >> - On treeview node click
> >>
> >> - On dialogue open and OK
> >>
> >> - On Wizard steps
> >>
> >> - Possibly in the debugger, when stepping?
> >>
> >> I would think all that we need is to set the mouse cursor to 'progress'.
> >>
> >
> > Actually, the treeview spinner worked most of them time.  I'm not sure
> if it
> > worked all the time - I didn't check that carefully - but it did work
> most
> > of the mtime.
> >
> > But basically whatever *else* I clicked was the problem. In particular
> > clicking the tabs out right, with the "Properties" and "SQL" tabs being
> the
> > ones I used and they were extremely slow over the high latency
> connection (I
> > measured almost 4 minutes as the worst time to load a SQL pane for a
> table
> > with 11 columns and a couple of indexes and triggers) with lack of
> feedback.
> >
> > --
> >  Magnus Hagander
> >  Me: http://www.hagander.net/
> >  Work: http://www.redpill-linpro.com/
>
>
>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EnterpriseDB UK: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers


Attachments:

  [image/png] demo_message.png (70.6K, 3-demo_message.png)
  download | view image

  [image/png] spinner_in_panel.png (56.6K, 4-spinner_in_panel.png)
  download | view image

view thread (11+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected], [email protected]
  Subject: Re: Lack of activity indicator over slow connections (pgadmin4)
  In-Reply-To: <CAM5-9D8GARXHAryQDHLKgBzCgN0+beSVwFPn3Gb3MCQZ=nr7ow@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox