@@ -81,6 +81,7 @@ import {
81
81
USER_SERVICE as CLOUD_USER_SERVICE
82
82
} from '@gitbutler/shared/users/userService' ;
83
83
import { DragStateService , DRAG_STATE_SERVICE } from '@gitbutler/ui/drag/dragStateService.svelte' ;
84
+ import { FModeManager } from '@gitbutler/ui/focus/fModeManager' ;
84
85
import { FOCUS_MANAGER , FocusManager } from '@gitbutler/ui/focus/focusManager' ;
85
86
import {
86
87
EXTERNAL_LINK_SERVICE ,
@@ -212,9 +213,17 @@ export function initDependencies(args: {
212
213
// HISTORY & OPERATIONS
213
214
// ============================================================================
214
215
216
+ const fModeManager = new FModeManager ( ) ;
217
+ const focusManager = new FocusManager ( fModeManager ) ;
215
218
const historyService = new HistoryService ( backend , clientState [ 'backendApi' ] ) ;
216
219
const oplogService = new OplogService ( clientState [ 'backendApi' ] ) ;
217
- const commitAnalytics = new CommitAnalytics ( stackService , uiState , worktreeService , rulesService ) ;
220
+ const commitAnalytics = new CommitAnalytics (
221
+ stackService ,
222
+ uiState ,
223
+ worktreeService ,
224
+ rulesService ,
225
+ fModeManager
226
+ ) ;
218
227
const codegenAnalytics = new CodegenAnalytics ( claudeCodeService , settingsService ) ;
219
228
220
229
// ============================================================================
@@ -266,7 +275,6 @@ export function initDependencies(args: {
266
275
// UI & INTERACTION
267
276
// ============================================================================
268
277
269
- const focusManager = new FocusManager ( ) ;
270
278
const imeHandler = new IMECompositionHandler ( ) ;
271
279
const reorderDropzoneFactory = new ReorderDropzoneFactory ( stackService ) ;
272
280
const shortcutService = new ShortcutService ( backend ) ;
0 commit comments