Commit dbbaa00
authored
Simplify profile selection UI (#1593)
## Changes
And recommend OAuth profiles for new users (who don't have pre-existing
profiles defined).
There are three main improvements:
- Remove confusing `(user to machine)` suffix for OAuth profile type
- Add `(recommended)` suffix to OAuth profile type (but only if there
are no pre-existing profiles)
- Remove separators with headings (make them headless). We already give
the context in the item descriptions, additional headings only create
clutter (and can even be confused, since they show up for the first item
in the group, instead of on top of the group)
New UI when there are no pre-existing profiles:
<img width="605" alt="Screenshot 2025-03-05 at 13 45 02"
src="https://github.com/user-attachments/assets/f3114a22-b5c3-4afa-ab1d-f78db9d11f5a"
/>
New UI when there are pre-existing profiles (we don't show `recommended`
for OAuth then):
<img width="606" alt="Screenshot 2025-03-05 at 13 44 03"
src="https://github.com/user-attachments/assets/484ea8d1-d608-4fc7-8fc3-d820523a0937"
/>
Old UI:
<img width="605" alt="Screenshot 2025-03-05 at 13 48 20"
src="https://github.com/user-attachments/assets/cc87af6e-9d83-4d4b-9249-8abe02853d61"
/>
<img width="605" alt="Screenshot 2025-03-05 at 13 47 47"
src="https://github.com/user-attachments/assets/1d04288b-2784-41fa-b46e-2d1b2e155934"
/>
## Tests
<!-- How is this tested? -->1 parent 24c7f1a commit dbbaa00
File tree
1 file changed
+13
-21
lines changed- packages/databricks-vscode/src/configuration
1 file changed
+13
-21
lines changedLines changed: 13 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
134 | 134 | | |
135 | 135 | | |
136 | 136 | | |
137 | | - | |
138 | | - | |
139 | 137 | | |
140 | 138 | | |
141 | 139 | | |
142 | 140 | | |
143 | 141 | | |
144 | 142 | | |
145 | 143 | | |
146 | | - | |
| 144 | + | |
147 | 145 | | |
148 | 146 | | |
149 | | - | |
| 147 | + | |
150 | 148 | | |
151 | 149 | | |
152 | 150 | | |
| |||
155 | 153 | | |
156 | 154 | | |
157 | 155 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
| 156 | + | |
169 | 157 | | |
| 158 | + | |
170 | 159 | | |
171 | 160 | | |
172 | 161 | | |
173 | 162 | | |
174 | | - | |
| 163 | + | |
| 164 | + | |
175 | 165 | | |
176 | 166 | | |
177 | | - | |
| 167 | + | |
178 | 168 | | |
179 | | - | |
| 169 | + | |
180 | 170 | | |
181 | 171 | | |
182 | 172 | | |
| |||
201 | 191 | | |
202 | 192 | | |
203 | 193 | | |
204 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
205 | 197 | | |
206 | 198 | | |
207 | 199 | | |
| |||
439 | 431 | | |
440 | 432 | | |
441 | 433 | | |
442 | | - | |
| 434 | + | |
443 | 435 | | |
444 | | - | |
| 436 | + | |
445 | 437 | | |
446 | 438 | | |
447 | 439 | | |
| |||
0 commit comments