Re: [GSoC] Query History Integration with updatable query resultsets and improvements

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Yosry Muhammad <yosrym93(at)gmail(dot)com>
Cc: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [GSoC] Query History Integration with updatable query resultsets and improvements
Date: 2019-08-07 08:31:02
Message-ID: CA+OCxoxXOs2LEM2eZWD7U+uMgG-jQw1LmTdA5Z0H6wKZi4LMmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Tue, Aug 6, 2019 at 5:46 PM Yosry Muhammad <yosrym93(at)gmail(dot)com> wrote:

> Hi,
>
> On Tue, Aug 6, 2019, 6:01 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:
>
>> Hi
>>
>> Seems to work well :-). A few comments:
>>
>> - Should we have an icon by the non-generated queries (the lightning
>> flash) and the COMMITs etc (the commit/rollback icon as appropriate) as
>> well? I think just having the icon for generated queries looks a little odd.
>>
>
> I am sorry I don't quite understand. Do you mean having an icon to
> show/hide user queries as well? I believe a checkbox is more appropriate
> anyway, maybe placed right above the history entries. I am going to need a
> design of the checkbox or styling guidlines though.
>

No, I mean put an icon by all queries to indicate the source of them. We'd
probably want one for the EXPLAIN button too.

For showing/hiding generate queries, we should use one of our slider
switches that we use elsewhere.

One other thing I found: The Copy to Query Editor button has gone missing,
and the Copy button seems to have stopped working.

>
>
>> - PEP-8 checks failed:
>>
>> pycodestyle --config=.pycodestyle web/
>> web/pgadmin/tools/sqleditor/utils/tests/test_save_changed_data.py:119:
>> [E251] unexpected spaces around keyword / parameter equals
>> web/pgadmin/tools/sqleditor/utils/tests/test_save_changed_data.py:214:
>> [E251] unexpected spaces around keyword / parameter equals
>> 2 E251 unexpected spaces around keyword / parameter equals
>> 2
>> make: *** [check-pep8] Error 1
>>
>
> It's okay I am still not done with the patch.
>
> Thanks .
>

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

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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Yosry Muhammad 2019-08-07 08:35:08 Re: [GSoC] Query History Integration with updatable query resultsets and improvements
Previous Message Dave Page 2019-08-07 08:26:57 Re: New versions "What's new"