Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
799b869
feat(logs): add contextual inline log explorer
DavidCockerill Nov 19, 2026
fea1c15
fix(logs): stop live updates for fixed time ranges
DavidCockerill Nov 19, 2026
3ddd75d
fix(logs): preserve inspection across refresh and navigation
DavidCockerill Nov 19, 2026
7ec76ca
style(logs): keep inspection status within the toolbar row
DavidCockerill Nov 19, 2026
563a95e
fix(logs): restore contextual inspection and bound batch work
DavidCockerill Nov 19, 2026
2be718d
fix(logs): preserve emissions and follow bounded read semantics
DavidCockerill Nov 20, 2026
4a31665
fix(logs): finish inspection and context edge cases
DavidCockerill Nov 20, 2026
7bb5d24
feat(logs): navigate expanded logs with arrow keys
DavidCockerill Nov 20, 2026
1cc0afa
style(logs): simplify details and show arrow-key guidance
DavidCockerill Nov 20, 2026
7335edf
style(logs): make navigation hint subtle
DavidCockerill Nov 20, 2026
0317546
fix(logs): reveal expanded content while navigating
DavidCockerill Nov 20, 2026
aaabfd3
feat(logs): preserve reading position during live updates
DavidCockerill Nov 20, 2026
9ad55de
fix(logs): inset time range dropdown arrow
DavidCockerill Nov 20, 2026
ef2211f
Merge remote-tracking branch 'origin/stage' into feat/logs-explorer
DavidCockerill Nov 20, 2026
cef9c64
fix(logs): address closing review compatibility and polling concerns
DavidCockerill Nov 20, 2026
133b987
fix(logs): retain scroll allowance and avoid passive focus changes
DavidCockerill Nov 20, 2026
fc38e6c
fix(logs): distinguish scroll movement from pointer intent
DavidCockerill Nov 20, 2026
a9fe269
fix(logs): show loaded count only in the results summary
DavidCockerill Nov 20, 2026
7addc88
fix(logs): keep status height stable during mobile live updates
DavidCockerill Nov 20, 2026
5e43ac4
fix(logs): clear retained spacing when following resumes
DavidCockerill Nov 20, 2026
93c03b4
feat(logs): show readable local timestamps and relative age
DavidCockerill Nov 20, 2026
82c44de
fix(logs): separate timestamp and relative age text
DavidCockerill Nov 20, 2026
3d3373a
fix(logs): leave space below the log results
DavidCockerill Nov 20, 2026
d5cb8b9
fix(logs): keep neighboring context visible during navigation
DavidCockerill Nov 20, 2026
a35a572
test(logs): keep DST edit fixtures valid across timezones
DavidCockerill Nov 20, 2026
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
2 changes: 2 additions & 0 deletions DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This file collects architecture and design notes for studio that aren't otherwis

## Active design documents

- [`src/features/instance/log/MAP.md`](src/features/instance/log/MAP.md) β€” navigation index for log inspection, transport, and context behavior.

- [`src/features/organizations/DESIGN.md`](src/features/organizations/DESIGN.md) β€” shared organization target policy, switch destinations, and account-menu behavior.

- [`src/features/clusters/DESIGN.md`](src/features/clusters/DESIGN.md) β€” cluster list lifecycle classification, optional metadata and notification scope, where a saved cluster draft reopens, and when the cluster form may terminate a cluster.
Expand Down
430 changes: 430 additions & 0 deletions e2e/tests/logs.anon.spec.ts

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions src/components/ui/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ const RESIZE_HANDLE_WIDTH = 16;
export interface TableProps extends React.ComponentProps<'table'> {
containerClassName?: string;
containerRef?: React.Ref<HTMLDivElement>;
containerTabIndex?: number;
}

export function Table({ className, containerClassName, containerRef, ...props }: TableProps) {
export function Table({ className, containerClassName, containerRef, containerTabIndex, ...props }: TableProps) {
return (
<div
ref={containerRef}
tabIndex={containerTabIndex}
data-slot="table-container"
className={cn('relative w-full overflow-x-auto', containerClassName)}
>
Expand Down Expand Up @@ -74,6 +76,7 @@ export function TableHead({ className, ...props }: React.ComponentProps<'th'>) {

export function TableHeadSortable<TData extends RowData>({
header,
children,
onColumnClick,
className,
...props
Expand All @@ -95,7 +98,9 @@ export function TableHeadSortable<TData extends RowData>({
// table that uses this header, not just the browse table that wires up sizing + persistence.
const enableResizing = header.getContext().table.options.enableColumnResizing === true
&& header.column.getCanResize();
const content = header.isPlaceholder ? null : flexRender(header.column.columnDef.header, header.getContext());
const content = header.isPlaceholder
? null
: children ?? flexRender(header.column.columnDef.header, header.getContext());
const table = header.getContext().table;
const size = header.getSize();
const minSize = header.column.columnDef.minSize ?? table.options.defaultColumn?.minSize ?? 20;
Expand All @@ -112,7 +117,7 @@ export function TableHeadSortable<TData extends RowData>({
const selector = `[data-col-id="${CSS.escape(header.column.id)}"]`;
const range = document.createRange();
const measure = (el: Element) => {
range.selectNodeContents(el);
range.selectNodeContents(el.querySelector('[data-column-content]') ?? el);
return range.getBoundingClientRect().width;
};
let widest = 0;
Expand Down
32 changes: 0 additions & 32 deletions src/components/ui/utils/badgeLogLevel.tsx

This file was deleted.

17 changes: 0 additions & 17 deletions src/components/ui/utils/badgeNode.tsx

This file was deleted.

394 changes: 394 additions & 0 deletions src/features/instance/log/Logs.test.tsx

Large diffs are not rendered by default.

Loading