Обсуждение: Pgadmin4: preference to not ask to save query on close

Поиск
Список
Период
Сортировка

Pgadmin4: preference to not ask to save query on close

От
Doug Easterbrook
Дата:
hi again dave.<div class=""><br class="" /></div><div class="">the tabs for the queries are great..  it is a little
painfulwhen you have a few of them open and then just want to close them all — because you get asked if you want to
discardit.   </div><div class=""><br class="" /></div><div class="">there are two thoughts here.</div><div class=""><br
class=""/></div><div class="">first, I might suggest that the message should say  ‘do you want to SAVE’ it and that the
buttonssay ‘SAVE’ and ‘NO’.     </div><div class=""><br class="" /></div><div class="">traditionally, such messages
suggestsave … and a yes answer makes me think I want to save it, so I keep hitting no.   I’m getting hit by culturally
inbredmessages from my past.</div><div class=""><br class="" /></div><div class=""><br class="" /></div><div class="">I
alsowould like to ask for a preference not to be bothered and to just close the query window without saving.  Thats
mostlywhat we do.</div><div class=""><br class="" /></div><div class=""><br class="" /></div><div class=""><br class=""
/><divclass=""><div class="" style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start;
text-indent:0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
0px;word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""
style="color:rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform:
none;white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode:space; -webkit-line-break: after-white-space;"><div class="" style="color: rgb(0, 0, 0);
letter-spacing:normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal;
widows:auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break:after-white-space;"><span class="Apple-style-span" style="border-collapse: separate;
font-variant-ligatures:normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates:
normal;font-variant-east-asian: normal; line-height: normal; orphans: 2; text-indent: 0px; widows: 2; border-spacing:
0px;"><divclass="" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal;
font-variant-caps:normal; font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px;
text-transform:none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
-webkit-text-decorations-in-effect:none;"><b class="" style="font-weight: bold;"><span class="Apple-style-span"
style="font-weight:bold;"><span class="Apple-style-span" style="font-weight: bold;"><span class="Apple-style-span"
style="font-weight:bold;"><br class="Apple-interchange-newline" />Doug Easterbrook</span></span></span></b></div><div
class=""style="color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps:
normal;font-weight: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform:
none;white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
-webkit-text-decorations-in-effect:none;"><span class="Apple-style-span"><b class="" style="font-weight: bold;"><span
class="Apple-style-span"style="font-weight: bold;"><span class="Apple-style-span" style="font-weight: bold;"><span
class="Apple-style-span"style="font-weight: bold;">Arts Management Systems
Ltd.</span></span></span></b></span></div><divclass="" style="color: rgb(0, 0, 0); font-family: Helvetica; font-size:
12px;font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: 2;
text-align:start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width:0px; -webkit-text-decorations-in-effect: none;"><a class=""
href="mailto:doug@artsman.com">mailto:doug@artsman.com</a></div><divclass="" style="color: rgb(0, 0, 0); font-family:
Helvetica;font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal;
orphans:2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing:
0px;-webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;"><a class=""
href="http://www.artsman.com">http://www.artsman.com</a></div><divclass="" style="color: rgb(0, 0, 0); font-family:
Helvetica;font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal;
orphans:2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing:
0px;-webkit-text-stroke-width: 0px; -webkit-text-decorations-in-effect: none;">Phone (403)
650-1978</div></span></div></div></div></div><brclass="" /></div> 

Re: Pgadmin4: preference to not ask to save query on close

От
Dave Page
Дата:
Hi

On Wed, Nov 16, 2016 at 6:27 PM, Doug Easterbrook <doug@artsman.com> wrote:
> hi again dave.
>
> the tabs for the queries are great..  it is a little painful when you have a
> few of them open and then just want to close them all — because you get
> asked if you want to discard it.
>
> there are two thoughts here.
>
> first, I might suggest that the message should say  ‘do you want to SAVE’ it
> and that the buttons say ‘SAVE’ and ‘NO’.
>
> traditionally, such messages suggest save … and a yes answer makes me think
> I want to save it, so I keep hitting no.   I’m getting hit by culturally
> inbred messages from my past.

If memory serves, we followed the way pgAdmin 3 does that. It's not an
unreasonable change though: https://redmine.postgresql.org/issues/1972

> I also would like to ask for a preference not to be bothered and to just
> close the query window without saving.  Thats mostly what we do.

https://redmine.postgresql.org/issues/1973

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

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