File tree Expand file tree Collapse file tree 2 files changed +27
-6
lines changed
src/webviews/apps/plus/graph Expand file tree Collapse file tree 2 files changed +27
-6
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,13 @@ export function GraphWrapper({
274
274
id = "repo-actioncombo-label"
275
275
className = "actioncombo__label"
276
276
role = "combobox"
277
- aria-activedescendant = ""
277
+ aria-activedescendant = {
278
+ repoExpanded
279
+ ? `repo-actioncombo-item-${ reposList . findIndex (
280
+ item => item . path === currentRepository ?. path ,
281
+ ) } `
282
+ : undefined
283
+ }
278
284
onClick = { ( ) => handleToggleRepos ( ) }
279
285
>
280
286
< span className = "codicon codicon-repo actioncombo__icon" aria-label = "Repository " > </ span >
@@ -304,14 +310,14 @@ export function GraphWrapper({
304
310
</ button >
305
311
) )
306
312
) : (
307
- < li
313
+ < span
308
314
className = "actioncombo__item"
309
315
role = "option"
310
316
id = "repo-actioncombo-item-0"
311
317
aria-selected = "true"
312
318
>
313
319
None available
314
- </ li >
320
+ </ span >
315
321
) }
316
322
</ div >
317
323
</ div >
@@ -320,11 +326,16 @@ export function GraphWrapper({
320
326
{ graphList . length } commit{ graphList . length ? 's' : '' }
321
327
</ span >
322
328
) }
323
- { isLoading && (
324
- < span className = { 'icon--loading' } />
325
- ) }
329
+ { isLoading && < span className = "icon--loading" /> }
326
330
</ div >
327
331
< div className = "actionbar__group" >
332
+ < a
333
+ href = "https://github.com/gitkraken/vscode-gitlens/discussions/2158"
334
+ title = "Commit Graph Feedback"
335
+ aria-label = "Commit Graph Feedback"
336
+ >
337
+ < span className = "codicon codicon-feedback" > </ span >
338
+ </ a > { ' ' }
328
339
< span className = "badge" > Preview</ span >
329
340
</ div >
330
341
</ footer >
Original file line number Diff line number Diff line change 46
46
margin : 0 ;
47
47
}
48
48
}
49
+
50
+ a {
51
+ color : inherit ;
52
+ }
53
+
54
+ :focus {
55
+ outline : 1px solid var (--vscode-focusBorder );
56
+ outline-offset : -1 x;
57
+ }
49
58
}
50
59
51
60
.actioncombo {
105
114
min-width : 100% ;
106
115
width : max-content ;
107
116
z-index : 100 ;
117
+ background-color : var (--actionbar-background-color );
108
118
}
109
119
110
120
& __label :not ([aria-expanded = ' true' ]) + & __list {
You can’t perform that action at this time.
0 commit comments