Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
ccedfa5
feat: add copy button functionality to RawLogTable for easier data re…
elizabetdev Sep 30, 2025
9869395
feat: add URL copy functionality to RawLogTable and improve button st…
elizabetdev Sep 30, 2025
0bbacd2
remove comment
elizabetdev Sep 30, 2025
6c7d5f4
Add changeset
elizabetdev Sep 30, 2025
546e4e9
style: enhance row button visibility and interaction in LogTable
elizabetdev Sep 30, 2025
7837106
style: update button height to min-height for better layout consistency
elizabetdev Oct 1, 2025
084f347
feat: add copy button functionality to RawLogTable values
elizabetdev Oct 1, 2025
a04e6cb
feat: implement FieldWithPopover component for enhanced cell value in…
elizabetdev Oct 1, 2025
c174573
style: adjust popover position and spacing in FieldWithPopover component
elizabetdev Oct 1, 2025
f10948c
style: add tabIndex to copy buttons in FieldWithPopover and RawLogTab…
elizabetdev Oct 1, 2025
35e52af
style: add display flex to .fieldText.wrapped for improved layout
elizabetdev Oct 1, 2025
9858a34
style: add component prop to Text in LogLevel for consistency
elizabetdev Oct 1, 2025
427a4b3
feat: create DBRowTableIconButton component for reusable button funct…
elizabetdev Oct 1, 2025
6edd75e
refactor: remove copy button implementation from RawLogTable for impr…
elizabetdev Oct 1, 2025
5503733
feat: implement DBRowTableFieldWithPopover component for enhanced fie…
elizabetdev Oct 1, 2025
4f28a1a
feat: add RowButtons component for row-level copy functionality in Ra…
elizabetdev Oct 1, 2025
53e8960
feat: implement DBRowTableRowButtons component for row-level copy fun…
elizabetdev Oct 1, 2025
3e3dc86
Make row lines thinner
elizabetdev Oct 2, 2025
17c9929
refactor: remove padding and line-height from field text styles for i…
elizabetdev Oct 2, 2025
d8dac8a
Update packages/app/src/components/DBRowTableFieldWithPopover.tsx
elizabetdev Oct 2, 2025
af72303
refactor: simplify component declaration for DBRowTableFieldWithPopover
elizabetdev Oct 2, 2025
0aaccb1
refactor: update button styles and improve layout in DBRowTableFieldW…
elizabetdev Oct 3, 2025
bb73674
refactor: enhance popover interaction by adding hover disable functio…
elizabetdev Oct 3, 2025
88e2cc5
refactor: replace vertical dots icon with Tabler icon in HDXMultiSeri…
elizabetdev Oct 3, 2025
df91d23
refactor: enhance DBSearchPage layout and styling with new CSS classe…
elizabetdev Oct 3, 2025
74f1c89
refactor: adjust z-index values for improved layout consistency in DB…
elizabetdev Oct 3, 2025
d56c4ce
Merge branch 'main' into search-results-copy-log-line
elizabetdev Oct 6, 2025
f91edb0
refactor: reorganize imports and create new components for row button…
elizabetdev Oct 6, 2025
814dee3
refactor: enhance DBRowTableFieldWithPopover with filtering options a…
elizabetdev Oct 6, 2025
2c5cfec
fix: adjust z-index of rowButtons for proper layering in LogTable styles
elizabetdev Oct 6, 2025
0abd43e
refactor: update copyRowData function to copy entire row as JSON and …
elizabetdev Oct 6, 2025
ce22e35
refactor: update filter button titles for clarity and replace IconFil…
elizabetdev Oct 6, 2025
5829495
refactor: remove unused IconFilterX import from DBRowTableFieldWithPo…
elizabetdev Oct 8, 2025
fc39fee
Merge branch 'main' into search-results-copy-log-line
elizabetdev Oct 8, 2025
f4ad4e8
Enhance changeset
elizabetdev Oct 8, 2025
5dfa32a
feat(DBRowTable): add isChart prop to handle chart rendering in DBRow…
elizabetdev Oct 8, 2025
1594a03
refactor(DBRowTableFieldWithPopover): improve canFilter logic for cla…
elizabetdev Oct 8, 2025
23d5f18
feat(DBRowTableFieldWithPopover): enhance filtering options with incl…
elizabetdev Oct 8, 2025
c9eb745
feat(DBRowTableRowButtons): add sourceId prop to enhance URL copying …
elizabetdev Oct 8, 2025
941250b
Merge branch 'main' into search-results-copy-log-line
elizabetdev Oct 10, 2025
98b4122
feat: add error handling for clipboard copy operations in DBRowTable …
elizabetdev Oct 10, 2025
3d26a38
Address claude review: improve clipboard copy functionality in DBRowT…
elizabetdev Oct 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/tricky-apples-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyperdx/app": minor
---

Add toggle filters button, copy field, and per-row copy-to-clipboard for JSON data and modal URLs in RawLogTable
16 changes: 4 additions & 12 deletions packages/api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,12 @@
"compilerOptions": {
"baseUrl": "./src",
"paths": {
"@/*": [
"./*"
]
"@/*": ["./*"]
},
"rootDir": ".",
"outDir": "build",
"moduleResolution": "Node16"
},
"include": [
"src",
"migrations",
"scripts"
],
"exclude": [
"node_modules"
]
}
"include": ["src", "migrations", "scripts"],
"exclude": ["node_modules"]
}
85 changes: 31 additions & 54 deletions packages/app/src/DBSearchPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,11 @@ function DBSearchPage() {
/>
)}
<OnboardingModal />
<form data-testid="search-form" onSubmit={onFormSubmit}>
<form
data-testid="search-form"
onSubmit={onFormSubmit}
className={searchPageStyles.searchForm}
>
{/* <DevTool control={control} /> */}
<Flex gap="sm" px="sm" pt="sm" wrap="nowrap">
<Group gap="4px" wrap="nowrap">
Expand Down Expand Up @@ -1497,7 +1501,6 @@ function DBSearchPage() {
)}
<Flex
direction="column"
mt="sm"
style={{ overflow: 'hidden', height: '100%' }}
className="bg-hdx-dark"
>
Expand Down Expand Up @@ -1535,12 +1538,8 @@ function DBSearchPage() {
{analysisMode === 'pattern' &&
histogramTimeChartConfig != null && (
<Flex direction="column" w="100%" gap="0px">
<Box style={{ height: 20, minHeight: 20 }} p="xs" pb="md">
<Group
justify="space-between"
mb={4}
style={{ width: '100%' }}
>
<Box className={searchPageStyles.searchStatsContainer}>
<Group justify="space-between" style={{ width: '100%' }}>
<SearchTotalCountChart
config={histogramTimeChartConfig}
queryKeyPrefix={QUERY_KEY_PREFIX}
Expand All @@ -1555,12 +1554,7 @@ function DBSearchPage() {
</Group>
</Box>
{!hasQueryError && (
<Box
style={{ height: 120, minHeight: 120 }}
p="xs"
pb="md"
mb="md"
>
<Box className={searchPageStyles.timeChartContainer}>
<DBTimeChart
sourceId={searchedConfig.source ?? undefined}
showLegend={false}
Expand Down Expand Up @@ -1646,32 +1640,40 @@ function DBSearchPage() {
chartConfig &&
histogramTimeChartConfig && (
<>
<Box style={{ height: 20, minHeight: 20 }} p="xs" pb="md">
<Box className={searchPageStyles.searchStatsContainer}>
<Group
justify="space-between"
mb={4}
style={{ width: '100%' }}
>
<SearchTotalCountChart
config={histogramTimeChartConfig}
queryKeyPrefix={QUERY_KEY_PREFIX}
/>
<SearchNumRows
config={{
...chartConfig,
dateRange: searchedTimeRange,
}}
enabled={isReady}
/>
<Group gap="sm" align="center">
{shouldShowLiveModeHint &&
analysisMode === 'results' &&
denoiseResults != true && (
<Button
size="compact-xs"
variant="outline"
onClick={handleResumeLiveTail}
>
<i className="bi text-success bi-lightning-charge-fill me-2" />
Resume Live Tail
</Button>
)}
<SearchNumRows
config={{
...chartConfig,
dateRange: searchedTimeRange,
}}
enabled={isReady}
/>
</Group>
</Group>
</Box>
{!hasQueryError && (
<Box
style={{ height: 120, minHeight: 120 }}
p="xs"
pb="md"
mb="md"
>
<Box className={searchPageStyles.timeChartContainer}>
<DBTimeChart
sourceId={searchedConfig.source ?? undefined}
showLegend={false}
Expand Down Expand Up @@ -1803,31 +1805,6 @@ function DBSearchPage() {
</>
) : (
<>
{shouldShowLiveModeHint &&
analysisMode === 'results' &&
denoiseResults != true && (
<div
className="d-flex justify-content-center"
style={{ height: 0 }}
>
<div
style={{
position: 'relative',
top: -20,
zIndex: 2,
}}
>
<Button
size="compact-xs"
variant="outline"
onClick={handleResumeLiveTail}
>
<i className="bi text-success bi-lightning-charge-fill me-2" />
Resume Live Tail
</Button>
</div>
</div>
)}
{chartConfig &&
searchedConfig.source &&
dbSqlRowTableConfig &&
Expand Down
1 change: 1 addition & 0 deletions packages/app/src/HDXMultiSeriesTableChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { memo, useCallback, useMemo, useRef, useState } from 'react';
import Link from 'next/link';
import cx from 'classnames';
import { Flex, Text, UnstyledButton } from '@mantine/core';
import { IconGripVertical } from '@tabler/icons-react';
import {
flexRender,
getCoreRowModel,
Expand Down
6 changes: 5 additions & 1 deletion packages/app/src/components/DBRowSidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ import 'react-modern-drawer/dist/index.css';
import styles from '@/../styles/LogSidePanel.module.scss';

export type RowSidePanelContextProps = {
onPropertyAddClick?: (keyPath: string, value: string) => void;
onPropertyAddClick?: (
keyPath: string,
value: string,
action?: 'only' | 'exclude' | 'include',
) => void;
generateSearchUrl?: ({
where,
whereLanguage,
Expand Down
Loading
Loading