Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bnMBh-0004bM-PB for pgadmin-hackers@arkaria.postgresql.org; Fri, 23 Sep 2016 08:50:29 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bnMBg-000064-4u for pgadmin-hackers@arkaria.postgresql.org; Fri, 23 Sep 2016 08:50:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bnMBS-0008Ep-O0 for pgadmin-hackers@postgresql.org; Fri, 23 Sep 2016 08:50:14 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bnMBP-0002Qx-2Y for pgadmin-hackers@postgresql.org; Fri, 23 Sep 2016 08:50:13 +0000 Received: by mail-wm0-x22d.google.com with SMTP id b130so17212339wmc.0 for ; Fri, 23 Sep 2016 01:50:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=/IH388C5DhcGLi/f7zrVmzeUWVW1JR2iHkJFDjJnCBw=; b=fOHINzNJzzAIkAvEVodtkZ1sOBhb61xDxTCNifXM6imN+I+tgsg2xmgs4rLSj07nSC GAi58mv9vFegOGAWZItCgAXE0xCMV8YXGKa7dwHqnIsNfwxooN8t3QLL/UNQiB0/S3qH 2gNl6wLI555QITH0ObQVLTRCYPtPogNJdumcxV9Gpfecp8tVXi/RbTwUpf18tWnwi7AX GpOEZbyIEiR4bP3U9LE1fuH/cOKopJMdRNViN8+bCp8bNgPJkyopz9Z2Mts9kwqVjpX9 +ss8/S8sx5Ie9NMnCeNK7/zxXTlKC4XjW06sfMI6nZ4cBaIhW0myy4j3lPM6Xwvz+Fe8 tUqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=/IH388C5DhcGLi/f7zrVmzeUWVW1JR2iHkJFDjJnCBw=; b=i5ZUBc0I6t6JLD+5OagA8yUpJWUozvE2vJovjasVjhnjR8saJ2tFKQAlPU2ojCUhqv 8KcjG/wo6+mnbYIpw8wDzWecJD6w3Z6lSRMv1efpy5h2ttVV50wZ6OQQEnTiCxAIBkM5 TWCOS2rbT5WYDSCv2Wlqgn/Fhjj9ydGWwV/VAnk+yeBkyMJXpBrVXNQGnJHihGfKGEQG p9fqm4ffXNz+X/oMEJqtydO86D/h9exufEMotRxw08gFOmnjz94EtgFjcIUxEq52lzQ2 JQYyrUZ4f7xpO3AG7H4Ql0tEtCH5kQTj3Z+iEhn/c3bQYrIMjBu7IZlmYFCTh5CI34s3 AwTA== X-Gm-Message-State: AA6/9RkbARp0sxaxjXKOS1SprCO3t2y+PMrU7nKCTmmO7yH7YoSIdjfA5ZY30Wnouv7gSBWpf15ufMx2PSF88Y7c X-Received: by 10.28.94.18 with SMTP id s18mr1832536wmb.44.1474620609915; Fri, 23 Sep 2016 01:50:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.172.198 with HTTP; Fri, 23 Sep 2016 01:49:39 -0700 (PDT) In-Reply-To: References: From: Surinder Kumar Date: Fri, 23 Sep 2016 14:19:39 +0530 Message-ID: Subject: Re: Lack of activity indicator over slow connections (pgadmin4) To: Dave Page Cc: Magnus Hagander , pgadmin-hackers , Ashesh Vashi , Murtuza Zabuawala Content-Type: multipart/alternative; boundary=001a11468e08a207fc053d28ddb6 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a11468e08a207fc053d28ddb6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Fri, Sep 23, 2016 at 1:45 PM, Dave Page wrote: > On Fri, Sep 23, 2016 at 7:32 AM, Surinder Kumar > wrote: > > > > > > On Wed, Sep 21, 2016 at 8:40 PM, Dave Page wrote: > >> > >> Hi > >> > >> On Wed, Sep 21, 2016 at 2:30 PM, Surinder Kumar > >> wrote: > >> > 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 > >> > >> There's a typo there (laoded).. > >> > >> > 2) Display a loading spinner along with panel title while data is > being > >> > loaded. > >> > Screenshot - spinner.png > >> > >> I don't see a spinner there at all. > > > > sorry its not spinner, its reload spinning icon in place of properties > icon. > > Oh, I see. I like it, but wonder if it would be too subtle. > > Can we do both? Show the panel, and spin a loading icon on the tab? > =E2=80=8BI will try to implement both.=E2=80=8B > > >> > >> > >> What about the other places I mentioned? > > > > > >> > >> - On dialogue open and OK > > > > D > > isplay loading message > > in dialog till the data loads and on OK we can set mouse pointer to > > 'progress' till the data is not processed. > > Yes, they are essentially panels too, so we can do the same as for > Properties and Statistics etc. > > > - On Wizard steps > > D > > isplay loading message > > also in wizard pages till it doesn't loads data. > > Yes. > > > > > - Possibly in the debugger, when stepping? > > > > In case of debugger's step into, step out & resume, we can set mouse > pointer > > to 'progress' > > OK. > > Can you work up a patch ASAP please? > =E2=80=8BOk.=E2=80=8B > > Thanks! > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > --001a11468e08a207fc053d28ddb6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On = Fri, Sep 23, 2016 at 1:45 PM, Dave Page <dpage@pgadmin.org> = wrote:
On Fri, Sep 23, 2016 at 7:32 AM, Surinder K= umar
<su= rinder.kumar@enterprisedb.com> wrote:
>
>
> On Wed, Sep 21, 2016 at 8:40 PM, Dave Page <dpage@pgadmin.org> wrote:
>>
>> Hi
>>
>> On Wed, Sep 21, 2016 at 2:30 PM, Surinder Kumar
>> <surinder.kumar@enterprisedb.com> wrote:
>> > Hi Dave/Ashesh
>> >
>> > The thing we can do is:
>> > 1) We can display loading message same as other panels if ret= urned
>> > response
>> > is taking longer than 2 seconds, otherwise we won't displ= ay any
>> > message(to
>> > avoid fluctuations).
>> > Screenshot - demo_message.png
>>
>> There's a typo there (laoded)..
>>
>> > 2) Display a loading spinner along with panel title while dat= a is being
>> > loaded.
>> > Screenshot - spinner.png
>>
>> I don't see a spinner there at all.
>
> sorry its not spinner, its reload spinning icon in place of properties= icon.

Oh, I see. I like it, but wonder if it would be too subtle.

Can we do both? Show the panel, and spin a loading icon on the tab?
=E2=80=8BI = will try to implement both.=E2=80=8B

>>
>>
>> What about the other places I mentioned?
>
>
>>
>> - On dialogue open and OK
>
>=C2=A0 =C2=A0 =C2=A0D
> isplay loading message
> in dialog till the data loads and on OK we can set mouse pointer to > 'progress' till the data is not processed.

Yes, they are essentially panels too, so we can do the same as for Properties and Statistics etc.

> - On Wizard steps
>=C2=A0 =C2=A0 D
> isplay loading message
> also in wizard pages till it doesn't loads data.

Yes.

>
> - Possibly in the debugger, when stepping?
>
> In case of debugger's step into, step out & resume, we can set= mouse pointer
> to 'progress'

OK.

Can you work up a patch ASAP please?
=E2=80=8BOk.=E2=80=8B

Thanks!

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

--001a11468e08a207fc053d28ddb6--