Skip to content

Add a BreadcrumbBar to the SUI#12144

Merged
43 commits merged intomainfrom
dev/pabhoj/SUI_breadcrumb
Jan 28, 2022
Merged

Add a BreadcrumbBar to the SUI#12144
43 commits merged intomainfrom
dev/pabhoj/SUI_breadcrumb

Conversation

@PankajBhojwani
Copy link
Contributor

@PankajBhojwani PankajBhojwani commented Jan 12, 2022

Summary of the Pull Request

Note: This PR targets #11720

Replaces our old pivot-style settings UI with a breadcrumb bar style, as per the windows 11 style guidelines. This required splitting Profiles.xaml into 3 separate files, Profiles_Base.xaml for general settings, Profiles_Appearance.xaml for appearance settings, Profiles_Advanced.xaml for advanced settings

The header in the navigation view is now a BreadcrumbBar, which can be used to navigate back to Profiles_Base after moving into the advanced or appearance page (see GIF below)

PR Checklist

  • Closes #xxx
  • CLA signed. If not, go over here and sign the CLA
  • Tests added/passed
  • Documentation updated. If checked, please file a pull request on our docs repo and link it here: #xxx
  • Schema updated.
  • I work here

Validation Steps Performed

breadcrumb

@zadjii-msft
Copy link
Member

#11877 looks like it needs to get merged into #11720 (and this pr too)

@PankajBhojwani PankajBhojwani force-pushed the dev/pabhoj/SUI_breadcrumb branch from c45cb11 to f8b7db9 Compare January 12, 2022 22:55
@DHowett
Copy link
Member

DHowett commented Jan 13, 2022

this looks really good btw

@lhecker
Copy link
Member

lhecker commented Jan 17, 2022

While the UX of using expanders is questionable, I love how closely it resembles the settings app. Nice! 💖

Regarding early criticism... I feel like it would look better if the breadcrumb bar was aligned with the top margin like so:

image

@PankajBhojwani
Copy link
Contributor Author

I feel like it would look better if the breadcrumb bar was aligned with the top margin like so:

Requires some funky negative margins on the header and the grid but yeah I agree it looks better, changed it!

@PankajBhojwani
Copy link
Contributor Author

We discovered a bunch of bugs/issues during the bug bash - those that are relevant to this PR have been fixed here, the others will be fixed either in the base PR or in other PRs that target the base one. So this PR is ready for review now!

@zadjii-msft
Copy link
Member

Reviewing now. Immediate notes before I forget:

  • Click&drag on these buttons does something... weird: breadcrumb-click-drag
  • We should make sure to do a High Contrast pass for bugs

These are nits. The HC one should be done in 1.13, but I won't block these PRs over that. The drag one is probably a P3 that can wait.

Copy link
Member

@zadjii-msft zadjii-msft left a comment

Choose a reason for hiding this comment

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

Okay I'm at 22/30, but I want to be sure about these ProfileViewModel things before I go through the last few with the same comment a bunch of times

@ghost ghost added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 21, 2022
@PankajBhojwani
Copy link
Contributor Author

Click&drag on these buttons does something... weird

You could repro that without dragging! That's the issue where going Appearance->back to profile via breadcrumb->Appearance again does nothing (same with Advanced). Its fixed now though (I think you're on the bug bash branch)

@ghost ghost removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Jan 21, 2022
@PankajBhojwani PankajBhojwani force-pushed the dev/pabhoj/SUI_breadcrumb branch from 14f465e to 20d34b5 Compare January 27, 2022 19:52
Base automatically changed from dev/pabhoj/SUI_11 to main January 28, 2022 00:43
@zadjii-msft zadjii-msft added this to the Terminal v1.13 milestone Jan 28, 2022
@zadjii-msft zadjii-msft added the AutoMerge Marked for automatic merge by the bot when requirements are met label Jan 28, 2022
@ghost
Copy link

ghost commented Jan 28, 2022

Hello @zadjii-msft!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 21d30b1 into main Jan 28, 2022
@ghost ghost deleted the dev/pabhoj/SUI_breadcrumb branch January 28, 2022 18:46
@zadjii-msft zadjii-msft mentioned this pull request Feb 7, 2022
12 tasks
zadjii-msft pushed a commit that referenced this pull request Mar 3, 2022
**Note: This PR targets #11720**

Replaces our old pivot-style settings UI with a breadcrumb bar style, as per the windows 11 style guidelines. This required splitting `Profiles.xaml` into 3 separate files, `Profiles_Base.xaml` for general settings, `Profiles_Appearance.xaml` for appearance settings, `Profiles_Advanced.xaml` for advanced settings

The header in the navigation view is now a [BreadcrumbBar](https://docs.microsoft.com/en-us/windows/apps/design/controls/breadcrumbbar), which can be used to navigate back to `Profiles_Base` after moving into the advanced or appearance page (see GIF below)

<!-- Please review the items on the PR checklist before submitting-->
* [ ] Closes #xxx
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [x] I work here

![breadcrumb](https://user-images.githubusercontent.com/26824113/150410517-2232811e-4f5b-4732-9a0d-569cc94093b3.gif)
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge Marked for automatic merge by the bot when requirements are met Needs-Second It's a PR that needs another sign-off

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants