A logging query has a selector part and a regexp. The regexp matches are highlighted when results return. This change adds live preview to matches when modifying the regexp in a search field. - delegate retrieval of match query to datasource - datasource returns search expressions to be used to highlight a live preview of matches - logs row now takes preview highlights - logs row renders preview highlights with dotted line to distinguish from query run matches (solid line) - fix react-highlight-words version to ensure custom chunk matcher - custom chunk matcher can now also take incomplete regexps, eg, `(level` without inifinte looping - perf: debounce of live preview to 500ms - perf: only top 100 rows get the live preview - preview is only supported with one query row (multiple rows semantic makes this tricky: regexp for row n should only filter results for query n)
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
acl.ts | Loading commit data... | |
alerting.ts | Loading commit data... | |
apiKeys.ts | Loading commit data... | |
appNotifications.ts | Loading commit data... | |
dashboard.ts | Loading commit data... | |
datasources.ts | Loading commit data... | |
explore.ts | Loading commit data... | |
folders.ts | Loading commit data... | |
index.ts | Loading commit data... | |
location.ts | Loading commit data... | |
navModel.ts | Loading commit data... | |
organization.ts | Loading commit data... | |
panel.ts | Loading commit data... | |
plugins.ts | Loading commit data... | |
search.ts | Loading commit data... | |
series.ts | Loading commit data... | |
teams.ts | Loading commit data... | |
user.ts | Loading commit data... |