HomePhabricator

Change default scrolling behavior

Authored by prha on Sat, Oct 5, 6:11 AM.

Description

Change default scrolling behavior

Summary:
This diff smooths out some behavior from the scrolling of the compute log viewer:

  • Scrolls through logs using keyboard (space - shift-space)
  • Default scrolls to bottom
  • Adds a "Scroll To Top" clickable toast upon upward scroll that jumps to the top

Test Plan: Tried scrolling through logs both through live and historic runs, switching between stdout/stderr

Reviewers: #ft, alangenfeld

Reviewed By: #ft, alangenfeld

Subscribers: alangenfeld

Differential Revision: https://dagster.phacility.com/D1245

Details

Committed
prhaWed, Oct 9, 8:02 PM
Reviewer
Restricted Project
Differential Revision
D1245: Change default scrolling behavior
Parents
R1:c0bd30a7175f: Add test demonstrating input injection for List[String]
Branches
Unknown
Tags
Unknown