Repository navigation
Drop the model chip from sidebar session rows #1248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -326,7 +326,7 @@ | |
| Foreground="{StaticResource KcapTextBrush}" | ||
| TextTrimming="CharacterEllipsis" | ||
| ToolTip.Tip="{Binding Primary}" /> | ||
| <!-- The age sits on the right. Vendor, status and chips stay on the left | ||
| <!-- The age sits on the right. Vendor, status and machine stay on the left | ||
| and wrap rather than overflow the 330px rail. A WrapPanel measures | ||
| each child unconstrained, and the age column is measured first, so | ||
| each has a cap. The tips keep the full text. --> | ||
|
|
@@ -349,13 +349,6 @@ | |
| </Border> | ||
| <views:AgentStatusMark DataContext="{Binding Status}" MaxWidth="160" | ||
| Margin="0,0,6,0" VerticalAlignment="Center" /> | ||
| <Border Classes="railChip" IsVisible="{Binding HasModel}" CornerRadius="999" MaxWidth="150" | ||
| Padding="6,2" Margin="0,0,6,0" | ||
| Background="{StaticResource KcapInfoDimBrush}"> | ||
| <TextBlock Text="{Binding ModelLabel}" Classes="railChipLabel" | ||
| Foreground="{StaticResource KcapInfoBrush}" | ||
| TextTrimming="CharacterEllipsis" /> | ||
| </Border> | ||
| <Border Classes="railChip" IsVisible="{Binding MachineBadge, Converter={x:Static ObjectConverters.IsNotNull}}" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When a remote Useful? React with 👍 / 👎. |
||
| Background="{StaticResource KcapSurfaceRaisedBrush}" MaxWidth="100" | ||
| CornerRadius="3" Padding="4,2" Margin="0,0,6,0"> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For users navigating the rail by keyboard, focus lands on the outer session
Button, not the nested non-focusable vendorBorder, so the only remaining model tooltip cannot be opened without pointer hover; its automation name also contains only the vendor. The updated test masks this by callingToolTip.SetIsOpenprogrammatically. Attach the model help text to the focusable row or include it in the row's accessible name so removing the visible chip does not make the model inaccessible.Useful? React with 👍 / 👎.