Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bhdPQ-0003lB-Be for pgadmin-hackers@arkaria.postgresql.org; Wed, 07 Sep 2016 14:01:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bhdPP-0003Aj-UU for pgadmin-hackers@arkaria.postgresql.org; Wed, 07 Sep 2016 14:00:59 +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 1bhdPC-0002wE-PY for pgadmin-hackers@postgresql.org; Wed, 07 Sep 2016 14:00:46 +0000 Received: from mail-it0-x231.google.com ([2607:f8b0:4001:c0b::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bhdP8-0001ar-6e for pgadmin-hackers@postgresql.org; Wed, 07 Sep 2016 14:00:46 +0000 Received: by mail-it0-x231.google.com with SMTP id e124so198101966ith.0 for ; Wed, 07 Sep 2016 07:00:41 -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=tph1nb0cl6y8Hb7sxSLQCA9iaYlYgi6Zt2F83fAd2ok=; b=QvYxNleHzZly8Ys0cz8biqbKo0Mr5Ziyb1xedlxotNYasKOhct99l8hgN+R76YLzX9 XdyjKreBYJiNWYsUiNUFEdocbnB4r5qeBAnEx6J5bYFQ2wR7neykEBLpCFBDAVjDeTKT A6I9fAmzddG4uvBqyuj6R/9ZybrnlfK5mQmJRDKwPGydaZr8E+wFblqp4mARug8B4Zgp 2LtLjLRiflUmwn4UHReXv0GCAkKEiwQh+QQpRDe3FfroZkfS6eJM0IJQEFbvHWbTUqUD OiWedGSYCUBxNcx97aLwalzUfCM49+0yssh/SiiNBt8h+DxWj103tS04qU6Qi1oqBLZD pNLQ== 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=tph1nb0cl6y8Hb7sxSLQCA9iaYlYgi6Zt2F83fAd2ok=; b=UvtFEXk44St7G/xVOzApqYzjmUI70AFmjMFFgRObX3UrVopx7gt01P8eB/55FB6n/b k4KdTJByUe+SIrZ098L/qnacEcJJHVv9S7TDxQjFueSvuyQULqi6z2BfPo+xsuYDflyp /Hv4ENyhHTgJOfrDPsrMvHQ50b7gS7TO+TAYZ/zdp4r7KSe2RMm93HXUqMvWB6o6AEFj 3rgnpE8sI+pHMz5iczmC88etDsIokfqdSXSBuJ4Jx1amKCXmV6P4MhTQtR1vQqknQ7c7 BskJjKblgQ5bqNT+tidM4xiF1epthrfjXO7PJ1OcO5chtR7vyvLiWxMCRC1T5qjQg8IX xg/A== X-Gm-Message-State: AE9vXwP8kriAJfIvroZ58CsCx2yKaViWUkfebpU36XhYKAiKL+W+VmtLmQGeAHN/vUtjiEQWaNCrnliFGAHxYQ== X-Received: by 10.36.51.206 with SMTP id k197mr6808530itk.37.1473256839438; Wed, 07 Sep 2016 07:00:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.1.203 with HTTP; Wed, 7 Sep 2016 07:00:38 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Wed, 7 Sep 2016 15:00:38 +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 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 -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers