Re: [pgAdmin4][Patch] - RM 3605 & 2392 - View data fixes

From: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
To: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgAdmin4][Patch] - RM 3605 & 2392 - View data fixes
Date: 2019-04-16 06:04:09
Message-ID: CAFOhELdxWfqUpQ_UGuCY695m6qbWdJjh7svdezHBO6PaGnG3tA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Please find the attached patch with some modification discussed at Redmine
for the RM #2392.

1. On deletion, strikeout the selected rows and delete those while clicking
on the Save button.
2. If only newly added rows are to be deleted then delete those directly.

Also, Slickgrid has been upgraded to the latest v2.3.4.

Thanks,
Khushboo

On Tue, Apr 9, 2019 at 11:46 AM Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
wrote:

> Hi Khushboo
>
> Found some new issues:
>
> 1. Delete button gets enabled if I select any new cell (type text) to
> enter some value.
>
> Fixed

>
> 1. Add two new rows, don't click on Save button and delete couple of
> rows. Colour of newly added rows will changed to green.
>
> Not applicable now

>
> 1. Create a table with Serial and Text column. Add two new rows,
> specify the values and don't click on Save button. Delete some rows and
> then click on Save button, data is saved in the database but grid is
> showing same serial id for two newly created rows. After re-run the query
> it shows the correct value.
>
> Fixed

> Can you please fix the above issues.
>
> On Mon, Apr 8, 2019 at 2:20 PM Khushboo Vashi <
> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>
>> Hi,
>>
>> Please find the attached updated patch.
>>
>> Thanks,
>> Khushboo
>>
>> On Fri, Apr 5, 2019 at 11:32 AM Akshay Joshi <
>> akshay(dot)joshi(at)enterprisedb(dot)com> wrote:
>>
>>> Hi Khushboo
>>>
>>> #3605 is fixed and found below issue in #2392
>>>
>>> - As per steps given in RM, I have perform the same. But when I
>>> delete the row, delete button is still enabled and save button is disabled
>>> even though newly created row is still there. Apart from that code looks
>>> good to me. Please fix it.
>>>
>>>
>>> Fixed.
>>
>>> On Thu, Apr 4, 2019 at 5:27 PM Khushboo Vashi <
>>> khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Please find the attached patch to fix:
>>>>
>>>> 1. #3605 - Edit Data: Deleting N number of rows makes first N number of
>>>> rows disable
>>>> 2. #2392 - Datagrid: If we delete any row it also saves newly added row
>>>>
>>>> Thanks,
>>>> Khushboo
>>>>
>>>>
>>>>
>>>
>>> --
>>> *Thanks & Regards*
>>> *Akshay Joshi*
>>>
>>> *Sr. Software Architect*
>>> *EnterpriseDB Software India Private Limited*
>>> *Mobile: +91 976-788-8246*
>>>
>>
>
> --
> *Thanks & Regards*
> *Akshay Joshi*
>
> *Sr. Software Architect*
> *EnterpriseDB Software India Private Limited*
> *Mobile: +91 976-788-8246*
>

Attachment Content-Type Size
RM_3605_2392_v2.patch application/octet-stream 5.3 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2019-04-16 07:35:34 Re: [pgAdmin4][Patch] - RM 3605 & 2392 - View data fixes
Previous Message Igor Miranda 2019-04-15 20:53:03 Disconnect user from replica