Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhuSK-00084x-6c for pgadmin-hackers@arkaria.postgresql.org; Thu, 08 Sep 2016 08:13:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bhuSJ-0008VE-PH for pgadmin-hackers@arkaria.postgresql.org; Thu, 08 Sep 2016 08:13:07 +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 1bhuSI-0008Tg-UJ for pgadmin-hackers@postgresql.org; Thu, 08 Sep 2016 08:13:06 +0000 Received: from mail-it0-x232.google.com ([2607:f8b0:4001:c0b::232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bhuSF-0004qt-K5 for pgadmin-hackers@postgresql.org; Thu, 08 Sep 2016 08:13:06 +0000 Received: by mail-it0-x232.google.com with SMTP id e124so66511041ith.0 for ; Thu, 08 Sep 2016 01:13:03 -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=bWNaMW4v19yGQyR+akLcLB7BhzrP100ZSTRswj7JDI8=; b=cGvuaCilwZ7ZR+1QUs5WvJI7CTMoDidP87DHTdoVpp7cArOdZWT4Gyuhq4Hi8+4/a5 l4c1mqGtwtfXofKtfbOTCXe0mPJfYKetd+mthAHNrX6sNj0zq1DzhZ9UGlzxR0kAx58J nQEdSjJNZhlnszqFbz5YkExrHQ7p2UV2wJB50BWB75Ie5e4DABo14D/kTaA7mmCeYUiS jX0JacqLF4l9yIOFR6Jtm07F4TgCFfrAPaiCDYSzDS8hmiXH7UkbPL7fu0DUVtxpc+1H Fdyyz7a5LKBd6M/qbjZMchGaI73JO10nwyN2+FDezXjELeRhevX354I3VZ8DJvDNUKQh I4ng== 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=bWNaMW4v19yGQyR+akLcLB7BhzrP100ZSTRswj7JDI8=; b=NM/0w0Y3AzJATYudyMb4ORjmDR/jF2Gd/gLshV9nEjCqOiZBj0/hEbuEuN7QXl+UAZ rHfBM1hKQwLSJf6JF3ScfKOG4NJYxEJqaconneMy6yIHc0K624FxsKaYKU+7v8lwLsZC 8Xc146J1j0REAH/xovvYe5xQ2hTfiYVI8uDNEj/1FmOJCQ/Gp9NC2FMi1HM8csgyIMhq 92kmveYTU6fVFLin8LH3UMpLxpCye23qWghp2N41n//gD8jfdHODFkXKTNRIpdYLTSAi zsclHHHYtHOTmpZUfJ1P6sYPeuCMcwL9rEoe8Z3ECb9guFjkwXLNAmkPwHWqK4XpL4yM 5L9A== X-Gm-Message-State: AE9vXwMl29xg+uvxPzqYiN3YUDbF4mAfnN+4k+Wu60XvE2E6qtMhiamyfmn8WmXeLuMRX+iG6v6AElEqB98q9g== X-Received: by 10.36.141.129 with SMTP id w123mr12686742itd.65.1473322381645; Thu, 08 Sep 2016 01:13:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Thu, 8 Sep 2016 01:13:01 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 8 Sep 2016 09:13:01 +0100 Message-ID: Subject: Re: PATCH: Adding more confirmations in query tool (pgAdmin4) To: Murtuza Zabuawala Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 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 Thanks, applied. On Thu, Sep 8, 2016 at 7:18 AM, Murtuza Zabuawala wrote: > Hi Dave, > > Please find updated patch. > Please review. > > > -- > Regards, > Murtuza Zabuawala > EnterpriseDB: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > On Wed, Sep 7, 2016 at 7:30 PM, Dave Page wrote: >> >> I think it's better to warn them as early as possible, as we do in >> pgAdmin 3 (actually, there we just prompt them to save the changes, >> but I think either is fine). >> >> On Wed, Sep 7, 2016 at 2:04 PM, Murtuza Zabuawala >> wrote: >> > Sure I'll do it, But I thought like let user traverse through file >> > manager >> > (he may or may not select any file to load) and warn only if he/she try >> > to >> > load file. >> > >> > >> > -- >> > Regards, >> > Murtuza Zabuawala >> > EnterpriseDB: http://www.enterprisedb.com >> > The Enterprise PostgreSQL Company >> > >> > On Wed, Sep 7, 2016 at 6:30 PM, Dave Page wrote: >> >> >> >> Hi >> >> >> >> On Wed, Sep 7, 2016 at 10:38 AM, Murtuza Zabuawala >> >> wrote: >> >> > Hi, >> >> > >> >> > PFA patch to add more confirmations in query tool before taking any >> >> > actions >> >> > which might cause lose changes, >> >> > - Clearing editor >> >> > - Clearing history >> >> > - Load file data >> >> > RM#1666 >> >> > >> >> > Please review. >> >> >> >> Can you tweak it so that the confirmation is requested as soon as the >> >> open file button is clicked, rather than when a file is selected >> >> please? I think that's a little more 'normal' :-). >> >> >> >> 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 > > -- 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