Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dashboard: fix out-of-viewport log windows not being scrolled down in Chrome #560

Merged
merged 3 commits into from
Jul 17, 2023
Merged

dashboard: fix out-of-viewport log windows not being scrolled down in Chrome #560

merged 3 commits into from
Jul 17, 2023

Conversation

ivan
Copy link
Contributor

@ivan ivan commented Jul 17, 2023

See the comment in the diff

ivan added 3 commits July 17, 2023 22:07
…ng scrolled to the bottom after expanding them in Chrome
… not being scrolled to the bottom after expanding them in Chrome"

This reverts commit c99d488.

This regressed performance in Chrome when having all the log windows expanded
and looking at the top of the page: memory footprint went from 214MB -> 442MB
and CPU time went from 1m18s to 1m52s.
@ivan
Copy link
Contributor Author

ivan commented Jul 17, 2023

Merging after testing:

Chrome: confirmed that CPU and memory haven't regressed when 1) log windows are all collapsed, or 2) log windows are all expanded

Chrome: confirmed that log windows get scrolled down after expanding them all and scrolling to the end of the dashboard where there are inactive jobs

Chrome: confirmed that log windows get scrolled down after clicking to expand an individual inactive job

Firefox: confirmed that it still loads and runs

iOS Safari: confirmed that it still loads and runs

@ivan ivan merged commit b22627e into ArchiveTeam:master Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant