From issues-return-90235-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Tue Feb 5 06:02:05 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id EA6E118067A for ; Tue, 5 Feb 2019 07:02:04 +0100 (CET) Received: (qmail 3154 invoked by uid 500); 5 Feb 2019 06:02:04 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 3122 invoked by uid 99); 5 Feb 2019 06:02:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2019 06:02:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7ED48180CAD for ; Tue, 5 Feb 2019 06:02:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.5 X-Spam-Level: X-Spam-Status: No, score=-109.5 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, KAM_SHORT=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id tCPLf3tjh1uq for ; Tue, 5 Feb 2019 06:02:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id B80EE61081 for ; Tue, 5 Feb 2019 06:02:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 0C6C6E26E7 for ; Tue, 5 Feb 2019 06:02:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 47A5624414 for ; Tue, 5 Feb 2019 06:02:00 +0000 (UTC) Date: Tue, 5 Feb 2019 06:02:00 +0000 (UTC) From: "Alexander Kalinin (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-10965) Web console: in progress state for buttons MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/IGNITE-10965?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 760485#comment-16760485 ]=20 Alexander Kalinin commented on IGNITE-10965: -------------------------------------------- [~Klaster_1] I've created a pr. Please review.https://github.com/apache/ign= ite/pull/6022 > Web console: in progress state for buttons > ------------------------------------------ > > Key: IGNITE-10965 > URL: https://issues.apache.org/jira/browse/IGNITE-10965 > Project: Ignite > Issue Type: Improvement > Components: wizards > Reporter: Ilya Borisov > Assignee: Alexander Kalinin > Priority: Minor > Attachments: !icons.png, DisableBtn.png, ProgressBtn.png > > Original Estimate: 8h > Time Spent: 4h > Remaining Estimate: 4h > > *The problem:* > Some actions triggered by user might take awhile, during which user can = click on action button multiple times and, depending on internal details, c= ause unwanted side effects (like registering multiple users instead of one)= . > *Solution:* > Disable action button when action is running. Tell user to wait that som= ething is happening. This can be integrated into special button state. > Places new button state can be used in: > - User registration. > I'd rather prefer that new button state would: > - Not affect button dimensions because sudden button size change might l= ook uncanny. Overlays are OK, though. This probably rules out spinning indi= cator inline with button label. > - Not hide original button label so.user always knows what's in progress= . > - Work for all button styles. Unique background for each button type is = not OK, same background or overlay is OK. This will simplify the implementa= tion. > The requirements above are not set in stone, every point is open for dis= cussion. > [~vabramova] to provide design, [~Klaster_1] or [~alexdel] to implement. > =C2=A0 > Useful article:=C2=A0[https://habr.com/ru/post/271881/] > Sample implemenation: https://johannesjo.github.io/angular-promise-button= s/ > =C2=A0 -- This message was sent by Atlassian JIRA (v7.6.3#76005)