Обсуждение: Speed up node animation in pgAdmin4
Hi, I've attached a patch to speed up the expansion/collapsing of nodes. I've found it sluggish when testing, so I suggest we make it feel more responsive. I've also changed the speed of scrolling to an item. I don't know if we use this anywhere, but in case we do, I don't think we want it as slow as the node expansion speed was. Regards Thom
Вложения
On Fri, Mar 18, 2016 at 11:12 PM, Thom Brown <thom@linux.com> wrote:
Hi,
I've attached a patch to speed up the expansion/collapsing of nodes.
I've found it sluggish when testing, so I suggest we make it feel more
responsive. I've also changed the speed of scrolling to an item. I
don't know if we use this anywhere, but in case we do, I don't think
we want it as slow as the node expansion speed was.
Agreed.
Checked-in with some more lower numbers.
Also - decreased the initial load time to make sure, we load the browser tree node asap (50 microseconds after tree initialised).
Regards
Thom
--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
On Mon, Mar 21, 2016 at 5:18 PM, Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote: > > On Fri, Mar 18, 2016 at 11:12 PM, Thom Brown <thom@linux.com> wrote: >> >> Hi, >> >> I've attached a patch to speed up the expansion/collapsing of nodes. >> I've found it sluggish when testing, so I suggest we make it feel more >> responsive. I've also changed the speed of scrolling to an item. I >> don't know if we use this anywhere, but in case we do, I don't think >> we want it as slow as the node expansion speed was. > > Agreed. > Checked-in with some more lower numbers. > Also - decreased the initial load time to make sure, we load the browser > tree node asap (50 microseconds after tree initialised). Hmm, not sure I like the feel now. I think it needs to be either instant, or slower than it is. The behaviour feels odd as it is. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company