RM2233 - Scratch pad

From: Dave Page <dpage(at)pgadmin(dot)org>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Cc: Khushboo Vashi <khushboo(dot)vashi(at)enterprisedb(dot)com>, Aditya Toshniwal <aditya(dot)toshniwal(at)enterprisedb(dot)com>
Subject: RM2233 - Scratch pad
Date: 2019-02-14 14:44:45
Message-ID: CA+OCxoxwOj1FrAsDwpsbQ-YZr3ygx4g9UayW3vkPY94JGhW7BA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Here's a draft patch for adding a scratch pad to the Query Tool,
similar to what we had in pgAdmin 3.

Aside from regular review, can one of our CSS gurus (I'm looking at
you Aditya and Khushboo :-) ) help with the following questions:

1) I'm currently sizing the text area height using "height: calc(100%
- 3px);" to avoid a vertical scrollbar in one of the parent divs
created by wcDocker. I'm sure there's a more elegant way of doing that
(and one that's not likely to be so fragile).

2) I've enabled the wcDocker context menu so users can show or hide
the scratch pad. The sub-menu is expanding as shown in the attached
screenshot though, however, it works fine on the main browser wcDocker
instance.

Any ideas on those please?

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
image/png 23.8 KB
RM_2233.diff application/octet-stream 2.9 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2019-02-15 11:53:35 Re: RM2233 - Scratch pad
Previous Message Dave Page 2019-02-14 11:18:33 Re: [pgAdmin4][Patch] - RM 3959 - Properties and Dependents tabs rendering is slow with 1000+ records