Skip to content
This repository was archived by the owner on Mar 4, 2020. It is now read-only.

feat(Accordion): disabled accordion title#2290

Merged
jurokapsiar merged 8 commits intomasterfrom
feat/accordion-title-disabled
Feb 3, 2020
Merged

feat(Accordion): disabled accordion title#2290
jurokapsiar merged 8 commits intomasterfrom
feat/accordion-title-disabled

Conversation

@jurokapsiar
Copy link
Contributor

@jurokapsiar jurokapsiar commented Jan 30, 2020

Allow disabling accordion titles so that they can be present, but won't allow the user to expand the content

Juraj Kapsiar added 2 commits January 31, 2020 09:42
@DustyTheBot
Copy link
Collaborator

DustyTheBot commented Jan 31, 2020

Perf comparison

Status Scenario Fluent TPI Fabric TPI Ratio Iterations Ticks
🔧 Avatar.Fluent 0.56 0.37 1.51:1 2000 1116
🔧 Button.Fluent 1.18 0.17 6.94:1 1000 1184
🔧 Checkbox.Fluent 1.99 0.31 6.42:1 1000 1985
🔧 Dialog.Fluent 0.35 0.19 1.84:1 5000 1734
🔧 Dropdown.Fluent 3.43 0.39 8.79:1 1000 3434
🔧 Icon.Fluent 0.24 0.03 8:1 5000 1178
🔧 Image.Fluent 0.09 0.07 1.29:1 5000 469
🔧 Slider.Fluent 1.85 0.33 5.61:1 1000 1849
🦄 Text.Fluent 0.05 0.15 0.33:1 5000 247
🦄 Tooltip.Fluent 0.42 17.34 0.02:1 5000 2088

🔧 Needs work     🎯 On target     🦄 Amazing

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
Checkbox.Fluent 1985 1397 1.42:1
AnimationMinimalPerf.default 492 444 1.11:1
DividerMinimalPerf.default 942 850 1.11:1
ListCommonPerf.default 1125 1037 1.08:1
MenuButtonMinimalPerf.default 1468 1363 1.08:1
RadioGroupMinimalPerf.default 401 373 1.08:1
PortalMinimalPerf.default 266 248 1.07:1
VideoMinimalPerf.default 848 789 1.07:1
ListMinimalPerf.default 693 660 1.05:1
RefMinimalPerf.default 185 177 1.05:1
Text.Fluent 247 235 1.05:1
AccordionMinimalPerf.default 203 195 1.04:1
ButtonMinimalPerf.default 1272 1226 1.04:1
TextMinimalPerf.default 259 249 1.04:1
CarouselMinimalPerf.default 1866 1817 1.03:1
ChatWithPopoverPerf.default 605 587 1.03:1
ItemLayoutMinimalPerf.default 1625 1585 1.03:1
MenuMinimalPerf.default 1813 1764 1.03:1
Dialog.Fluent 1734 1686 1.03:1
DropdownMinimalPerf.default 3573 3496 1.02:1
IconMinimalPerf.default 1177 1157 1.02:1
AvatarMinimalPerf.default 582 576 1.01:1
FlexMinimalPerf.default 343 340 1.01:1
FormMinimalPerf.default 707 697 1.01:1
HeaderSlotsPerf.default 1242 1228 1.01:1
HierarchicalTreeMinimalPerf.default 767 757 1.01:1
SplitButtonMinimalPerf.default 11774 11685 1.01:1
TextAreaMinimalPerf.default 2797 2780 1.01:1
CustomToolbarPrototype.default 3733 3686 1.01:1
Avatar.Fluent 1116 1103 1.01:1
ChatMinimalPerf.default 1632 1624 1:1
PopupMinimalPerf.default 341 341 1:1
Dropdown.Fluent 3434 3419 1:1
Slider.Fluent 1849 1854 1:1
AttachmentSlotsPerf.default 3529 3569 0.99:1
ChatDuplicateMessagesPerf.default 552 556 0.99:1
GridMinimalPerf.default 782 790 0.99:1
LoaderMinimalPerf.default 2352 2385 0.99:1
TableMinimalPerf.default 536 539 0.99:1
TreeMinimalPerf.default 875 880 0.99:1
BoxMinimalPerf.default 230 234 0.98:1
ReactionMinimalPerf.default 2451 2510 0.98:1
Icon.Fluent 1178 1200 0.98:1
Image.Fluent 469 478 0.98:1
DropdownManyItemsPerf.default 478 494 0.97:1
ProviderMinimalPerf.default 582 599 0.97:1
CheckboxMinimalPerf.default 6654 6910 0.96:1
ProviderMergeThemesPerf.default 1059 1101 0.96:1
HeaderMinimalPerf.default 397 418 0.95:1
SegmentMinimalPerf.default 1181 1244 0.95:1
SliderMinimalPerf.default 1890 1996 0.95:1
StatusMinimalPerf.default 830 878 0.95:1
ImageMinimalPerf.default 475 505 0.94:1
TooltipMinimalPerf.default 2105 2236 0.94:1
EmbedMinimalPerf.default 6443 6903 0.93:1
InputMinimalPerf.default 941 1008 0.93:1
Button.Fluent 1184 1277 0.93:1
ButtonSlotsPerf.default 1705 1867 0.91:1
AttachmentMinimalPerf.default 933 1031 0.9:1
LabelMinimalPerf.default 1618 1796 0.9:1
ToolbarMinimalPerf.default 844 936 0.9:1
Tooltip.Fluent 2088 2313 0.9:1
AlertMinimalPerf.default 559 631 0.89:1
DialogMinimalPerf.default 1621 1835 0.88:1
LayoutMinimalPerf.default 581 679 0.86:1

Generated by 🚫 dangerJS

Copy link
Contributor

@mnajdova mnajdova left a comment

Choose a reason for hiding this comment

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

Looks good, please see comments before merging

@jurokapsiar jurokapsiar merged commit e57e61c into master Feb 3, 2020
@jurokapsiar jurokapsiar deleted the feat/accordion-title-disabled branch February 3, 2020 22:05
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