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

Button: Conditionally rendering KeytipData #9276

Merged
merged 4 commits into from
Jun 3, 2019

Conversation

khmakoto
Copy link
Member

@khmakoto khmakoto commented May 29, 2019

Pull request checklist

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

Description of changes

Adding a conditional render of KeytipData only if keytipProps are present in Button in both office-ui-fabric-react and experiments.

Focus areas to test

(optional)

Microsoft Reviewers: Open in CodeFlow

@msft-github-bot
Copy link
Contributor

msft-github-bot commented May 30, 2019

Component perf results:

Scenario Target branch avg total (ms) PR avg total (ms) Target branch avg per item (ms) PR avg per item (ms) Is significant change Is regression
PrimaryButton 88.797 ... 0.888 ... ... ...
BaseButton 35.563 ... 0.356 ... ... ...
NewButton 115.985 ... 1.160 ... ... ...
button 6.081 ... 0.061 ... ... ...
DetailsRows without styles 189.938 ... 1.899 ... ... ...
DetailsRows 221.028 ... 2.210 ... ... ...
Toggles 55.435 ... 0.554 ... ... ...
NewToggle 71.940 ... 0.719 ... ... ...
DocumentCardTitle with truncation 28.155 ... 0.282 ... ... ...
DefaultButton ... 74.936 ... 0.749 ... ...

@msft-github-bot
Copy link
Contributor

Hello @khmakoto!

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 (@msft-github-bot) and give me an instruction to get started! Learn more here.

@msft-github-bot msft-github-bot merged commit 5da0db9 into microsoft:fabric-7 Jun 3, 2019
@khmakoto khmakoto deleted the buttonKeytip branch June 3, 2019 18:48
@microsoft microsoft locked as resolved and limited conversation to collaborators Aug 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants