@@ -49,9 +49,7 @@ public struct WidgetFeature: ReducerProtocol {
4949 isProcessingCounters: circularWidgetState. isProcessingCounters,
5050 isProcessing: circularWidgetState. isProcessing,
5151 isDisplayingContent: {
52- if chatPanelState. isPanelDisplayed,
53- !chatPanelState. chatTapGroup. tabs. isEmpty
54- {
52+ if chatPanelState. isPanelDisplayed {
5553 return true
5654 }
5755 if panelState. sharedPanelState. isPanelDisplayed,
@@ -69,8 +67,7 @@ public struct WidgetFeature: ReducerProtocol {
6967 isContentEmpty: chatPanelState. chatTapGroup. tabs. isEmpty
7068 && panelState. sharedPanelState. content == nil ,
7169 isChatPanelDetached: chatPanelState. chatPanelInASeparateWindow,
72- isChatOpen: chatPanelState. isPanelDisplayed
73- && !chatPanelState. chatTapGroup. tabs. isEmpty,
70+ isChatOpen: chatPanelState. isPanelDisplayed,
7471 animationProgress: circularWidgetState. animationProgress
7572 )
7673 }
@@ -227,7 +224,7 @@ public struct WidgetFeature: ReducerProtocol {
227224 // clicked
228225 // before the completion panel updates the location of the
229226 // suggestion panel
230- try await Task . sleep ( nanoseconds: 200_000_000 )
227+ try await Task . sleep ( nanoseconds: 400_000_000 )
231228 }
232229 continuation. yield ( )
233230 }
@@ -253,7 +250,7 @@ public struct WidgetFeature: ReducerProtocol {
253250 else { continue }
254251 guard await windows. fullscreenDetector. isOnActiveSpace else { continue }
255252 let app = AXUIElementCreateApplication ( activeXcode. processIdentifier)
256- if let window = app. focusedWindow, window . isFullScreen {
253+ if let window = app. focusedWindow {
257254 await windows. orderFront ( )
258255 }
259256 }
@@ -549,10 +546,6 @@ public struct WidgetFeature: ReducerProtocol {
549546 suggestionWidgetControllerDependency. onOpenChatClicked ( )
550547 return . none
551548
552- case let . runCustomCommandButtonClicked( command) :
553- suggestionWidgetControllerDependency. onCustomCommandClicked ( command)
554- return . none
555-
556549 default :
557550 return . none
558551 }
0 commit comments