Hi Khushboo

Following are the review comments with the new patch:

   - Select any collection node and make sure that the collection node
   should not have a single child. For example Cast, FDW, etc... Create a new
   Cast/FDW node it will not immediately be visible under the collection node.
   Once you collapse/expand then it is visible.
   - '*Failed to append .....*' warning comes whenever you create any new
   node.
   - 'Backup Server', 'Backup' menu not working.
   - The maintenance dialog is showing a blank white screen.
   - PSQL Tool always gives a 'Please select a server/database object.'
   message.
   - *item.getMetadata('data') *is not a function tree.js 740. When select
   Constraints collection node or right-click on it. Make sure the Constraints
   collection node has at least one constraint.
   - Import/Export dialog not opening. *Cannot read properties of undefined
   (reading 'apply') *
   - *Cannot read properties of null (reading 'selected') *dependent.js
   line no 76.  Open pgAdmin in the browser, without selecting any node do the
   reset layout, you will get the same error.


On Fri, Sep 24, 2021 at 11:22 AM Khushboo Vashi <
khushboo.va...@enterprisedb.com> wrote:

> Hi,
>
> Please find the attached updated patch.
> All the review comments are fixed except one as below.
>
> Thanks,
> Khushboo
>
> On Fri, Sep 17, 2021 at 8:35 PM Akshay Joshi <
> akshay.jo...@enterprisedb.com> wrote:
>
>> Hi Khushboo
>>
>> Following are the GUI review comments:
>>
>>    - Arrow ( > ) is not center-aligned with the node labels.
>>    - Sorting of tree items is not correct when you have servers like
>>    (PostgreSQL 9.5, PostgreSQL 9.6, PostgreSQL 10...)
>>
>> The sorting of the tree is alphabetically,  so, PG 10 will come first
> than PG 9.5.
>
>>
>>    - Servers collection node not showing count while expanding it.
>>    - The last child should not have a collapse/expand arrow ( >).
>>    - Properties panel should not be rendered again and again when the
>>    same tree object is collapsed/expanded. I have tried on Schema node.
>>    - The labels should be properly quoted. Create a Cast
>>    *"money->bigint", *in properties dialog it is showing correctly, but
>>    in browser tree, it is showing "*money-&gt;bigint*".
>>    - Mouse hover any node, we will see the URL as a tooltip.
>>    - Open query tool "*tree_data.slice is not a function" *error showing
>>    in the developer tools. File: sqleditor.js:2392
>>    - *node.getTreeNodeHierarchy is not a function* error visible. File:
>>    dependents.js and dependencies.js:167. Please check the same function in
>>    the whole source code.
>>    - Select "*Postgres*" database or server node and refresh the node
>>    using the context menu, after the refresh, it will show the number of
>>    children which should not. The same behavior observes for each node.
>>    - Lable "Group Roles" should be "Login/Group Roles".
>>    - When scrolling at the bottom, the scroll bar automatically moves
>>    up. Steps to reproduce Connect to one server and expand till table node,
>>    then scroll down and connect to another server, when we try to scroll down
>>    completely, the scroll bar automatically moves up.
>>    - The following menu options are not working on the respective node:
>>       - *Server: *Reload Configuration, Clear Saved Password, and Add
>>       Named Restore Point
>>       - *Database*: Maintenence (*item.getMetadata is not a function
>>       tree.js line 710*), Grant Wizard, PSQL Tool (Please select a
>>       server or database object)
>>       - *Table*: Count Rows, Reset Statistics, Import/Export,
>>       Maintenence, Truncate
>>       - *Partitions*: Detach Partition,
>>       - *Check Constraint*:  Validate check constraint
>>       - *Constraints*:  Context menu not opening
>>       - *MView*: Context menu not opening:- Cannot read properties of
>>       undefined (reading 'apply') mview.js line no 395
>>
>> *Please check all the other Menu items if I missed them. *
>>
>> Code Review:
>>
>>    - Remove commented code. Remove "console.warn" if used for testing
>>    purposes.
>>    - Remove if (m.name == 'create_table') console.warn(m); } browser.js
>>    line no 797
>>
>> Code review still remains.
>>
>> On Wed, Sep 15, 2021 at 12:10 PM Khushboo Vashi <
>> khushboo.va...@enterprisedb.com> wrote:
>>
>>> Hi,
>>>
>>> Please find the attached patch for the RM #6129 - Port browser tree to
>>> React.
>>>
>>> Thanks,
>>> Khushboo
>>>
>>>
>>
>> --
>> *Thanks & Regards*
>> *Akshay Joshi*
>> *pgAdmin Hacker | Principal Software Architect*
>> *EDB Postgres <http://edbpostgres.com>*
>>
>> *Mobile: +91 976-788-8246*
>>
>

-- 
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*

*Mobile: +91 976-788-8246*

Reply via email to