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

From Surinder Kumar
Subject [pgAdmin4][Patch]: RM#1462- AJAX request do not get fired second time
Date
Msg-id CAM5-9D880YxpQeQj7V1uWAP_bg8GNJiQ9vQf=fm0EziiCSW+rw@mail.gmail.com
Whole thread Raw
Responses Re: [pgAdmin4][Patch]: RM#1462- AJAX request do not get fired second time  (Dave Page <dpage@pgadmin.org>)
List 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

pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: Re: PATCH: To fix Timestamps displaying with time as 00:00 (pgAdmin4)
Next
From: Dave Page
Date:
Subject: pgAdmin 4 commit: Properly support the interval type. Fixes #1437