Page MenuHomeElementl

[dagit] Enable extended search for global search
ClosedPublic

Authored by dish on Apr 6 2021, 6:37 PM.

Details

Summary

Resolves #4002

Set useExtendedSearch: true on Dagit global search: https://fusejs.io/examples.html#extended-search

This should enable using spaces as "AND" operators, which should improve searching with multiple text tokens.

Test Plan

Search for "dash cost", verify that dashboards > cost_dashboard asset appears in results.

Diff Detail

Repository
R1 dagster
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dish requested review of this revision.Apr 6 2021, 6:46 PM

Seems safe to me since we don't have any objects in the system that have spaces in the names. I looked at the other "extended" operators and it doesn't seem like they'll conflict either (was a bit worried about dashes but it seems like those are safe.) LGTM!

This revision is now accepted and ready to land.Apr 7 2021, 3:43 PM