Re: Pgadmin4 System Stats Extension Design - Mailing list pgadmin-hackers

From Sahil Harpal
Subject Re: Pgadmin4 System Stats Extension Design
Date
Msg-id CAKi=nne8aQnL5euo5NDvchB4XGB-uKrPY1mK+m4_SrdfQHxCPg@mail.gmail.com
Whole thread Raw
In response to Re: Pgadmin4 System Stats Extension Design  (Khushboo Vashi <khushboo.vashi@enterprisedb.com>)
List pgadmin-hackers
On Tue, 22 Aug 2023 at 16:02, Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:
Hi Sahil,

On Tue, Aug 22, 2023 at 1:19 PM Sahil Harpal <sahilharpal1234@gmail.com> wrote:
Hello Khushboo,

Thank you for sharing this with me. As you can see, towards the end, when you encountered the tooltip issue, the size of the graph container was changing. I even found this bug in the actual pgAdmin4 application installed on my system. Please see the attached video.

Here's what I believe is happening: When the container's size changes, it seems that tooltips continue to accumulate without being properly removed.
The method we use to display tooltips involves inserting a new element into the DOM with the class name "uplot-tooltip". So, if we remove all the existing tooltip elements before inserting a new one, it could potentially resolve the issue. Would like to know your thoughts on this.

It would be good if you fix this issue as you already investigated and found the root cause. But if you have other things to complete as the deadline is approaching you can create this issue at pgAdmin repo as it is an existing one.

Sure, I'll try to fix this.

pgadmin-hackers by date:

Previous
From: Khushboo Vashi
Date:
Subject: Re: Pgadmin4 System Stats Extension Design
Next
From: Sahil Harpal
Date:
Subject: Re: Pgadmin4 System Stats Extension Design