Repository navigation
Commit 5349d50
committed
Sync workspace selections during preview workflows and reset default checkbox states for new workspace items
- newly created item in fully checked folder should not be checked by default
- when 'apply response' creates a file in a previously fully checked folder, it's still 'checked', even if it now has an unchecked file (until we accept)
└── apps
└── editor
└── src
├── commands
│ └── apply-response-command
│ ├── apply-response-command.ts
│ ├── response-processor
│ │ ├── handlers
│ │ │ ├── diff-handler.ts
│ │ │ └── fast-replace-handler.ts
│ │ └── response-processor.ts
│ └── utils
│ ├── preview
│ │ ├── preview.ts
│ │ └── workspace-listener.ts
│ └── preview-handler.ts
└── context
├── context-initialization.ts
├── helpers
│ ├── get-all-workspace-files.ts
│ └── get-selected-files.ts
├── providers
│ ├── open-editors
│ │ └── open-editors-provider.ts
│ ├── selected-files
│ │ └── selected-files-provider.ts
│ └── workspace
│ ├── modules
│ │ ├── index.ts
│ │ └── token-calculator.ts
│ └── workspace-provider.ts
└── shared-context-state.ts1 parent 717738e commit 5349d50
2 files changed
Lines changed: 89 additions & 17 deletions
File tree
- apps/editor/src
- commands/apply-response-command/utils
- context/providers/workspace
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
| |||
101 | 106 | | |
102 | 107 | | |
103 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
104 | 113 | | |
105 | 114 | | |
106 | 115 | | |
| |||
118 | 127 | | |
119 | 128 | | |
120 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
121 | 134 | | |
122 | 135 | | |
123 | 136 | | |
| |||
266 | 279 | | |
267 | 280 | | |
268 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
| 494 | + | |
499 | 495 | | |
500 | 496 | | |
501 | 497 | | |
502 | 498 | | |
503 | 499 | | |
504 | | - | |
| 500 | + | |
505 | 501 | | |
506 | 502 | | |
507 | 503 | | |
| |||
546 | 542 | | |
547 | 543 | | |
548 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
549 | 588 | | |
550 | 589 | | |
551 | 590 | | |
| |||
934 | 973 | | |
935 | 974 | | |
936 | 975 | | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
| 976 | + | |
948 | 977 | | |
949 | 978 | | |
950 | 979 | | |
| |||
0 commit comments