File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
Core/Sources/SuggestionWidget
Tool/Sources/WorkspaceSuggestionService Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -350,6 +350,8 @@ public struct WidgetFeature: ReducerProtocol {
350350 let documentURL = state. focusingDocumentURL
351351
352352 let notifications = app. axNotifications
353+
354+ #warning("TODO: Handling events outside of TCA because the fire rate is too high.")
353355
354356 return . run { send in
355357 await send ( . observeEditorChange)
@@ -522,7 +524,6 @@ public struct WidgetFeature: ReducerProtocol {
522524 }
523525 }
524526
525- #warning("TODO: control windows in their dedicated reducers.")
526527 case let . updateWindowOpacity( immediately) :
527528 let isChatPanelDetached = state. chatPanelState. chatPanelInASeparateWindow
528529 let hasChat = !state. chatPanelState. chatTabGroup. tabInfo. isEmpty
Original file line number Diff line number Diff line change @@ -239,6 +239,7 @@ public extension SuggestionWidgetController {
239239 store. send ( . panel( . discardSuggestion) )
240240 }
241241
242+ #warning("TODO: Make a progress controller that doesn't use TCA.")
242243 func markAsProcessing( _ isProcessing: Bool ) {
243244 store. withState { state in
244245 if isProcessing, !state. circularWidgetState. isProcessing {
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import SuggestionModel
33import Workspace
44
55public struct FilespaceSuggestionSnapshot : Equatable {
6+ #warning("TODO: Can we remove it?")
67 public var linesHash : Int
78 public var cursorPosition : CursorPosition
89
You can’t perform that action at this time.
0 commit comments