Commit 3b06b28
refactor(@angular/cli): Improve zoneless migration prompts based on observed outcomes
After observing some results from the tool's prompts, I found some improvements: * if there was an existing import from '@angular/core' LLMs sometimes chose to delete it and all preceding imports * Moved the note about "remove provideZoneChangeDetection" to the specific prompt where it's relevant. This was being used in the final "non-actionable" prompts and resulted in LLMs choosing to delete 'provideZonelessChangeDetection' additions from previous iterations1 parent bd1aa7b commit 3b06b28
File tree
1 file changed
+8
-3
lines changed- packages/angular/cli/src/commands/mcp/tools/onpush-zoneless-migration
1 file changed
+8
-3
lines changedLines changed: 8 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
28 | 31 | | |
29 | | - | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
| |||
202 | 206 | | |
203 | 207 | | |
204 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
205 | 212 | | |
206 | 213 | | |
207 | 214 | | |
| |||
214 | 221 | | |
215 | 222 | | |
216 | 223 | | |
217 | | - | |
218 | | - | |
219 | 224 | | |
220 | 225 | | |
221 | 226 | | |
| |||
0 commit comments