Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1boWcz-0000TL-9r for pgadmin-hackers@arkaria.postgresql.org; Mon, 26 Sep 2016 14:11: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 1boWcy-0001bk-Sa for pgadmin-hackers@arkaria.postgresql.org; Mon, 26 Sep 2016 14:11: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 1boWcy-0001be-DD for pgadmin-hackers@postgresql.org; Mon, 26 Sep 2016 14:11:28 +0000 Received: from mail-io0-x229.google.com ([2607:f8b0:4001:c06::229]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1boWcu-00086D-LP for pgadmin-hackers@postgresql.org; Mon, 26 Sep 2016 14:11:27 +0000 Received: by mail-io0-x229.google.com with SMTP id m186so182779676ioa.2 for ; Mon, 26 Sep 2016 07:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=D3Ccdi3u1jKc3woIiw+3cKUTvFb+UfpuKYVecem8FmU=; b=Pe2T8IQKVeGWluIchKOrdAALuaxkI2+7rWdJNOHL1D2PSyL0BtqQnZWaR7Gk2+M5bd xVjrtdNXtSpd9x/cl5qhGTQisgH7BNK+Bnxl+2W2kOBoVRgfRJTIk5A+0yDiA02yIR0r JNISr54qM0AwqGhRtxCofiDYKB8Q+0cHfp0vLen8ILotEC1LGR/WEQWUyE3d45R+6x9c QLbzJ0msuZxHajjOsglEYnYMInDwLHFqQC+k9y7NgXIZh4AAuLdS8JxnmK8oFzkHoYbL rQs5fsS7Og9rn75d2v1qwUPx875d1NC+SWqynNPxldTiqgLoGPrtCyoSZwITGfumHefM iMLA== 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=D3Ccdi3u1jKc3woIiw+3cKUTvFb+UfpuKYVecem8FmU=; b=fmNLEEJ+vSZ+TSqFqvD1TUWdKs/U0bjLEh1/oh4QnseW/aDb3yFHHlaT6rqlffJODJ UM5U8YIr+xCX1Eyq5vknoqtulZuQ2xIG0DPVGoL+e8RjdwX01gFym3SyYmPS/79rN3RK epxJ0dwiEbRVbIYQkzE0mTTQ/2bgxQo1LQ033fmCZcwtZ6I6gyegvh55lgKjShMut+vi CF4qSHHy7ISJTlxgcSzTuNlkKbfwZbF2fT1bLOXrIN6pde3Qd61It96cbzGxJxhqf+3u WBgNTdHva8V3xVrBjU+VIgHAECLz4DIg5XjsuDe062rUtXnXtSWegTUVEAe3Iee6BSrY jWmQ== X-Gm-Message-State: AE9vXwO8Dw/MtVxNuSfgKQ4nqlMQTu0qhyVQ/KjhszAsEOspRjrd6HGmCqGHtAzhu3e4y2vogtlrAT4hhr/ryA== X-Received: by 10.107.48.18 with SMTP id w18mr26256389iow.147.1474899082959; Mon, 26 Sep 2016 07:11:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Mon, 26 Sep 2016 07:11:22 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Mon, 26 Sep 2016 15:11:22 +0100 Message-ID: Subject: Re: Lack of activity indicator over slow connections (pgadmin4) To: Surinder Kumar Cc: Magnus Hagander , pgadmin-hackers , Ashesh Vashi , Murtuza Zabuawala Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -1.9 (-) 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 Thanks, applied with some changes to wording, and reduction of the delay from 2 secs to 1. On Mon, Sep 26, 2016 at 2:41 PM, Surinder Kumar wrote: > Please find attached patch. Added activity indicator for: > 1) Panels. > 2) Dialog open and on click OK.(set cursor to progress) > 3) Debugger. (Set cursor to progress). > > Not done: Activity indicator is not implemented for wizard pages. send > another patch once completed. > > On Fri, Sep 23, 2016 at 2:19 PM, Surinder Kumar > wrote: >> >> 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? >> >> I will try to implement both. >>> >>> >>> >> >>> >> >>> >> 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? >> >> Ok. >>> >>> >>> Thanks! >>> >>> -- >>> Dave Page >>> Blog: http://pgsnake.blogspot.com >>> Twitter: @pgsnake >>> >>> EnterpriseDB UK: http://www.enterprisedb.com >>> The Enterprise PostgreSQL Company >> >> > -- 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 (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers