-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
bugfix(react-accordion): ensures controlled state works properly #28665
Merged
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:reaact-accordion/bugfix--ensures-controlled-state
Aug 3, 2023
Merged
bugfix(react-accordion): ensures controlled state works properly #28665
bsunderhus
merged 1 commit into
microsoft:master
from
bsunderhus:reaact-accordion/bugfix--ensures-controlled-state
Aug 3, 2023
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
bsunderhus
changed the title
bugfix: ensures controlled state works properly +
bugfix: ensures controlled state works properly
Jul 28, 2023
bsunderhus
changed the title
bugfix: ensures controlled state works properly
bugfix(react-accordion): ensures controlled state works properly
Jul 28, 2023
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
InfoButton | mount | 16 | 11 | 5000 | Possible regression |
All results
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 623 | 643 | 5000 | |
Button | mount | 314 | 282 | 5000 | |
Field | mount | 1055 | 1051 | 5000 | |
FluentProvider | mount | 629 | 627 | 5000 | |
FluentProviderWithTheme | mount | 70 | 80 | 10 | |
FluentProviderWithTheme | virtual-rerender | 73 | 67 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 73 | 76 | 10 | |
InfoButton | mount | 16 | 11 | 5000 | Possible regression |
MakeStyles | mount | 861 | 851 | 50000 | |
Persona | mount | 1656 | 1606 | 5000 | |
SpinButton | mount | 1315 | 1371 | 5000 |
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 dfbb463:
|
📊 Bundle size reportUnchanged fixtures
|
🕵 fluentuiv9 No visual regressions between this PR and main |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 262900bd47ddaa279b97f229b213f8a0ad796535 (build) |
makes AccordionItemValue generic + adds story for controlled state + simplifies access to requestToggle by context + reorganizes context into a separate folder
bsunderhus
force-pushed
the
reaact-accordion/bugfix--ensures-controlled-state
branch
from
August 2, 2023 10:19
8850a7f
to
dfbb463
Compare
bsunderhus
modified the milestones:
July Project Cycle Q3 2023,
August Project Cycle Q4 2023
Aug 2, 2023
micahgodbolt
approved these changes
Aug 3, 2023
bsunderhus
deleted the
reaact-accordion/bugfix--ensures-controlled-state
branch
August 3, 2023 19:36
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Aug 7, 2023
* master: chore(cxe-prg): migrate to new slot API (microsoft#28752) chore(teams-prg): migrate to new slot API (microsoft#28751) chore: re-export slot and assertSlots methods (microsoft#28755) Docs(react-tree): Improve docs and stories (microsoft#28741) feat: implements nested tree selection (microsoft#28668) applying package updates applying package updates feature(react-utilities): implements new slot methods (`slot` and `assertSlots`) (microsoft#28373) fix(TimePicker): Selection now works in locales that don't use "am"/"pm" in their time format (microsoft#28469) bugfix: ensures controlled state works properly + (microsoft#28665) feat(tokens): Add status color tokens (microsoft#28006) feat(tokens): Add colorBrandStroke2Contrast and colorNeutralStrokeAlpha2 (microsoft#28638) Made BreadcrumbButton consistent with Item and Link (microsoft#28672)
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Aug 7, 2023
* master: chore(cxe-prg): migrate to new slot API (microsoft#28752) chore(teams-prg): migrate to new slot API (microsoft#28751) chore: re-export slot and assertSlots methods (microsoft#28755) Docs(react-tree): Improve docs and stories (microsoft#28741) feat: implements nested tree selection (microsoft#28668) applying package updates applying package updates feature(react-utilities): implements new slot methods (`slot` and `assertSlots`) (microsoft#28373) fix(TimePicker): Selection now works in locales that don't use "am"/"pm" in their time format (microsoft#28469) bugfix: ensures controlled state works properly + (microsoft#28665) feat(tokens): Add status color tokens (microsoft#28006) feat(tokens): Add colorBrandStroke2Contrast and colorNeutralStrokeAlpha2 (microsoft#28638) Made BreadcrumbButton consistent with Item and Link (microsoft#28672) fix(EventListener): do not use `defaultProps` (microsoft#28725)
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
New Behavior
requestToggle
by context by removing intermediaries (onHeaderClick
)Related Issue(s)
multiple
andcollapsible
props #27718