public inbox for [email protected]
help / color / mirror / Atom feed[pgAdmin4][Patch] - RM #6881 - Browser tree falls apart upon changing resolution
2+ messages / 2 participants
[nested] [flat]
* [pgAdmin4][Patch] - RM #6881 - Browser tree falls apart upon changing resolution
@ 2021-10-12 09:11 Khushboo Vashi <[email protected]>
2021-10-12 09:35 ` Re: [pgAdmin4][Patch] - RM #6881 - Browser tree falls apart upon changing resolution Akshay Joshi <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Khushboo Vashi @ 2021-10-12 09:11 UTC (permalink / raw)
To: pgadmin-hackers
Hi,
Please find the attached patch for RM #6881 - Browser tree falls apart upon
changing resolution
Thanks,
Khushboo
Attachments:
[application/octet-stream] RM_6881.patch (1.2K, 3-RM_6881.patch)
download | inline diff:
diff --git a/web/package.json b/web/package.json
index d7bb3d505..82dcc8e22 100644
--- a/web/package.json
+++ b/web/package.json
@@ -136,7 +136,7 @@
"path-fx": "^2.0.0",
"pathfinding": "^0.4.18",
"paths-js": "^0.4.9",
- "pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#ec58f480f43aa6deb862778d49d6f2fb797a7d13",
+ "pgadmin4-tree": "git+https://github.com/EnterpriseDB/pgadmin4-treeview/#bc66dff13c17f256355d4f2bf79e3458007868bc",
"postcss": "^8.2.15",
"raf": "^3.4.1",
"react": "^17.0.1",
diff --git a/web/pgadmin/static/js/tree/tree_init.tsx b/web/pgadmin/static/js/tree/tree_init.tsx
index 823428149..1422a1a4f 100644
--- a/web/pgadmin/static/js/tree/tree_init.tsx
+++ b/web/pgadmin/static/js/tree/tree_init.tsx
@@ -73,11 +73,10 @@ var initBrowserTree = async (pgBrowser) => {
await treeModelX.root.ensureLoaded()
- let tree_height = window.outerHeight - 300;
// Render Browser Tree
await render(
<div>
- <FileTreeX height={tree_height} width={'100%'} model={treeModelX}
+ <FileTreeX model={treeModelX}
onReady={itemHandle} create={create} remove={remove} update={update}/>
</div>, document.getElementById('tree'));
}
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [pgAdmin4][Patch] - RM #6881 - Browser tree falls apart upon changing resolution
2021-10-12 09:11 [pgAdmin4][Patch] - RM #6881 - Browser tree falls apart upon changing resolution Khushboo Vashi <[email protected]>
@ 2021-10-12 09:35 ` Akshay Joshi <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Akshay Joshi @ 2021-10-12 09:35 UTC (permalink / raw)
To: Khushboo Vashi <[email protected]>; +Cc: pgadmin-hackers
Thanks, the patch applied.
On Tue, Oct 12, 2021 at 2:41 PM Khushboo Vashi <
[email protected]> wrote:
> Hi,
>
> Please find the attached patch for RM #6881 - Browser tree falls apart
> upon changing resolution
>
> Thanks,
> Khushboo
>
--
*Thanks & Regards*
*Akshay Joshi*
*pgAdmin Hacker | Principal Software Architect*
*EDB Postgres <http://edbpostgres.com>*
*Mobile: +91 976-788-8246*
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-10-12 09:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 09:11 [pgAdmin4][Patch] - RM #6881 - Browser tree falls apart upon changing resolution Khushboo Vashi <[email protected]>
2021-10-12 09:35 ` Akshay Joshi <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox