Ensure that pathname in unified logs is solely server side filtered

This commit is contained in:
Joshen Lim committed 2026-06-25 22:30:57 +08:00
1 parent 2bac064adf
commit a275e14f87
3 files changed
+9 -5

No files matched your search

@@ -258,6 +258,8 @@ export const UnifiedLogs = () => {
getFacetedMinMaxValues: getTTableFacetedMinMaxValues(),
})
console.log({ flatData })
const selectedRow = useMemo(() => {
if ((isLoading || isFetching) && !flatData.length) return
return table.getCoreRowModel().flatRows.find((row) => row.id === openRowId)
@@ -56,7 +56,7 @@ export function generateDynamicColumns({ data }: { data: ColumnSchema[] }): {
enableHiding: false,
enableResizing: false,
enableSorting: false,
filterFn: (_row, _columnId, _filterValue) => true,
filterFn: () => true,
size: 48,
minSize: 48,
maxSize: 48,
@@ -76,7 +76,7 @@ export function generateDynamicColumns({ data }: { data: ColumnSchema[] }): {
enableHiding: false,
enableResizing: false,
enableSorting: false,
filterFn: (_row, _columnId, _filterValue) => true,
filterFn: () => true,
size: 48,
minSize: 48,
maxSize: 48,
@@ -93,7 +93,7 @@ export function generateDynamicColumns({ data }: { data: ColumnSchema[] }): {
const date = new Date(row.getValue<ColumnSchema['date']>('date'))
return <HoverCardTimestamp date={date} />
},
filterFn: (_row, _columnId, _filterValue) => true,
filterFn: () => true,
enableResizing: false,
enableSorting: false,
size: 140,
@@ -118,7 +118,7 @@ export function generateDynamicColumns({ data }: { data: ColumnSchema[] }): {
)
},
enableHiding: false,
filterFn: (_row, _columnId, _filterValue) => true,
filterFn: () => true,
enableResizing: false,
enableSorting: false,
size: 40,
@@ -169,7 +169,7 @@ export function generateDynamicColumns({ data }: { data: ColumnSchema[] }): {
</div>
)
},
filterFn: (_row, _columnId, _filterValue) => true,
filterFn: () => true,
enableResizing: false,
enableSorting: false,
size: 70,
@@ -206,6 +206,7 @@ export function generateDynamicColumns({ data }: { data: ColumnSchema[] }): {
{
accessorKey: 'pathname',
header: 'Pathname',
filterFn: () => true,
enableSorting: false,
enableResizing: false,
size: 250,
@@ -51,6 +51,7 @@ export function DataTableInfinite<TData, TValue, TMeta>({
const headerGroups = table.getHeaderGroups()
const headers = headerGroups[0].headers
const rows = table.getRowModel().rows ?? []
console.log({ test: table.getRowCount() })
const onScroll = useCallback(
(e: UIEvent<HTMLElement>) => {