Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d14fdea
ci: register the nightly owned-Mac producer on the fork default branch
teamleaderleo Sep 24, 2026
366d94a
test: cover guarded close tab entrypoints
teamleaderleo Sep 29, 2026
110e6d6
fix: guard every tab close entrypoint
teamleaderleo Sep 29, 2026
a1ddfab
fix: guard socket batch close actions
teamleaderleo Sep 29, 2026
a75dd09
fix: import bonsplit tab ids for dock close
teamleaderleo Sep 29, 2026
d2ac062
fix: use workspace close safety state in socket action
teamleaderleo Sep 29, 2026
82d67d7
fix: preserve direct tab action call compatibility
teamleaderleo Sep 29, 2026
66a79cc
fix: route context close through workspace batch guard
teamleaderleo Sep 29, 2026
5fbd5c4
test: model running shell state in safety regression
teamleaderleo Sep 29, 2026
16d931a
Merge main into tabclose
teamleaderleo Sep 29, 2026
3445a51
test: assert active process close risk reaches workspace
teamleaderleo Sep 29, 2026
d7f4403
test: update shell activity through workspace API
teamleaderleo Sep 29, 2026
504a72e
fix: restore workspace agent close journal
teamleaderleo Sep 29, 2026
d3fb88d
fix: restore workspace cloud model imports
teamleaderleo Sep 29, 2026
87f6f37
fix: restore focus history toggle forwarding
teamleaderleo Sep 29, 2026
1b9ba82
fix: restore workspace sidebar lifecycle state
teamleaderleo Sep 29, 2026
edc4ade
fix: restore workspace split surface state
teamleaderleo Sep 29, 2026
29c633b
fix: restore split admission workspace state
teamleaderleo Sep 29, 2026
8b65a87
fix: restore remote initial terminal options
teamleaderleo Sep 29, 2026
12559bd
fix: restore welcome delivery compatibility
teamleaderleo Sep 29, 2026
822a098
fix: restore workspace reorder query
teamleaderleo Sep 29, 2026
0225088
fix: restore window close and screenshot actions
teamleaderleo Sep 29, 2026
f62c740
fix: reconcile tab close feature with current main
teamleaderleo Sep 29, 2026
2d20e68
fix: use current dock rename action seam
teamleaderleo Sep 29, 2026
ef55351
fix: use current Bonsplit with close action
teamleaderleo Sep 29, 2026
79393b2
test: await guarded close confirmation task
teamleaderleo Sep 29, 2026
155371a
test: support async close guard fixture cleanup
teamleaderleo Sep 29, 2026
837bc4a
chore: remove stale nightly workflow
teamleaderleo Sep 29, 2026
e168561
fix: guard workspace and window close paths
teamleaderleo Sep 29, 2026
8a391fc
test: await async close guard cleanup
teamleaderleo Sep 29, 2026
0e270da
fix: guard window close automation
teamleaderleo Sep 29, 2026
6004b53
docs: add tab close dogfood demo
teamleaderleo Sep 29, 2026
8278d46
docs: add tab close proposal screenshot
teamleaderleo Sep 29, 2026
d39a74a
docs: show tab bar action cluster
teamleaderleo Sep 29, 2026
e7d76d2
Merge main (b9bfd725a4d9) into tabclose
teamleaderleo Sep 29, 2026
b38c942
Merge main (7051bb58c0e6) into tabclose
teamleaderleo Sep 29, 2026
8430f3a
test: pass force to workspace close
teamleaderleo Sep 29, 2026
0728468
Merge main (40138c68cec9) into tabclose
teamleaderleo Sep 30, 2026
8022567
Merge main (8265e7893424) into tabclose
teamleaderleo Sep 30, 2026
98ad6b9
test: cover middle-click close warning routing
teamleaderleo Sep 30, 2026
8194831
fix: route middle-click through tab close warnings
teamleaderleo Sep 30, 2026
7df0b9d
fix: route tab close actions through shared guards
teamleaderleo Sep 30, 2026
924e7a7
Merge main into fix/pane-tab-close
teamleaderleo Sep 30, 2026
ccab68e
fix: keep Bonsplit catch-up history forward
teamleaderleo Sep 30, 2026
01c2162
Merge main into fix/pane-tab-close
teamleaderleo Sep 30, 2026
5ab1a72
Merge main (57fd5ac4df76) into fix/pane-tab-close
teamleaderleo Sep 30, 2026
58d1509
Merge upstream main into fix/pane-tab-close
teamleaderleo Sep 30, 2026
7c0deba
Merge remote-tracking branch 'upstream/main' into fix/pane-tab-close
teamleaderleo Sep 30, 2026
aa99953
Merge upstream main into fix/pane-tab-close
teamleaderleo Sep 30, 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
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,24 @@ import Testing
}
#expect(invoked == 0)
}

@Test func middleButtonDownInvokesHandlerOnThePressedView() {
let view = MiddleClickCaptureView()
var invoked = 0
view.onMiddleClick = { invoked += 1 }

let source = CGEventSource(stateID: .hidSystemState)
let event = source.flatMap {
CGEvent(
mouseEventSource: $0,
mouseType: .otherMouseDown,
mouseCursorPosition: .zero,
mouseButton: .center
)
}.flatMap(NSEvent.init(cgEvent:))
if let event {
view.otherMouseDown(with: event)
}
#expect(invoked == 1)
}
}
Loading
Loading