HomeElementl

[dagit] Fuzzy search for log filter

Description

[dagit] Fuzzy search for log filter

Summary:
Relates to #3728.

A handful of changes to the logs filter on Runs.

  • Change "AssetMaterialization" and "Materialization" tag strings to STEP_MATERIALIZATION to match behavior of other event types. In a followup, this enum value should be changed to ASSET_MATERIALIZATION.
  • Repair token string handling with respect to the URL -- if the user has typed step:, then "step" should be treated as a token instead of a value.
  • Add fuzzy matching to the value segment of the typed "key:value" pair in the log filter, e.g. typing "type:mat" would display "type:STEP_MATERIALIZATION" as a suggestion.

Test Plan: View log filter on a Run. Type various values into the input, verify that they provide useful suggestions. Choose suggestions, verify correct behavior.

Reviewers: bengotow, prha, sashank

Reviewed By: prha

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

Details

Provenance
dishAuthored on Feb 24 2021, 4:14 PM
Reviewer
prha
Differential Revision
D6655: [dagit] Fuzzy search for log filter
Parents
R1:067a6036981a: Log heartbeats during the first daemon iteration (while keeping the first error…
Branches
Unknown
Tags
Unknown