feat(ui): the Logs page uses the task log's table

This commit is contained in:
sam committed 2026-10-25 02:17:35 +11:00
1 parent 4820c1b481
commit 3e59ce0701
8 files changed
+169 -209

No files matched your search

@@ -29,6 +29,7 @@ const props = defineProps<{
storageKey: string;
rowLink?: (row: Row) => string;
rowLabel?: (row: Row) => string;
rowClass?: (row: Row) => string;
}>();
const slots = defineSlots<Record<string, (props: { row: Row }) => unknown> & { empty?: () => unknown; actions?: (props: { row: Row }) => unknown; detail?: (props: { row: Row }) => unknown }>();
@@ -123,7 +124,7 @@ function open(row: Row): void {
:role="rowLink ? 'link' : undefined"
:aria-label="rowLink && rowLabel ? rowLabel(row) : undefined"
:aria-expanded="expandable ? expanded.has(rowKey(row)) : undefined"
:class="['align-top', (rowLink || expandable) && 'cursor-pointer']"
:class="['align-top', (rowLink || expandable) && 'cursor-pointer', rowClass?.(row)]"
@click="open(row)"
@keydown.enter.self.prevent="open(row)"
@keydown.space.self.prevent="open(row)"