[pgAdmin4][Patch]: RM#1462- AJAX request do not get fired second time

From: Surinder Kumar <surinder(dot)kumar(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][Patch]: RM#1462- AJAX request do not get fired second time
Date: 2016-07-18 07:34:34
Message-ID: CAM5-9D880YxpQeQj7V1uWAP_bg8GNJiQ9vQf=fm0EziiCSW+rw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

Please find attached patch for the fix:
*Issue:*
This issue is regression of one of the flickering issue of RM#1242.
"Aside from displaying/hiding the spinner, panes should have their content
refreshed until and unless the new data differs from the previous, to
reduce flicker"

*Solution:*
Along with caching the node node, we should also keep track of the previous
node clicked.
Fetch new data iff previous node and current node clicked differs.

Please review.

Thanks,
Surinder Kumar

Attachment Content-Type Size
RM#1462.patch application/octet-stream 4.0 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-07-18 08:40:46 pgAdmin 4 commit: Properly support the interval type. Fixes #1437
Previous Message Murtuza Zabuawala 2016-07-18 06:34:14 Re: PATCH: To fix Timestamps displaying with time as 00:00 (pgAdmin4)