Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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/chatty-parents-drum.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyperdx/app": patch
---

Small fix for html structure nesting issues
2 changes: 2 additions & 0 deletions packages/app/src/components/DBTable/DBRowTableIconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,10 @@ export const DBRowTableIconButton: React.FC<DBRowTableIconButtonProps> = ({
>
<UnstyledButton
onClick={handleClick}
component="div"
className={baseClasses}
tabIndex={tabIndex}
role="button"
>
{isActive ? <IconCheck size={iconSize} /> : children}
</UnstyledButton>
Expand Down
1 change: 1 addition & 0 deletions packages/app/src/components/SQLInlineEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export default function SQLInlineEditor({
style={{
whiteSpace: 'nowrap',
}}
component="div"
>
<Tooltip label={tooltipText} disabled={!tooltipText}>
<Flex align="center" gap={2}>
Expand Down
4 changes: 2 additions & 2 deletions packages/app/tests/e2e/features/shared/multiline.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ test.describe('Multiline Input', { tag: '@search' }, () => {
if (config.mode === 'SQL') {
const scopedContainer = formSelector ? container : page;
const whereLabel = scopedContainer.locator(
`p.mantine-Text-root:has-text("${whereText}")`,
`div.mantine-Text-root:has-text("${whereText}")`,
);
await expect(whereLabel).toBeVisible();
}
Expand All @@ -122,7 +122,7 @@ test.describe('Multiline Input', { tag: '@search' }, () => {
? (() => {
const scopedContainer = formSelector ? container : page;
const whereContainer = scopedContainer.locator(
`div:has(p.mantine-Text-root:has-text("${whereText}"))`,
`div:has(div.mantine-Text-root:has-text("${whereText}"))`,
);
return whereContainer.locator('.cm-editor').first();
})()
Expand Down