Repository navigation
Commit 3115873
committed
fix: include auto-close settings in getState and getStateToPostToWebview
The autoCloseZooOpenedFiles, autoCloseZooOpenedFilesAfterUserEdited, and
autoCloseZooOpenedNewFiles settings were saved to global state but never
included in the state posted back to the webview (getStateToPostToWebview)
or returned by getState. This caused the checkbox to always revert to
checked after saving, and the DiffViewProvider to always use the default
value regardless of the user's preference.
Also adds a changeset instruction to AGENTS.md.
Closes #6671 parent 8c3ae1e commit 3115873
3 files changed
Lines changed: 55 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2278 | 2278 | | |
2279 | 2279 | | |
2280 | 2280 | | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
2281 | 2284 | | |
2282 | 2285 | | |
2283 | 2286 | | |
| |||
2457 | 2460 | | |
2458 | 2461 | | |
2459 | 2462 | | |
| 2463 | + | |
| 2464 | + | |
| 2465 | + | |
2460 | 2466 | | |
2461 | 2467 | | |
2462 | 2468 | | |
| |||
2657 | 2663 | | |
2658 | 2664 | | |
2659 | 2665 | | |
| 2666 | + | |
| 2667 | + | |
| 2668 | + | |
2660 | 2669 | | |
2661 | 2670 | | |
2662 | 2671 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
685 | 685 | | |
686 | 686 | | |
687 | 687 | | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
| 697 | + | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
| 731 | + | |
| 732 | + | |
688 | 733 | | |
689 | 734 | | |
690 | 735 | | |
| |||
0 commit comments