Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM1579 - Unable to scroll the query text window during selection
On Thu, Sep 15, 2016 at 2:47 PM, Dave Pagewrote: > Thanks, applied. > > One minor tweak to look at - in firefox, the width of the left margin > in the query tool changes when you add a line, if the font size in > preferences is not set to 1em. I think the width is initially sized > for the font, then gets adjusted as you hit return. This doesn't seem > to affect Chrome, and is only a minor annoyance in Firefox. > Ok, I will look into it. > > On Thu, Sep 15, 2016 at 10:04 AM, Surinder Kumar > wrote: > > Hi > > > > Please find updated patch. > > > > On Thu, Sep 15, 2016 at 1:38 PM, Dave Page wrote: > >> > >> (pgadmin4)piranha:pgadmin4 dpage$ git apply ~/Downloads/RM1579.patch > >> error: patch failed: web/pgadmin/static/css/overrides.css:53 > >> error: web/pgadmin/static/css/overrides.css: patch does not apply > >> > >> Please rebase! > >> > >> On Thu, Sep 15, 2016 at 8:54 AM, Surinder Kumar > >> wrote: > >> > Hi > >> > > >> > Please find the attached patch patch with following changes: > >> > > >> > 1) Implemented CodeMirror addon 'simplescrollbars'. > >> > > >> > 2) The CodeMirror instance of query tool was not rendering into > >> > wcDocker's > >> > 'pg-panel-content' div. it renders outside the div, due to which it > took > >> > little more time investigating why scrollbars doesn't appear in > editor. > >> > > >> > 3) Add new css specific to query tool. > >> > > >> > > >> > Please review. > >> > > >> > Thanks, > >> > Surinder Kumar > >> > > >> > > >> > > >> > -- > >> > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org > ) > >> > To make changes to your subscription: > >> > http://www.postgresql.org/mailpref/pgadmin-hackers > >> > > >> > >> > >> > >> -- > >> Dave Page > >> Blog: http://pgsnake.blogspot.com > >> Twitter: @pgsnake > >> > >> EnterpriseDB UK: http://www.enterprisedb.com > >> The Enterprise PostgreSQL Company > > > > > > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company >
Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM1579 - Unable to scroll the query text window during selection
Thanks, applied. One minor tweak to look at - in firefox, the width of the left margin in the query tool changes when you add a line, if the font size in preferences is not set to 1em. I think the width is initially sized for the font, then gets adjusted as you hit return. This doesn't seem to affect Chrome, and is only a minor annoyance in Firefox. On Thu, Sep 15, 2016 at 10:04 AM, Surinder Kumarwrote: > Hi > > Please find updated patch. > > On Thu, Sep 15, 2016 at 1:38 PM, Dave Page wrote: >> >> (pgadmin4)piranha:pgadmin4 dpage$ git apply ~/Downloads/RM1579.patch >> error: patch failed: web/pgadmin/static/css/overrides.css:53 >> error: web/pgadmin/static/css/overrides.css: patch does not apply >> >> Please rebase! >> >> On Thu, Sep 15, 2016 at 8:54 AM, Surinder Kumar >> wrote: >> > Hi >> > >> > Please find the attached patch patch with following changes: >> > >> > 1) Implemented CodeMirror addon 'simplescrollbars'. >> > >> > 2) The CodeMirror instance of query tool was not rendering into >> > wcDocker's >> > 'pg-panel-content' div. it renders outside the div, due to which it took >> > little more time investigating why scrollbars doesn't appear in editor. >> > >> > 3) Add new css specific to query tool. >> > >> > >> > Please review. >> > >> > Thanks, >> > Surinder Kumar >> > >> > >> > >> > -- >> > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) >> > To make changes to your subscription: >> > http://www.postgresql.org/mailpref/pgadmin-hackers >> > >> >> >> >> -- >> Dave Page >> Blog: http://pgsnake.blogspot.com >> Twitter: @pgsnake >> >> EnterpriseDB UK: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company > > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM1579 - Unable to scroll the query text window during selection
Hi Please find updated patch. On Thu, Sep 15, 2016 at 1:38 PM, Dave Pagewrote: > (pgadmin4)piranha:pgadmin4 dpage$ git apply ~/Downloads/RM1579.patch > error: patch failed: web/pgadmin/static/css/overrides.css:53 > error: web/pgadmin/static/css/overrides.css: patch does not apply > > Please rebase! > > On Thu, Sep 15, 2016 at 8:54 AM, Surinder Kumar > wrote: > > Hi > > > > Please find the attached patch patch with following changes: > > > > 1) Implemented CodeMirror addon 'simplescrollbars'. > > > > 2) The CodeMirror instance of query tool was not rendering into > wcDocker's > > 'pg-panel-content' div. it renders outside the div, due to which it took > > little more time investigating why scrollbars doesn't appear in editor. > > > > 3) Add new css specific to query tool. > > > > > > Please review. > > > > Thanks, > > Surinder Kumar > > > > > > > > -- > > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > > To make changes to your subscription: > > http://www.postgresql.org/mailpref/pgadmin-hackers > > > > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > RM1579_v1.patch Description: Binary data -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers
Re: [pgadmin-hackers] [pgAdmin4][Patch]: RM1579 - Unable to scroll the query text window during selection
(pgadmin4)piranha:pgadmin4 dpage$ git apply ~/Downloads/RM1579.patch error: patch failed: web/pgadmin/static/css/overrides.css:53 error: web/pgadmin/static/css/overrides.css: patch does not apply Please rebase! On Thu, Sep 15, 2016 at 8:54 AM, Surinder Kumarwrote: > Hi > > Please find the attached patch patch with following changes: > > 1) Implemented CodeMirror addon 'simplescrollbars'. > > 2) The CodeMirror instance of query tool was not rendering into wcDocker's > 'pg-panel-content' div. it renders outside the div, due to which it took > little more time investigating why scrollbars doesn't appear in editor. > > 3) Add new css specific to query tool. > > > Please review. > > Thanks, > Surinder Kumar > > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers