Commit 261e06c
authored
Prevent welcome view flashes (#1399)
## Changes
Right now if you switch to the Databricks panel (after the extension is
already logged in), you will still see "Create a new Databricks Project"
welcome view for half a second.
This is because our main view takes this long to load all the relevant
information (sync component make API request to the workspace). This PR
prevents UI flashed by adding "Loading configuration" welcome view based
on the isBundleProject flag.
## Tests
Manual and existing tests1 parent c1c4a43 commit 261e06c
File tree
3 files changed
+19
-4
lines changed- packages/databricks-vscode
- src
- bundle
- vscode-objs
3 files changed
+19
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
388 | 393 | | |
389 | 394 | | |
390 | 395 | | |
| |||
398 | 403 | | |
399 | 404 | | |
400 | 405 | | |
401 | | - | |
| 406 | + | |
402 | 407 | | |
403 | 408 | | |
404 | 409 | | |
405 | | - | |
406 | | - | |
| 410 | + | |
| 411 | + | |
407 | 412 | | |
408 | 413 | | |
409 | 414 | | |
| |||
923 | 928 | | |
924 | 929 | | |
925 | 930 | | |
926 | | - | |
| 931 | + | |
927 | 932 | | |
928 | 933 | | |
929 | 934 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| 123 | + | |
122 | 124 | | |
123 | 125 | | |
124 | 126 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| |||
0 commit comments