feat(react-shared-contexts): add AnnounceContext#28654
Merged
emmayjiang merged 7 commits intomicrosoft:masterfrom Jul 31, 2023
emmayjiang:create-announce-context
Merged
feat(react-shared-contexts): add AnnounceContext#28654emmayjiang merged 7 commits intomicrosoft:masterfrom emmayjiang:create-announce-context
emmayjiang merged 7 commits intomicrosoft:masterfrom
emmayjiang:create-announce-context
Conversation
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| InfoButton | mount | 9 | 15 | 5000 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 633 | 628 | 5000 | |
| Button | mount | 311 | 292 | 5000 | |
| Field | mount | 1072 | 1087 | 5000 | |
| FluentProvider | mount | 652 | 671 | 5000 | |
| FluentProviderWithTheme | mount | 83 | 95 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 82 | 77 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 90 | 88 | 10 | |
| InfoButton | mount | 9 | 15 | 5000 | Possible regression |
| MakeStyles | mount | 841 | 866 | 50000 | |
| Persona | mount | 1683 | 1647 | 5000 | |
| SpinButton | mount | 1327 | 1336 | 5000 |
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
smhigley
reviewed
Jul 26, 2023
packages/react-components/react-shared-contexts/src/AnnounceContext/AnnounceContext.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-shared-contexts/src/AnnounceContext/AnnounceContext.ts
Show resolved
Hide resolved
packages/react-components/react-shared-contexts/src/AnnounceContext/AnnounceContext.ts
Show resolved
Hide resolved
…ntext/AnnounceContext.ts Co-authored-by: Sarah Higley <smhigley@users.noreply.github.com>
layershifter
requested changes
Jul 27, 2023
Member
layershifter
left a comment
There was a problem hiding this comment.
Can you please fill PR description with an explainer of what it does, how will it be used and why it cannot be hosted in FAI?
ling1726
reviewed
Jul 27, 2023
packages/react-components/react-shared-contexts/src/AnnounceContext/AnnounceContext.ts
Outdated
Show resolved
Hide resolved
ling1726
reviewed
Jul 27, 2023
packages/react-components/react-shared-contexts/src/AnnounceContext/AnnounceContext.ts
Outdated
Show resolved
Hide resolved
ling1726
reviewed
Jul 27, 2023
packages/react-components/react-shared-contexts/src/AnnounceContext/AnnounceContext.ts
Outdated
Show resolved
Hide resolved
ling1726
reviewed
Jul 27, 2023
layershifter
approved these changes
Jul 31, 2023
…ntext/AnnounceContext.ts Co-authored-by: ling1726 <lingfangao@hotmail.com>
|
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 22bd5c5:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 58c60bce83efdf5811adb73c4f2f9b1950109fbf (build) |
smhigley
approved these changes
Jul 31, 2023
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Aug 1, 2023
* master: (37 commits) release (microsoft#28696) Fixing re-render issue for all charts when empty (microsoft#28321) feat(FluentProvider): emit errors on duplicate IDs (microsoft#28670) applying package updates fix(react-positioning): autoSize causing position update to reach maximum (microsoft#28689) fix(react-tags-preview): fix InteractionTag hover styles (microsoft#28686) Accordion: export AccordionHeaderProvider (microsoft#28542) feat(react-shared-contexts): add AnnounceContext (microsoft#28654) Added VR tests for Breadcrumb (microsoft#28653) fix(react-menu): use outline for menuItem focus ring (microsoft#28685) [Bug]: Tree, vertical spacing of branches and children is inconsistent (microsoft#28681) feaTt(react-tree): adds openItems and checkedItems to tree callback data (microsoft#28669) applying package updates Add mountNode prop to combos (microsoft#28661) react-tags-preview: add more vr test (microsoft#28582) chore: migrate to nx 16.1.4 (microsoft#28583) applying package updates chore: improves internal headless signature (microsoft#28651) fix: remove margin from icon when ToolbarButton is vertical (microsoft#28658) applying package updates ...
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
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 AnnounceContext for use in FAI.
This context is a top-level screen reader notification utility that can be consumed by any component and used to fire on-demand screen reader announcements.
With something as complex as chat, and especially with loading messages and uploading files, we need a way to manage and queue custom screen reader notifications. Chat messages especially need the ability to have the screen reader notification text differ from the visual text on screen, since the visual text of a message often contains more information than is necessary in a notification.
We are hosting it in FUI instead of FAI because we eventually want it in FUI, and having the context be imported from there means we won’t have to change the import every place it’s used.