-
-
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: Redesigned the left hand sidebar #13052
Conversation
Is there a reason you have gone with a UserControl instead of a Custom Control? |
The performance benefit for a single use control is neglible in my opinion compared to the ease of development you get with a UserControl. |
Will this control not eventually be used for the Settings UI and for the Properties dialog? |
This was not the initial plan but I don't see a reason why not. Of course, @yaira2 has the say on this one though. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
NICEEE!!! |
I'm okay with the implementation as is and I think it'll be easier to support the control without having to cover the entire side. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This is fine with me 👍 |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
It'll be the same as the current design |
I wanted to inquire if it's normal that the tooltip displaying the size of the Recycle Bin has disappeared. |
This is indeed not intentional (it only is for drives/cloud drives), I've fixed this now. Thank you for pointing that out @Lukiluc29 ! |
The sidebar looks pretty good to me! |
Since you have disabled cloud disk tooltips because they are erroneous, this issue #11326 can be closed |
@chingucoding I'm fine without reimplementing the rich tooltips, the plan is to display this info in the details pane instead. |
What was the issue with displaying the tooltip? Performance? Reliability of the data? |
Mostly the issue how to separate the SidebarView from the Items and then somehow generating those tooltips based on the items. |
I'm inclined to say this is somewhat intentional and correct (at least from a SidebarView perspective). When we reorder the favorites, we essentially remove all favorites from the sidebar and than readd them. While there are no children, the favorite item acts as a top level element. @yaira2 @mdtauk What are your thoughts on this behavior? |
Ideally the item would know it's a group header, and will contain items when they are added to the group. |
But what if there are no child items, do we show the header and nothing else? Doesn't that invite users to click on it despite the section itself not making much sense? |
|
I went with this solution for now. |
What appears in the flyout, for an empty group when the sidebar is in the Collapsed mode? |
I've updated the behavior to don't do anything, before that it would have shown an empty flyout. What do you think is better for users? |
And also, in my opinion the correct behavior for reordering would be to not actually remove all items and readd them but just insert the items in the correct position so we wouldn't walk into that situation at all. |
If there is a label for the empty group state, this label can be displayed in the flyout. |
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.
LGTM
@Lukiluc29 removing the tooltip doesn't fix the underlying issue so we'll want to keep that issue open. |
commit 2b4132f Author: Filippo Ferrario <[email protected]> Date: Tue Aug 15 23:02:52 2023 +0200 Code Quality: Create alike RichCommands inheritance (files-community#13155) commit bd8c78f Author: hishitetsu <[email protected]> Date: Wed Aug 16 05:50:24 2023 +0900 Fix: Fixed issue where deleted items were displayed in tag search results (files-community#13202) commit 4b5ed37 Author: hishitetsu <[email protected]> Date: Tue Aug 15 03:27:18 2023 +0900 Fix: Fixed issue where closing the last closed tab would open it when starting the next session (files-community#13198) commit 6e37d69 Author: Marco Franzen <[email protected]> Date: Mon Aug 14 16:17:14 2023 +0200 Fix: Fixed crash that would occur when deleting or restoring files (files-community#13195) commit 001e8eb Author: Yair <[email protected]> Date: Sun Aug 13 12:29:35 2023 -0400 Preview: v2.5.22 (files-community#13190) commit f77259a Author: d2dyno <[email protected]> Date: Sun Aug 13 17:28:48 2023 +0200 Fix: Fixed issue where items in the Tags widget were not localized (files-community#13149) commit 9c34c31 Author: Marcel Wagner <[email protected]> Date: Sun Aug 13 16:20:48 2023 +0200 Feature: Redesigned the left-hand sidebar (files-community#13052) commit 3d88463 Author: Lukiluc29 <[email protected]> Date: Sun Aug 13 16:20:24 2023 +0200 Fix: Fixed the corner radius on the drive details page (files-community#13179) commit 89e3d03 Author: 0x5BFA <[email protected]> Date: Thu Aug 10 09:14:38 2023 +0900 Feature: Updated the design of the home page headers (files-community#13053) commit f02c4a0 Author: Yair <[email protected]> Date: Wed Aug 9 17:16:26 2023 -0400 Feature: Increased the default width of the Git status column (files-community#13168) commit c979c22 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed Aug 9 00:55:38 2023 -0400 Build(deps): Bump Microsoft.Data.Sqlite.Core from 7.0.9 to 7.0.10 (files-community#13163) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit beae745 Author: hishitetsu <[email protected]> Date: Wed Aug 9 12:01:49 2023 +0900 Fix: Fixed issue where the back button in the Properties window wasn't working properly (files-community#13162) commit 7f52809 Author: Filippo Ferrario <[email protected]> Date: Tue Aug 8 19:03:10 2023 +0200 Code Quality: Fixed issue with clicking search box (files-community#13158) Co-authored-by: hishitetsu <[email protected]> commit 311b380 Author: Filippo Ferrario <[email protected]> Date: Tue Aug 8 17:27:37 2023 +0200 Fix: Fixed an issue where clicking an empty space would scroll to the top of the file list (files-community#13157) commit 0988113 Author: Filippo Ferrario <[email protected]> Date: Tue Aug 8 17:21:34 2023 +0200 Feature: Show BitLocker options in main menu for drives (files-community#13142) commit 3221267 Author: Filippo Ferrario <[email protected]> Date: Tue Aug 8 17:17:48 2023 +0200 Feature: Display error message when transferring files that are too large for FAT32 (files-community#13137) commit be42aea Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Aug 8 10:30:20 2023 -0400 Build(deps): Bump Vanara.Windows.Shell from 3.4.15 to 3.4.16 (files-community#13153) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 53d99af Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Aug 8 08:37:00 2023 -0400 Build(deps): Bump Vanara.PInvoke.Mpr from 3.4.15 to 3.4.16 (files-community#13152) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit 43624b3 Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue Aug 8 08:36:50 2023 -0400 Build(deps): Bump Vanara.Windows.Extensions from 3.4.15 to 3.4.16 (files-community#13151) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> commit e7281fe Author: Yair <[email protected]> Date: Mon Aug 7 21:39:09 2023 -0400 Fix: Fixed issue where clicking DataGrid headers didn't change the sort direction (files-community#13150)
This PR migrates the SideBar implemenation away from the NavigationView control to our own written control, making feature development and styling a lot easier.
Fixes #12930
ToDos:
Update minimal pane to cover entire side (if desired)?Screenshots (optional)