Commit e9fa2a6
committed
fix: persist and restore active task on VS Code restart
- Add currentActiveTaskId to global settings schema
- Persist task ID when adding/removing tasks from stack
- Restore last active task in resolveWebviewView on startup
- Add comprehensive tests for task persistence functionality
Fixes #76591 parent 966ed76 commit e9fa2a6
File tree
3 files changed
+364
-4
lines changed- packages/types/src
- src/core/webview
- __tests__
3 files changed
+364
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
356 | 359 | | |
357 | 360 | | |
358 | 361 | | |
| |||
417 | 420 | | |
418 | 421 | | |
419 | 422 | | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
420 | 432 | | |
421 | 433 | | |
422 | 434 | | |
| |||
725 | 737 | | |
726 | 738 | | |
727 | 739 | | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
728 | 756 | | |
729 | 757 | | |
730 | 758 | | |
| |||
0 commit comments