HomeElementl

[dagit] Make log timestamps permalinks

Description

[dagit] Make log timestamps permalinks

Summary:
Resolves #4068.

Allow linking directly to a log entry on a Run, using the focusedTime parameter. It looks like this probably used to work, and might have gotten lost in the shuffle when we refactored filtering behavior.

The timestamp of a log row is now clickable, and the row will now be highlighted and scrolled into view.

Test Plan: View a run. Click on timestamp in log row, verify highlighting. Reload the page, verify that the query parameter was set in the URL, and that the log is scrolled into view immediately.

Reviewers: bengotow, prha, sandyryza

Reviewed By: prha

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

Details

Provenance
dishAuthored on Apr 21 2021, 5:07 PM
Reviewer
prha
Differential Revision
D7540: [dagit] Make log timestamps permalinks
Parents
R1:82f62369954d: [dagit] React.lazy pipeline playground
Branches
Unknown
Tags
Unknown