mirror of
https://github.com/stablyai/orca.git
synced 2026-10-26 16:02:42 +00:00
Remove unrelated formatter changes
This commit is contained in:
@@ -24,17 +24,8 @@ export type MarkupPointerParams = {
|
||||
// Canvas pointer interactions: draw a new shape, or place text. Split out of
|
||||
// useMarkupEditor to keep that hook focused.
|
||||
export function useMarkupPointerHandlers(params: MarkupPointerParams) {
|
||||
const {
|
||||
busy,
|
||||
tool,
|
||||
color,
|
||||
width,
|
||||
pendingText,
|
||||
canvasRef,
|
||||
setInProgress,
|
||||
setPendingText,
|
||||
setDoc
|
||||
} = params
|
||||
const { busy, tool, color, width, pendingText, canvasRef, setInProgress, setPendingText, setDoc } =
|
||||
params
|
||||
|
||||
const pointFromEvent = useCallback(
|
||||
(event: { clientX: number; clientY: number }): MarkupPoint => {
|
||||
|
||||
@@ -112,11 +112,7 @@ describe('getActivityThreadTaskTitle', () => {
|
||||
})
|
||||
|
||||
it('keeps orchestration labels across terse follow-ups but yields to new work', () => {
|
||||
const orchestration = {
|
||||
taskId: 'task-1',
|
||||
dispatchId: 'ctx-1',
|
||||
displayName: 'Fix checkout race'
|
||||
}
|
||||
const orchestration = { taskId: 'task-1', dispatchId: 'ctx-1', displayName: 'Fix checkout race' }
|
||||
// Terse follow-up → still the same orchestration task.
|
||||
expect(
|
||||
getActivityThreadTaskTitle({
|
||||
|
||||
@@ -95,8 +95,8 @@ test.describe('terminal push-delivery loss recovery', () => {
|
||||
async () =>
|
||||
orcaPage.evaluate(
|
||||
() =>
|
||||
(window as DeliveryWatchdogWindow).__terminalDeliveryWatchdog?.snapshot()
|
||||
?.healCount ?? 0
|
||||
(window as DeliveryWatchdogWindow).__terminalDeliveryWatchdog?.snapshot()?.healCount ??
|
||||
0
|
||||
),
|
||||
{ timeout: 30_000 }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user