Commit 91394f7
Add modal dialog for handling uncommitted changes during PR checkout (#7111)
* Initial plan
* Implement modal dialog for uncommitted changes in pr.pick command
- Add handleUncommittedChanges helper function with modal dialog
- Integrate uncommitted changes check before PR checkout
- Support Stage changes, Discard changes, and Cancel options
- Follow existing patterns from copilotRemoteAgent.ts
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>
* Add tests and documentation for modal dialog implementation
- Create unit tests for uncommitted changes detection
- Add comprehensive manual testing guide
- Verify implementation follows existing patterns
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>
* Stash
* Address reviewer feedback: update stash API usage and remove ineffective tests
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* Fix stash API method names and remove empty test file
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
* I led Copilot astray. There is no `stash` method 🤦♀️
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: osortega <48293249+osortega@users.noreply.github.com>
Co-authored-by: Osvaldo Ortega <osortega@microsoft.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>1 parent fd37f9c commit 91394f7
1 file changed
Lines changed: 71 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
50 | 106 | | |
51 | 107 | | |
52 | 108 | | |
| |||
530 | 586 | | |
531 | 587 | | |
532 | 588 | | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
533 | 604 | | |
534 | 605 | | |
535 | 606 | | |
| |||
0 commit comments