oxidecomputer / buildomat

a software build labour-saving device
Mozilla Public License 2.0
53 stars 2 forks source link

live log should be less enthusiasatic about scrolling down #60

Closed jclulow closed 2 days ago

jclulow commented 1 month ago

The live log page will scroll the viewport down to the bottom of the page each time a new record is added. This is a bit aggressive, as it prevents people from scrolling up to look at earlier records if the job is chatty.

Instead, we should scroll down for the first new live record after a page load, and then only scroll again if the viewport is already pointed at the bottom of the log when we go to append.

jclulow commented 2 days ago

Fixed in 8aed9979047195f3ae64a214f37f31b09416e057 and deployed!

jclulow commented 2 days ago

As an addendum, 507e1331841c8fe85d1edfede5940ba79d8998b1 makes the button have the "pointer" style mouse cursor, making it look more clickable.