mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 01:45:10 +03:00
workers -> compute <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added the Compute experience for deploying, viewing, managing, and monitoring compute instances. - Added Compute navigation, instance detail pages, secrets, logs, deployment dialogs, generated snippets, and CLI commands. - Added filtering, status, availability, and data-loading support for compute instances. - **Updates** - Updated labels, icons, links, feature controls, unified logs, and secret-deletion messaging to use Compute terminology. - Compute routes now replace the previous Workers routes and pages. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
23 lines
749 B
TypeScript
23 lines
749 B
TypeScript
import { Column } from 'react-data-grid'
|
|
import { TimestampInfo } from 'ui-patterns/TimestampInfo'
|
|
|
|
import type { LogData } from '../Logs.types'
|
|
import { RowLayout, SeverityFormatter, TextFormatter } from '../LogsFormatters'
|
|
|
|
export const ComputeLogsColumnRender: Column<LogData>[] = [
|
|
{
|
|
name: 'compute-logs-first-column',
|
|
key: 'compute-logs-first-column',
|
|
renderHeaderCell: () => null,
|
|
renderCell: (props) => (
|
|
<RowLayout>
|
|
<TimestampInfo utcTimestamp={props.row.timestamp!} />
|
|
{props.row.severity_text ? (
|
|
<SeverityFormatter value={props.row.severity_text as string} />
|
|
) : null}
|
|
<TextFormatter className="w-full" value={props.row.event_message} />
|
|
</RowLayout>
|
|
),
|
|
},
|
|
]
|