-
Notifications
You must be signed in to change notification settings - Fork 2.9k
fix(web-components): harden component lifecycle for SSR/DSD hydration scenarios #35838
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
Open
radium-v
wants to merge
45
commits into
microsoft:master
Choose a base branch
from
radium-v:users/radium-v/option-checks
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
571b8c6
fix(anchor-button): ensure tabIndex is set when connected
radium-v b2956d8
fix(avatar): move initials generation out of template
radium-v 8866c4f
refactor(badge): streamline tests for appearance, color, size, and sh…
radium-v cdb0c08
fix(button): update buttonTemplate to use BaseButton type
radium-v 84d225c
fix(button): improve disabled state handling and tabindex management
radium-v 1c150b0
fix(dialog): enhance typeChanged method for better role and aria-moda…
radium-v 5d28c62
fix(dropdown): replace Updates.enqueue with requestIdleCallback and r…
radium-v 49cdc5c
fix(listbox): enhance slot handling and add defaultSlot reference
radium-v f4c2bf9
fix(menu): improve slottedMenuList handling and optimize setComponent…
radium-v b7a27ef
fix(option): update condition for setting form value and aria-selecte…
radium-v 205b090
fix(progress-bar): refactor thickness, shape, and validationState tes…
radium-v 5b1077d
fix(progress-bar): add null checks for elementInternals in value, min…
radium-v 3521066
feat(typings): add isCustomElement type guard for custom element tag …
radium-v dc12dbf
feat(radio): add isRadio function to determine radio element validity
radium-v 9bc2ba0
fix(radio): ensure template is set before assertions in radio tests
radium-v 979ed71
fix(radio-group): ensure template is set before assertions and improv…
radium-v 406c630
feat(radio-group): enhance slot handling and add slottedRadios observ…
radium-v beb763a
fix(rating-display): add observable for iconSlot and handle slot changes
radium-v 56119fd
test(slider): add test to prevent value change when dragging inside a…
radium-v a9f1dcd
fix(slider): improve disabled state handling and update related methods
radium-v 55a34cb
feat(tab): enhance accessibility by setting role and aria attributes,…
radium-v 3eb6e4b
fix(tablist): improve tabsChanged method to handle previous and next …
radium-v e6d51ee
test(text): refactor tests to streamline property checks for block, s…
radium-v 721977a
fix(text-input): enhance control label visibility and validity handling
radium-v 9f80428
fix(textarea): improve connectedCallback handling
radium-v 7c10c5d
fix(tree): enhance default slot handling and improve connectedCallbac…
radium-v 22a00da
fix(tree-item): enhance itemSlot change handling and improve tabindex…
radium-v 36a19f2
fix(focusable-element): enhance ARIA disabled element check to includ…
radium-v 6bc84e2
fix(fast-fixture): enhance fixture options and stability handling for…
radium-v 9cea1f6
update docs
radium-v 1320d88
add changefile
radium-v 6f5d9e3
use requestIdleCallback ponyfill
radium-v b1559a0
update doc blocks
radium-v f879ccc
improve fastfixture type definitions and update fixture options handling
radium-v ae9b7bf
fix type and comparison for focusable element function
radium-v 5ee11a5
update indicator property to be optional and add indicatorChanged method
radium-v 72254b0
ensure the trigger and menu list exist before setting up the menu
radium-v 5cfc311
minor stylistic changes
radium-v 1711c89
update label visibility logic in BaseTextInput
radium-v 9be5091
use rAF in waitForConnectedDescendants
radium-v c15e792
streamline dialog attribute updates and ensure proper role assignment
radium-v 54f9efc
replace requestAnimationFrame with Updates.enqueue in progress bar, s…
radium-v 85f4405
refactor disabledChanged method to remove requestAnimationFrame and i…
radium-v 20a28fb
refactor disabledChanged and nameChanged methods to replace requestId…
radium-v f234f64
refactor control element handling to use mutation observer for validi…
radium-v File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-web-components-50437c2d-8cf5-4ddb-87d0-430812690b0b.json
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| { | ||
| "type": "prerelease", | ||
| "comment": "fix: harden component lifecycle for SSR/DSD hydration scenarios", | ||
| "packageName": "@fluentui/web-components", | ||
| "email": "863023+radium-v@users.noreply.github.com", | ||
| "dependentChangeType": "patch" | ||
| } | ||
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.
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.
🕵🏾♀️ visual changes to review in the Visual Change Report
vr-tests-web-components/Badge 1 screenshots
vr-tests-web-components/MenuList 3 screenshots
vr-tests-web-components/RadioGroup 1 screenshots
There were 1 duplicate changes discarded. Check the build logs for more information.