Skip to content
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: Introduce NavigationViewItemButtonStyle to Settings dialog #11584

Merged
merged 26 commits into from
Mar 10, 2023

Conversation

0x5bfa
Copy link
Member

@0x5bfa 0x5bfa commented Mar 7, 2023

Feature: Introduce NavigationViewItemButtonStyle to Settings dialog

Description

Introducing new NavView style to Settings pages. (In another PR, to Properties pages)

Motivation and Context

Basing on a new concept style of NavigationView, I am going to make them real.

Details of changes

  • Add NavigationViewButtonStyle
  • Refactor SettingsDialog
  • Add missing namespace 'Views' in 'Files.App.Settings'

Validation

  • Built and ran the app
  • Tested the changes for accessibility

Screenshots

Main style

image

Collapsed style

image

@yaira2
Copy link
Member

yaira2 commented Mar 7, 2023

Refactor SettingsDialog

Depending what you mean by this, we might want to split it into a different PR.

@yaira2
Copy link
Member

yaira2 commented Mar 7, 2023

Refactor XAML in settings pages

This should be a separate PR and should be discussed beforehand.

@0x5bfa
Copy link
Member Author

0x5bfa commented Mar 7, 2023

Ohh messed up again. I should create new one that is limited the scope.

@yaira2
Copy link
Member

yaira2 commented Mar 7, 2023

Ohh messed up again. I should create new one that is limited the scope.

I'll review it because the work is done but keep in mind for the future 🙂

@0x5bfa
Copy link
Member Author

0x5bfa commented Mar 7, 2023

I'm reverting some super unrelated changes

@0x5bfa 0x5bfa marked this pull request as ready for review March 7, 2023 14:48
@mdtauk
Copy link
Contributor

mdtauk commented Mar 7, 2023

This control template should be ready for the new Icon once it rolls out fully.

And Overflow scenarios need to be considered too. I have put together a design in the Figma for this control pattern

@0x5bfa
Copy link
Member Author

0x5bfa commented Mar 8, 2023

I'm not sure I do understand what LeftPaneOverflow style is. @mdtauk What's that?

@yaira2
Copy link
Member

yaira2 commented Mar 8, 2023

@onein528 don't worry about this, the scrollbar takes care of this scenario.

@0x5bfa
Copy link
Member Author

0x5bfa commented Mar 8, 2023

Once this is merged, I will work on properties window as well.

@0x5bfa
Copy link
Member Author

0x5bfa commented Mar 8, 2023

Sometimes Tests goes wrong for unobvious reasons :(

@yaira2
Copy link
Member

yaira2 commented Mar 8, 2023

Happens when there are other pipelines running at the same time.

@0x5bfa
Copy link
Member Author

0x5bfa commented Mar 9, 2023

Now, NavViewItem has completely the same style as Button one.

Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yaira2 yaira2 added ready to merge Pull requests that are approved and ready to merge and removed needs - code review labels Mar 10, 2023
@yaira2 yaira2 merged commit e1994de into files-community:main Mar 10, 2023
@0x5bfa 0x5bfa deleted the 5bfa/introduce-navviewbuttonstyle branch March 11, 2023 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Pull requests that are approved and ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants