Commit b4559ea
Fix race condition in branch picker when creating PR
Register onDidAccept/onDidHide handlers before async updateItems to
avoid missing early user interactions. Fall back to activeItems when
selectedItems is empty due to items being replaced during debounced
refresh.
Agent-Logs-Url: https://github.com/microsoft/vscode-pull-request-github/sessions/f9f9a4fa-befb-4089-968f-721dfd44e120
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>1 parent 06913ff commit b4559ea
2 files changed
+16
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1161 | 1161 | | |
1162 | 1162 | | |
1163 | 1163 | | |
1164 | | - | |
1165 | | - | |
1166 | | - | |
1167 | 1164 | | |
1168 | | - | |
1169 | | - | |
1170 | | - | |
| 1165 | + | |
1171 | 1166 | | |
1172 | 1167 | | |
1173 | | - | |
| 1168 | + | |
| 1169 | + | |
1174 | 1170 | | |
1175 | 1171 | | |
1176 | | - | |
1177 | 1172 | | |
1178 | 1173 | | |
1179 | 1174 | | |
| |||
1194 | 1189 | | |
1195 | 1190 | | |
1196 | 1191 | | |
| 1192 | + | |
| 1193 | + | |
| 1194 | + | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
1197 | 1200 | | |
1198 | 1201 | | |
1199 | 1202 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1136 | 1136 | | |
1137 | 1137 | | |
1138 | 1138 | | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
| 1139 | + | |
1142 | 1140 | | |
1143 | | - | |
| 1141 | + | |
1144 | 1142 | | |
1145 | 1143 | | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
1146 | 1147 | | |
1147 | 1148 | | |
1148 | 1149 | | |
| |||
0 commit comments