durable-actors-observer 0.7.14 → 0.7.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/TimelineWheelZoom.d.ts +3 -0
- package/dist/TimelineZoom.d.ts +1 -3
- package/dist/index.js +1298 -1316
- package/dist/standalone/app.css +1 -1
- package/dist/standalone/app.js +22 -22
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ The localhost-only `durable-actors dev` runtime allows observability requests wi
|
|
|
36
36
|
|
|
37
37
|
`RequestObserver` opens with a waterfall of retained method calls and WebSocket events, including inside an actor instance. Instance inspection combines identity, residency, and queue metrics in a compact header; Requests, State, and WebSockets views preserve inspection controls when switching. Calls to the same operation on the same actor instance share one row, with separate rows for method calls and WebSocket events. Each invocation has its own marker on a shared relative time axis, making interleaved methods visible together. Rows show call counts and summed durations; hover or select a marker to inspect identifiers, outcomes, queue wait, and the gap or overlap with preceding calls on that instance. Switch to Table for the tabular view. Live updates, pause, history filters, and loading older requests apply to both views.
|
|
38
38
|
|
|
39
|
-
Use the Zoom slider to adjust the visible window smoothly from the full loaded history down to 1 ms, or drag across the
|
|
39
|
+
Use the Zoom slider to adjust the visible window smoothly from the full loaded history down to 1 ms, hold Ctrl or Command while scrolling over the waterfall to zoom around the cursor, or drag across the time axis to select a range. Scroll zoom keeps the slider synchronized and captures browser zoom only over the waterfall while the modifier key is held. Once zoomed, use the horizontal scrollbar beneath the requests, a horizontal trackpad gesture, or Shift+mouse-wheel to move through time. Operation labels stay in place. The slider supports arrow keys, Home, and End. Moving the slider fully left restores the full loaded history. The chosen window stays on the same timestamps as live calls arrive or older history loads. Only calls intersecting the window are shown; durations and queue timings still describe the full invocation.
|
|
40
40
|
|
|
41
41
|
Request details open in a right-side [shadcn Drawer](https://ui.shadcn.com/docs/components/radix/drawer), powered by Vaul. Dismiss with the close button, Escape, an outside click, or a swipe to the right; focus returns to the selected invocation. The portal stays within the observer's theme scope, and long details scroll below the header.
|
|
42
42
|
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import type { RefObject } from "react";
|
|
2
|
+
import type { TimelineWindow } from "./TimelineZoom.js";
|
|
3
|
+
export declare function useTimelineWheelZoom(viewport: RefObject<HTMLDivElement | null>, bounds: TimelineWindow, range: TimelineWindow, onChange: (range: TimelineWindow) => void): void;
|
package/dist/TimelineZoom.d.ts
CHANGED
|
@@ -5,13 +5,11 @@ export interface TimelineWindow {
|
|
|
5
5
|
export declare const timelineTicks: number[];
|
|
6
6
|
export declare function useTimelineZoom(bounds: TimelineWindow): {
|
|
7
7
|
range: TimelineWindow;
|
|
8
|
-
zoomed: boolean;
|
|
9
8
|
setWindow: (next: TimelineWindow | null) => void;
|
|
10
9
|
};
|
|
11
|
-
export declare function TimelineZoomControls({ bounds, range,
|
|
10
|
+
export declare function TimelineZoomControls({ bounds, range, count, onChange }: {
|
|
12
11
|
bounds: TimelineWindow;
|
|
13
12
|
range: TimelineWindow;
|
|
14
|
-
zoomed: boolean;
|
|
15
13
|
count: number;
|
|
16
14
|
onChange: (range: TimelineWindow | null) => void;
|
|
17
15
|
}): import("react").JSX.Element;
|