Commit 4870171
authored
feat: Double click notebook tab to remove its preview status (#1190)
Something I noticed while working on #1189 is that we didn't support
double clicking the tab to promote from preview to normal state like
VSCode does. This PR lets you double click the tab of a notebook in
preview to change it from preview state to normal state.
Tested double clicking preview notebook, non-preview notebook, and
opening other notebooks in preview after promoting via double click1 parent 1a0ff8d commit 4870171
3 files changed
Lines changed: 16 additions & 15 deletions
File tree
- packages
- dashboard-core-plugins/src/panels
- golden-layout/src/controls
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | 286 | | |
288 | 287 | | |
289 | 288 | | |
| |||
312 | 311 | | |
313 | 312 | | |
314 | 313 | | |
315 | | - | |
| 314 | + | |
316 | 315 | | |
317 | 316 | | |
318 | 317 | | |
319 | | - | |
320 | 318 | | |
321 | 319 | | |
322 | 320 | | |
| |||
736 | 734 | | |
737 | 735 | | |
738 | 736 | | |
739 | | - | |
| 737 | + | |
740 | 738 | | |
741 | 739 | | |
742 | 740 | | |
| |||
960 | 958 | | |
961 | 959 | | |
962 | 960 | | |
963 | | - | |
964 | | - | |
| 961 | + | |
| 962 | + | |
965 | 963 | | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
966 | 967 | | |
967 | 968 | | |
968 | 969 | | |
| |||
1173 | 1174 | | |
1174 | 1175 | | |
1175 | 1176 | | |
| 1177 | + | |
1176 | 1178 | | |
1177 | 1179 | | |
1178 | 1180 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
183 | | - | |
| 183 | + | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
240 | 239 | | |
241 | 240 | | |
242 | 241 | | |
| |||
246 | 245 | | |
247 | 246 | | |
248 | 247 | | |
| 248 | + | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 250 | + | |
| 251 | + | |
253 | 252 | | |
254 | 253 | | |
255 | 254 | | |
| |||
0 commit comments