-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
fix (v8 MessageBar): Add showExpandButton prop to allow manual override to explicitly show the expand button #32884
Merged
emmayjiang
merged 14 commits into
microsoft:master
from
emmayjiang:v8-messageBar-example-fix
Sep 30, 2024
Merged
fix (v8 MessageBar): Add showExpandButton prop to allow manual override to explicitly show the expand button #32884
emmayjiang
merged 14 commits into
microsoft:master
from
emmayjiang:v8-messageBar-example-fix
Sep 30, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
BaseButton | mount | 609 | 624 | 5000 | |
Breadcrumb | mount | 1672 | 1680 | 1000 | |
Checkbox | mount | 1672 | 1696 | 5000 | |
CheckboxBase | mount | 1479 | 1477 | 5000 | |
ChoiceGroup | mount | 3015 | 2994 | 5000 | |
ComboBox | mount | 661 | 667 | 1000 | |
CommandBar | mount | 6525 | 6483 | 1000 | |
ContextualMenu | mount | 11871 | 11825 | 1000 | |
DefaultButton | mount | 813 | 794 | 5000 | |
DetailsRow | mount | 2221 | 2269 | 5000 | |
DetailsRowFast | mount | 2236 | 2275 | 5000 | |
DetailsRowNoStyles | mount | 2044 | 2032 | 5000 | |
Dialog | mount | 2784 | 2810 | 1000 | |
DocumentCardTitle | mount | 227 | 223 | 1000 | |
Dropdown | mount | 2027 | 1972 | 5000 | |
FocusTrapZone | mount | 1179 | 1133 | 5000 | |
FocusZone | mount | 1076 | 1076 | 5000 | |
GroupedList | mount | 42133 | 42592 | 2 | |
GroupedList | virtual-rerender | 20220 | 20640 | 2 | |
GroupedList | virtual-rerender-with-unmount | 51732 | 52001 | 2 | |
GroupedListV2 | mount | 225 | 228 | 2 | |
GroupedListV2 | virtual-rerender | 216 | 202 | 2 | |
GroupedListV2 | virtual-rerender-with-unmount | 221 | 232 | 2 | |
IconButton | mount | 1142 | 1133 | 5000 | |
Label | mount | 339 | 344 | 5000 | |
Layer | mount | 2716 | 2747 | 5000 | |
Link | mount | 388 | 393 | 5000 | |
MenuButton | mount | 967 | 975 | 5000 | |
MessageBar | mount | 21299 | 21358 | 5000 | |
Nav | mount | 2013 | 2031 | 1000 | |
OverflowSet | mount | 765 | 773 | 5000 | |
Panel | mount | 1933 | 1827 | 1000 | |
Persona | mount | 751 | 753 | 1000 | |
Pivot | mount | 918 | 903 | 1000 | |
PrimaryButton | mount | 931 | 910 | 5000 | |
Rating | mount | 4665 | 4746 | 5000 | |
SearchBox | mount | 875 | 924 | 5000 | |
Shimmer | mount | 1950 | 1846 | 5000 | |
Slider | mount | 1338 | 1337 | 5000 | |
SpinButton | mount | 3000 | 2975 | 5000 | |
Spinner | mount | 406 | 382 | 5000 | |
SplitButton | mount | 1857 | 1872 | 5000 | |
Stack | mount | 422 | 421 | 5000 | |
StackWithIntrinsicChildren | mount | 895 | 862 | 5000 | |
StackWithTextChildren | mount | 2790 | 2785 | 5000 | |
SwatchColorPicker | mount | 6392 | 6436 | 5000 | |
TagPicker | mount | 1488 | 1438 | 5000 | |
Text | mount | 390 | 387 | 5000 | |
TextField | mount | 943 | 936 | 5000 | |
ThemeProvider | mount | 846 | 845 | 5000 | |
ThemeProvider | virtual-rerender | 576 | 596 | 5000 | |
ThemeProvider | virtual-rerender-with-unmount | 1297 | 1303 | 5000 | |
Toggle | mount | 615 | 619 | 5000 | |
buttonNative | mount | 187 | 192 | 5000 |
smhigley
reviewed
Sep 23, 2024
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.
The change looks great to me! I do like having that clone/width check in the example to point folks to, thanks for making it 😊
Left just some small/nitpicky comments, the substantive logic looks good 👍
packages/react-examples/src/react/MessageBar/MessageBar.Basic.Example.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Sarah Higley <smhigley@users.noreply.github.com>
smhigley
approved these changes
Sep 30, 2024
🕵 fluentuiv8 No visual regressions between this PR and main |
mltejera
pushed a commit
to mltejera/office-ui-fabric-react
that referenced
this pull request
Oct 3, 2024
…de to explicitly show the expand button (microsoft#32884) Co-authored-by: Sarah Higley <smhigley@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previous Behavior
v8 MessageBar with actions will truncate at high zooms.
New Behavior
By setting the showExpandButton prop, the v8 MessageBar can expand to show truncated content even with actions.
Related Issue(s)