Skip to content

Conversation

@Hirse
Copy link
Contributor

@Hirse Hirse commented Jul 8, 2021

Ensure over-wide content doesn't overflow compact ChatMessages.

Before:
compact content - before

After:
compact content - fixed

@size-auditor
Copy link

size-auditor bot commented Jul 8, 2021

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: f856f75faa1ebb97f041394bb2d3af042e5dc15a (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 8, 2021

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 40ca04a:

Sandbox Source
Fluent UI Button Configuration
codesandbox-react-template Configuration
codesandbox-react-northstar-template Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented Jul 8, 2021

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 819 825 5000
BaseButton mount 867 881 5000
Breadcrumb mount 2573 2556 1000
ButtonNext mount 520 505 5000
Checkbox mount 1501 1491 5000
CheckboxBase mount 1297 1259 5000
ChoiceGroup mount 4622 4596 5000
ComboBox mount 1008 968 1000
CommandBar mount 9943 9887 1000
ContextualMenu mount 6159 6155 1000
DefaultButton mount 1122 1093 5000
DetailsRow mount 3580 3653 5000
DetailsRowFast mount 3617 3620 5000
DetailsRowNoStyles mount 3488 3476 5000
Dialog mount 2091 2060 1000
DocumentCardTitle mount 140 137 1000
Dropdown mount 3203 3167 5000
FluentProviderNext mount 7131 7200 5000
FocusTrapZone mount 1765 1738 5000
FocusZone mount 1770 1777 5000
IconButton mount 1709 1714 5000
Label mount 355 321 5000
Layer mount 1768 1761 5000
Link mount 456 463 5000
MakeStyles mount 1810 1771 50000
MenuButton mount 1442 1426 5000
MessageBar mount 1988 1970 5000
Nav mount 3244 3249 1000
OverflowSet mount 1035 1009 5000
Panel mount 2068 2026 1000
Persona mount 787 822 1000
Pivot mount 1391 1363 1000
PrimaryButton mount 1248 1246 5000
Rating mount 7466 7411 5000
SearchBox mount 1293 1303 5000
Shimmer mount 2487 2468 5000
Slider mount 1948 1916 5000
SpinButton mount 4872 4965 5000
Spinner mount 438 409 5000
SplitButton mount 3167 3056 5000
Stack mount 467 481 5000
StackWithIntrinsicChildren mount 1532 1510 5000
StackWithTextChildren mount 4399 4487 5000
SwatchColorPicker mount 10094 10069 5000
Tabs mount 1382 1365 1000
TagPicker mount 2385 2379 5000
TeachingBubble mount 11837 11704 5000
Text mount 425 428 5000
TextField mount 1346 1338 5000
ThemeProvider mount 1166 1184 5000
ThemeProvider virtual-rerender 590 600 5000
Toggle mount 783 785 5000
buttonNative mount 118 121 5000

Perf Analysis (@fluentui/react-northstar)

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
PortalMinimalPerf.default 193 173 1.12:1
LabelMinimalPerf.default 405 373 1.09:1
RefMinimalPerf.default 246 225 1.09:1
BoxMinimalPerf.default 353 329 1.07:1
AttachmentSlotsPerf.default 1056 1008 1.05:1
ButtonMinimalPerf.default 167 159 1.05:1
FlexMinimalPerf.default 291 276 1.05:1
GridMinimalPerf.default 336 321 1.05:1
LayoutMinimalPerf.default 367 354 1.04:1
ListMinimalPerf.default 517 497 1.04:1
TextMinimalPerf.default 343 330 1.04:1
ToolbarMinimalPerf.default 940 903 1.04:1
VideoMinimalPerf.default 610 589 1.04:1
AvatarMinimalPerf.default 194 189 1.03:1
ChatMinimalPerf.default 635 616 1.03:1
DialogMinimalPerf.default 762 740 1.03:1
FormMinimalPerf.default 393 382 1.03:1
ImageMinimalPerf.default 383 371 1.03:1
ProviderMergeThemesPerf.default 1701 1655 1.03:1
TableManyItemsPerf.default 1876 1820 1.03:1
CheckboxMinimalPerf.default 2693 2649 1.02:1
HeaderSlotsPerf.default 743 730 1.02:1
ReactionMinimalPerf.default 380 372 1.02:1
SegmentMinimalPerf.default 339 331 1.02:1
ButtonOverridesMissPerf.default 1699 1679 1.01:1
CardMinimalPerf.default 554 551 1.01:1
EmbedMinimalPerf.default 4151 4100 1.01:1
ItemLayoutMinimalPerf.default 1205 1194 1.01:1
ListCommonPerf.default 608 603 1.01:1
IconMinimalPerf.default 621 614 1.01:1
TooltipMinimalPerf.default 985 972 1.01:1
CarouselMinimalPerf.default 455 453 1:1
DropdownMinimalPerf.default 3083 3075 1:1
MenuMinimalPerf.default 831 828 1:1
MenuButtonMinimalPerf.default 1554 1550 1:1
PopupMinimalPerf.default 555 556 1:1
ProviderMinimalPerf.default 998 997 1:1
RadioGroupMinimalPerf.default 431 429 1:1
SplitButtonMinimalPerf.default 3670 3685 1:1
StatusMinimalPerf.default 678 678 1:1
TableMinimalPerf.default 396 395 1:1
AlertMinimalPerf.default 270 274 0.99:1
AttachmentMinimalPerf.default 151 153 0.99:1
ChatWithPopoverPerf.default 348 352 0.99:1
DatepickerMinimalPerf.default 5289 5342 0.99:1
ListNestedPerf.default 541 544 0.99:1
ListWith60ListItems.default 629 633 0.99:1
SkeletonMinimalPerf.default 335 340 0.99:1
SliderMinimalPerf.default 1575 1598 0.99:1
TextAreaMinimalPerf.default 491 494 0.99:1
CustomToolbarPrototype.default 3838 3858 0.99:1
TreeMinimalPerf.default 779 789 0.99:1
ChatDuplicateMessagesPerf.default 279 285 0.98:1
DropdownManyItemsPerf.default 666 681 0.98:1
HeaderMinimalPerf.default 347 353 0.98:1
LoaderMinimalPerf.default 673 689 0.98:1
AnimationMinimalPerf.default 387 397 0.97:1
RosterPerf.default 1135 1171 0.97:1
TreeWith60ListItems.default 173 178 0.97:1
ButtonSlotsPerf.default 531 551 0.96:1
DividerMinimalPerf.default 345 358 0.96:1
InputMinimalPerf.default 1203 1250 0.96:1
AccordionMinimalPerf.default 141 149 0.95:1

@Hirse Hirse merged commit ca55dc8 into microsoft:master Jul 9, 2021
@Hirse Hirse deleted the compact-body-min-width branch July 9, 2021 20:53
PeterDraex pushed a commit to PeterDraex/fluentui that referenced this pull request Aug 6, 2021
* Ensure wide content fits in compact ChatMessage

* Add changelog entry

Co-authored-by: Oleksandr Fediashov <olfedias@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fluent UI react-northstar (v0) Work related to Fluent UI V0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants