Re: PgAdmin-System_stats extension Patch

From: Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
To: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>
Cc: Kunal Garg <gargkunal02(at)gmail(dot)com>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>, Dave Page <dpage(at)pgadmin(dot)org>
Subject: Re: PgAdmin-System_stats extension Patch
Date: 2022-09-16 07:28:11
Message-ID: CAM9w-_=mUPQco2Eyzx0R07V1qEZ4ixV2jX4h+VPifLR_2fX+_A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Adding to these,
- Do not use CSS files until it is an override file for third party lib.
Use MUI styles.
- Follow the correct naming convention like Graphs_system_stats.jsx should
be GraphsSystemStats.jsx if it is exporting GraphsSystemStats component.

On Fri, Sep 16, 2022 at 11:05 AM Khushboo Vashi <
khushboo(dot)vashi(at)enterprisedb(dot)com> wrote:

> Hello Kunal,
>
> Please find the review comments as below:
>
> User Interface:
> - The Thread count graph missing the details of handle count and thread
> count plotting (lines), I can only see the legends.
> - The graph details (below the graphs) are not aligned properly.
> - The Disk graph is showing nothing apart from the empty grid, and the
> grid lines are getting out of boundary.
> - If the extension is not available or the user does not have the
> permission, then the user should get the proper message, currently lots of
> errors are getting displayed.
>
> Code review:
> - system_stat/__init__.py file is not getting used anywhere and the same
> code has been copied into Dashboard/__init__.py file.
> - As per my previous comments, all the generic functions should be in one
> place. We can not copy one function as it is and paste it into another file
> and use it.
> Ex: Graphs_system_stats.jsx and Graphs.jsx both files contain almost the
> same functions.
> - Does Dashboard_system_stats.css be used anywhere?
> - The documentation (rst file) is missing.
> - please run 'yarn run pep8' and fix the issues.
>
> Thanks,
> Khushboo
>
>
>
>
>
> On Tue, Sep 13, 2022 at 12:32 PM Kunal Garg <gargkunal02(at)gmail(dot)com> wrote:
>
>> Hi,
>>
>> Please find the attached System Stats extension patch.
>> As my Final Submission for GSoC.
>>
>>
>> Thanks,
>> Kunal
>>
>

--
Thanks,
Aditya Toshniwal
pgAdmin Hacker | Software Architect | *edbpostgres.com*
<http://edbpostgres.com>
"Don't Complain about Heat, Plant a TREE"

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Libor M. 2022-09-16 14:47:20 pgAdmin 4 - Czech translation update for version 6.14
Previous Message Khushboo Vashi 2022-09-16 05:34:47 Re: PgAdmin-System_stats extension Patch