-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Feature: Display drive information in Details Pane #16513
base: main
Are you sure you want to change the base?
Feature: Display drive information in Details Pane #16513
Conversation
/// <summary> | ||
/// Drive preview and details available status. | ||
/// </summary> | ||
DrivePreviewAndDetailsAvailable, |
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.
DrivePreviewAndDetailsAvailable, | |
DriveStorageDetailsAvailable, |
@@ -39,6 +36,9 @@ private async Task LoadPreviewAndDetailsAsync() | |||
if (result is not null) | |||
Thumbnail = await result.ToBitmapAsync(); | |||
|
|||
if (Item.IsDriveRoot) |
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.
Can you add a code comment for future reference?
</Grid.ColumnDefinitions> | ||
|
||
<TextBlock | ||
x:Name="AvailableSpaceTextBox" |
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.
x:Name="AvailableSpaceTextBox" | |
x:Name="AvailableSpaceTextBlock" |
<TextBlock | ||
x:Name="DriveFormatTextBox" | ||
HorizontalAlignment="Center" | ||
FontFamily="{ThemeResource ContentControlThemeFontFamily}" | ||
FontSize="14" | ||
IsTextSelectionEnabled="True" | ||
Text="{x:Bind ViewModel.SelectedDriveItem.Filesystem, Mode=OneWay}" | ||
TextAlignment="Center" | ||
TextWrapping="Wrap" /> | ||
<TextBlock | ||
x:Name="DriveTypeTextBox" | ||
HorizontalAlignment="Center" | ||
FontFamily="{ThemeResource ContentControlThemeFontFamily}" | ||
FontSize="14" | ||
Foreground="{ThemeResource TextFillColorTertiaryBrush}" | ||
IsTextSelectionEnabled="True" | ||
Text="{x:Bind ViewModel.SelectedDriveItem.TypeText, Mode=OneWay}" | ||
TextAlignment="Center" | ||
TextWrapping="Wrap" /> |
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.
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.
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.
The issue was less with the spacing and more that it gets cut off on the sides.
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.
Resolved / Related Issues
To prevent extra work, all changes to the Files codebase must link to an approved issue marked as
Ready to build
. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.
Notes
I have NOT tested this feature with
Network Drives
since I have none