-
-
Notifications
You must be signed in to change notification settings - Fork 291
Code quality: Streamlined navigation and more improvements #954
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
Code quality: Streamlined navigation and more improvements #954
Conversation
Jay-o-Way
left a comment
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.
Thanks for starting on this! Suggestion: If you've started working on an issue, give us a hint, so we don't do the same issue at the same time, but independently :)
As for the PR: few comments :)
intellisense
Code quality: Added updates for SelectedItem and HeaderDescribeNow even if you call GoBack and other operations in the MainWindow, it will not affect the update of Header and SelectedItem. |
Code quality: Simplified TagDescribeTag becomes extremely simple. φ(* ̄0 ̄) |
Code quality: Perfect keyboard and mouse operationDescribe
Screenshots |
|
Interesting choice to add the sub-items. Now there are two paths that do the exact same thing. You can click in the Nav, or you can click on the page. This is redundant. Need to know what @Armin2208 and @Spiritreader think about this. |
This comment has been minimized.
This comment has been minimized.
I made this change to make the navigation structure more intuitive and clear. The reason for keeping personalized items is that users can see the descriptions of different items on this page. |
Yes, but - at the moment - each Nav Item is functionally identical to the clickable Setting Cards. That's just totally unnatural and unneeded. I suggest to choose one solution. |
Uh... It's just like the way WinUI Gallery uses it. |
|
My general recommendation (and most likely @Armin2208's) is to keep navigation functionality as close to Windows defaults as possible. In case Windows does something that is unintuitive, Armin mostly has a pretty good radar on what to keep, so I'll get in contact with him to ask for further clarification Also, there's the question for the personalization page in peraticular. |
|
Firstly, great work from you guys! The screenshots look promising, and they make me happy, considering we're finally processing to an Auto Dark Mode 11 with a new and modern User Interface. Also, thanks for having attention to the details. Things like Alt + ← & Alt + → are really improving the user experience in the long term. You are doing a great job overall. As a user, I would expect the following keyboard shortcut logic:
From the video, I can't really tell what which button does in the current implementation. I also don't know what "XButtonUp" is. Now speaking of the subtree menus on the navigation tree:
Due to these two important factors, I recommend to not implement the navigation tree in the navigation bar. Nice idea, but sadly not a good choice from a UX perspective. But still, thanks for trying out new stuff and experimenting. Btw: I don't know if you already have implemented the red message box in the Page Personalization, that the three entries background / mouse / accent are disabled, due to the use of a Windows theme. Maybe we can extend this red message box with a new button, which disables Windows theme for the user - because it could be that the user doesn't know how to disable it. A little idea to extend the easiness of usage. Thanks! Looking forward to seeing more work of you guys. You can always contact me regarding UX thoughts. |
This is a very important point, and the existence of subtree in navigation tree will cause serious ambiguity.
Ah ah ah ah, thank everyone very much for reminding me. I forgot this from beginning to end.(;´д`)ゞ |
Add it in #947 now. |
|
I like where this is going 🙂 At what point do we want to pull this into the |
Code quality: Format xamlDescriptionUsing blank line separation is more conducive to quickly scanning the file structure. Symmetry can quickly identify the nesting range of tags, especially in complex XAML, which is easier to maintain. Code quality: Operation healthDescription
|
No time like the present φ(* ̄0 ̄) |
In fact, WinUI itself provides enough keyboard support, and the “Tab” key plays an important role in it, just like the setting of Win11! We may not need to add too many shortcut keys? At the same time, I forgot to mention that "XButtonUp" and "XButtonDown" are the side keys of the mouse, just like Logitech's GPW. |
Test: Let the time follow the system settingsDescriptionLet the time-related components of ADMApp follow the date format of the system. |
Jay-o-Way
left a comment
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.
🚀
Yep. I don’t think it’s necessary to constantly check if the system’s time format has changed. Honestly, I doubt any user would be so bored as to tweak the time format every other second ( pretty sure about that ( •̀ ω •́ )✧). |



Code quality: Streamlined navigation
Describe
Supplement
The reason for choosing to keep PageService is that it provides the mapping from ViewModel to Page, where page types can be managed centrally and pages can be added/removed dynamically (if needed later).