Skip to content

Commit 9f51920

Browse files
authored
feat: Add a search input that searches within virtual elements (#1598)
Add a separate search input triggered by Cmd+F that searches through all matches currently on the page, overriding the native browser search that only searches within visible rows. Fixes HDX-2687 ### Video https://github.com/user-attachments/assets/beaab78f-e96c-4698-86b7-a4ee3540db1b
1 parent 3a2c33d commit 9f51920

File tree

7 files changed

+2919
-341
lines changed

7 files changed

+2919
-341
lines changed

.changeset/eight-bobcats-press.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@hyperdx/app": minor
3+
---
4+
5+
Add a search input that allows searching within the virtual elements on the log search page

packages/app/src/DBSearchPage.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1906,7 +1906,10 @@ function DBSearchPage() {
19061906
</Group>
19071907
</Box>
19081908
{!hasQueryError && (
1909-
<Box className={searchPageStyles.timeChartContainer}>
1909+
<Box
1910+
className={searchPageStyles.timeChartContainer}
1911+
style={{ flexShrink: 0 }}
1912+
>
19101913
<DBTimeChart
19111914
sourceId={searchedConfig.source ?? undefined}
19121915
showLegend={false}

0 commit comments

Comments
 (0)