Repository navigation
Commit 09fa598
committed
feat(ai-dock): sync workspace on input focus
- Workspace sync was only triggered on dock visibility change,
missing the case where a user clicks into an already-visible
dock's input field or sends a message
- Extract sync logic into a reusable lambda to avoid duplication
across the two new connection sites
- Wire inputFocused through AcpSessionView → AiAgentDock →
MainWindow so the signal travels the existing ownership chain
without coupling the view to workspace concerns1 parent 3fd6177 commit 09fa598
5 files changed
Lines changed: 30 additions & 14 deletions
File tree
- src
- dialogs
- docks
- widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3330 | 3330 | | |
3331 | 3331 | | |
3332 | 3332 | | |
3333 | | - | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
3334 | 3349 | | |
3335 | 3350 | | |
3336 | | - | |
3337 | | - | |
3338 | | - | |
3339 | | - | |
3340 | | - | |
3341 | | - | |
3342 | | - | |
3343 | | - | |
3344 | | - | |
3345 | | - | |
3346 | | - | |
3347 | | - | |
3348 | | - | |
| 3351 | + | |
3349 | 3352 | | |
3350 | 3353 | | |
3351 | 3354 | | |
| 3355 | + | |
| 3356 | + | |
3352 | 3357 | | |
3353 | 3358 | | |
3354 | 3359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
379 | 382 | | |
380 | 383 | | |
381 | 384 | | |
| 385 | + | |
382 | 386 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
88 | 89 | | |
89 | 90 | | |
90 | 91 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
477 | 477 | | |
478 | 478 | | |
479 | 479 | | |
| 480 | + | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
| |||
1292 | 1293 | | |
1293 | 1294 | | |
1294 | 1295 | | |
| 1296 | + | |
1295 | 1297 | | |
1296 | 1298 | | |
1297 | 1299 | | |
| |||
1614 | 1616 | | |
1615 | 1617 | | |
1616 | 1618 | | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
1617 | 1622 | | |
1618 | 1623 | | |
1619 | 1624 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
98 | 99 | | |
99 | 100 | | |
100 | 101 | | |
| |||
0 commit comments