-
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
chore(react-persona): Add vr, conformance, and unit tests #25007
Merged
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
|
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 d4ebb41:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 93f154ac2821be1fd408fa98943a641f9d3dc464 (build) |
khmakoto
approved these changes
Sep 29, 2022
packages/react-components/react-persona/src/components/Persona/usePersona.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-persona/src/components/Persona/Persona.test.tsx
Outdated
Show resolved
Hide resolved
behowell
reviewed
Sep 29, 2022
packages/react-components/react-persona/src/components/Persona/Persona.test.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-persona/src/components/Persona/Persona.test.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-persona/src/components/Persona/usePersona.ts
Outdated
Show resolved
Hide resolved
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 1302 | 1305 | 5000 | |
Button | mount | 947 | 949 | 5000 | |
FluentProvider | mount | 1585 | 1590 | 5000 | |
FluentProviderWithTheme | mount | 619 | 626 | 10 | |
FluentProviderWithTheme | virtual-rerender | 583 | 608 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 633 | 622 | 10 | |
MakeStyles | mount | 1906 | 1941 | 50000 | |
SpinButton | mount | 2528 | 2493 | 5000 |
behowell
approved these changes
Oct 3, 2022
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Oct 5, 2022
* master: (62 commits) chore(migrate-converged): add functionality to execute various v9 package file restructuring tasks (microsoft#24458) chore(react-dialog): updates stories (microsoft#25070) refactor Progress to remove label and description slots (microsoft#25067) fix(SplitButton): Remove borders from hover and pressed state in primary split buttons (microsoft#25059) chore(react-persona): Add vr, conformance, and unit tests (microsoft#25007) (docs): update Icon docs with examples (microsoft#24768) Split button/primary hc fix (microsoft#25066) chore(react-utilities): restricts trigger API types (microsoft#25044) Add utilities export @fluentui/style-utilities v8 (microsoft#25065) chore: migrate whole repo to webpack 5 (microsoft#24542) applying package updates BREAKING: refactor `useTable` to be composable (microsoft#24947) Added shims to shim packages (microsoft#25048) Add Progress SPEC (microsoft#24418) applying package updates chore(react-persona): Add bundle-size command for bundle-size fixtures (microsoft#25055) fix(Button): Remove margin added to buttons by Safari (microsoft#25052) fix: Menu triggers no longer take focus when they are mounted (microsoft#25016) chore: deletes react-trigger package (microsoft#25042) Fixed a minor typo: immmediately => immediately (microsoft#25036) ...
NotWoods
pushed a commit
to NotWoods/fluentui
that referenced
this pull request
Nov 18, 2022
…25007) * adding tests * fixing test * fixing stories wrapper * adding more examples * updating wrapper * cleaning up imports * adding requested changeS * change file
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.
This PR adds the following:
Previous behavior
Persona does not add Persona's presence className to the Avatar's badge when both the avatar and presence are provided.
New behavior
Persona now adds the className to Avatar's badge when both avatar and presence are provided.
Related Issue(s)
Fixes #24859