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

Nav: update to latest redlines #10008

Merged
merged 15 commits into from
Aug 19, 2019

Conversation

phkuo
Copy link
Contributor

@phkuo phkuo commented Jul 31, 2019

Pull request checklist

  • Addresses an existing issue: Fixes #0000
  • Include a change request file using $ yarn change

Description of changes

Tweaked the background colors for hover/selected in the Nav component, selected font styles, and fixed margins.

Old:
image

New:
image

Microsoft Reviewers: Open in CodeFlow

@phkuo phkuo requested a review from dzearing as a code owner July 31, 2019 22:01
@size-auditor
Copy link

size-auditor bot commented Jul 31, 2019

Bundle test Size (minified) Diff from master
experiments-Button 94.889 kB ExceedsBaseline     76 bytes
Dialog 191.305 kB ExceedsBaseline     76 bytes
Dropdown 213.624 kB ExceedsBaseline     76 bytes
Fabric 43.23 kB ExceedsBaseline     76 bytes
Facepile 194.71 kB ExceedsBaseline     76 bytes
FloatingPicker 222.01 kB ExceedsBaseline     76 bytes
Foundation 42.049 kB ExceedsBaseline     76 bytes
Grid 166.65 kB ExceedsBaseline     76 bytes
GroupedList 119.7 kB ExceedsBaseline     76 bytes
HoverCard 98.416 kB ExceedsBaseline     76 bytes
Icon 49.201 kB ExceedsBaseline     76 bytes
Icons 73.604 kB ExceedsBaseline     76 bytes
Image 47.066 kB ExceedsBaseline     76 bytes
Keytip 79.558 kB ExceedsBaseline     76 bytes
KeytipLayer 101.867 kB ExceedsBaseline     76 bytes
Label 42.836 kB ExceedsBaseline     76 bytes
Tooltip 83.551 kB ExceedsBaseline     76 bytes
DocumentCard 198.838 kB ExceedsBaseline     76 bytes
DetailsList 208.397 kB ExceedsBaseline     76 bytes
MarqueeSelection 75.467 kB ExceedsBaseline     76 bytes
DatePicker 200.465 kB ExceedsBaseline     76 bytes
ActivityItem 80.15 kB ExceedsBaseline     76 bytes
Announced 42.927 kB ExceedsBaseline     76 bytes
Breadcrumb 183.262 kB ExceedsBaseline     76 bytes
Button 178.419 kB ExceedsBaseline     76 bytes
Calendar 144.319 kB ExceedsBaseline     76 bytes
Callout 83.431 kB ExceedsBaseline     76 bytes
Check 52.328 kB ExceedsBaseline     76 bytes
Checkbox 63.884 kB ExceedsBaseline     76 bytes
ChoiceGroup 61.618 kB ExceedsBaseline     76 bytes
ChoiceGroupOption 57.247 kB ExceedsBaseline     76 bytes
Coachmark 96.314 kB ExceedsBaseline     76 bytes
ColorPicker 83.437 kB ExceedsBaseline     76 bytes
ComboBox 224.498 kB ExceedsBaseline     76 bytes
CommandBar 185.305 kB ExceedsBaseline     76 bytes
ContextualMenu 147.112 kB ExceedsBaseline     76 bytes
Link 56.208 kB ExceedsBaseline     76 bytes
Layer 49.494 kB ExceedsBaseline     76 bytes
MessageBar 174.14 kB ExceedsBaseline     76 bytes
Spinner 55.222 kB ExceedsBaseline     76 bytes
ScrollablePane 62.336 kB ExceedsBaseline     76 bytes
SelectedItemsList 212.253 kB ExceedsBaseline     76 bytes
Shimmer 58.403 kB ExceedsBaseline     76 bytes
ShimmeredDetailsList 218.969 kB ExceedsBaseline     76 bytes
Slider 64.968 kB ExceedsBaseline     76 bytes
SpinButton 177.891 kB ExceedsBaseline     76 bytes
Stack 45.053 kB ExceedsBaseline     76 bytes
ProgressIndicator 43.519 kB ExceedsBaseline     76 bytes
Styling 44.397 kB ExceedsBaseline     76 bytes
SwatchColorPicker 176.48 kB ExceedsBaseline     76 bytes
TeachingBubble 177.355 kB ExceedsBaseline     76 bytes
Text 41.027 kB ExceedsBaseline     76 bytes
TextField 75.857 kB ExceedsBaseline     76 bytes
Toggle 62.305 kB ExceedsBaseline     76 bytes
Rating 73.022 kB ExceedsBaseline     76 bytes
SearchBox 172.433 kB ExceedsBaseline     76 bytes
Persona 116.011 kB ExceedsBaseline     76 bytes
Modal 92.349 kB ExceedsBaseline     76 bytes
PositioningContainer 75.796 kB ExceedsBaseline     76 bytes
Overlay 54.247 kB ExceedsBaseline     76 bytes
Panel 183.306 kB ExceedsBaseline     76 bytes
Pivot 171.957 kB ExceedsBaseline     76 bytes
Pickers 262.417 kB ExceedsBaseline     76 bytes
PersonaPresence 66.035 kB ExceedsBaseline     76 bytes
PersonaCoin 116.011 kB ExceedsBaseline     76 bytes
Nav 173.062 kB ExceedsBaseline     54 bytes

ExceedsTolerance  Exceeds Tolerance     ExceedsBaseline  Exceeds Baseline     BelowBaseline  Below Baseline     1 kB = 1000 bytes

Copy link
Contributor

@Vitalius1 Vitalius1 left a comment

Choose a reason for hiding this comment

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

Thanks for addressing the feedback

@phkuo
Copy link
Contributor Author

phkuo commented Aug 1, 2019

@dzearing need your review
@cliffkoh can you bypass?

@phkuo
Copy link
Contributor Author

phkuo commented Aug 2, 2019

@dzearing @dzearing @dzearing

@dzearing
Copy link
Member

dzearing commented Aug 3, 2019

The build is still failing

@dzearing
Copy link
Member

dzearing commented Aug 3, 2019

Screenshot?

@phkuo phkuo closed this Aug 5, 2019
@phkuo phkuo reopened this Aug 5, 2019
@phkuo
Copy link
Contributor Author

phkuo commented Aug 5, 2019

Restarted to get screener to work.
You wouldn't be able to see anything in screenshots, I just changed the background shades to be one shade darker. Nothing terribly interesting, but it SHOULD fail screener.

@phkuo
Copy link
Contributor Author

phkuo commented Aug 5, 2019

@Vitalius1 @betrue-final-final do you know why Screener isn't responding?

@Vitalius1
Copy link
Contributor

@phkuo The CI is failing on a snapshot that need to be updated so this is why it never starts the Screener. 😄

@phkuo
Copy link
Contributor Author

phkuo commented Aug 6, 2019

This is failing the accessibility test. Putting this PR on hold while I get some questions answered from design.

@msft-github-bot
Copy link
Contributor

Hello @phkuo!

Because this pull request has the Auto Merge 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 (@msft-github-bot) and give me an instruction to get started! Learn more here.

@phkuo
Copy link
Contributor Author

phkuo commented Aug 9, 2019

This will need to be ported to Fabric 6 as well.

Copy link
Contributor

@Vitalius1 Vitalius1 left a comment

Choose a reason for hiding this comment

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

Don’t you have to run these script now that you add 2 slots?

Also, looks like you need another round of updating snapshots 😄

@phkuo
Copy link
Contributor Author

phkuo commented Aug 13, 2019

@Vitalius1 @natalieethell running update-sass-theme-files doesn't do anything, oddly. I don't have time to debug it, but Natalie could you take a look? I'm on call this week.

@phkuo
Copy link
Contributor Author

phkuo commented Aug 13, 2019

@dzearing pokepoke

'&:hover': {
backgroundColor: semanticColors.bodyBackgroundHovered
},
'$compositeLink:hover &': {
Copy link
Member

Choose a reason for hiding this comment

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

The $ syntax is not supported any longer. Please don't use it.

Copy link
Member

@dzearing dzearing left a comment

Choose a reason for hiding this comment

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

Fix styling comments.

@natalieethell
Copy link
Contributor

@phkuo it looks like you already have those colors in _semanticSlots.scss from your PR 6 days ago:

https://github.com/OfficeDev/office-ui-fabric-react/pull/10093/files#diff-3ebaa175fa5a19693419fd7fabbd751cR3-R4

$bodyBackgroundHoveredColor: '[theme:bodyBackgroundHovered, default: #f3f2f1]'; 
$bodyBackgroundCheckedColor: '[theme:bodyBackgroundChecked, default: #edebe9]';

@phkuo
Copy link
Contributor Author

phkuo commented Aug 19, 2019

@dzearing ready for re-review

@msft-github-bot msft-github-bot merged commit f0097f8 into microsoft:master Aug 19, 2019
@msft-github-bot
Copy link
Contributor

🎉@uifabric/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉@uifabric/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

@msft-github-bot
Copy link
Contributor

🎉@uifabric/[email protected] has been released which incorporates this pull request.:tada:

Handy links:

joschect added a commit that referenced this pull request Oct 13, 2020
…t/5.79.1 (#14933)

* Nav: update to latest redlines

* add change log

Co-authored-by: Jon Schectman <[email protected]>
Phoebe-0319 added a commit that referenced this pull request Mar 21, 2022
…e-ui-fabric-react_v5.79.1 to hotfix/5.135.6 (#22162)

* Port #14933 (Port #10008 to update Nav to latest redlines) from office-ui-fabric-react_v5.79.1 to hotfix/5.135.6

* add commit log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants