Repository navigation
docs(react-toast): fix copy defects in the Toast stories and overview - #37135
Open
Jake Salvesen (jakesalvesen) wants to merge 2 commits into
Open
Jake Salvesen (jakesalvesen) wants to merge 2 commits into
Jake Salvesen (jakesalvesen) wants to merge 2 commits into
Conversation
Jake Salvesen (jakesalvesen)
force-pushed
the
docs/toast-story-copy
branch
2 times, most recently
from
November 12, 2026 04:38
2e50bd9 to
c97742c
Compare
Jake Salvesen (jakesalvesen)
force-pushed
the
docs/toast-story-copy
branch
from
November 20, 2026 08:51
c97742c to
64bd9b8
Compare
Contributor
Author
|
Update: I had missed a second unclosed backtick, in |
Seventeen copy defects across ten story files, all in the text users read on the docs site. No behavior changes. Misspellings and duplicated words: - `unounted` for `unmounted` in the lifecycle stages - `will will play` in PauseAndPlay - `toats` for `toasts` in DismissToast - `overriden` twice, in DefaultToastOptions and Intent - British spelling of `color` in Intent, since the docs are US English - `remove` for `remote` in ProgressToast, in "any state or remote data sources" Malformed sentences: - `this is instance if the toast limit is not reached` for `this is instant if` - `Developers can be define a shortcut` for `can define` - `a toasts in a single position` for `a toast` - `dismiss to the toast` for `dismiss the toast` - `We do not recommend to use` for `We do not recommend using` Punctuation: - `visible toast . This example`, a space before the period - `>intent determines`, missing the space after the blockquote marker - `the`politeness` option`, missing the space before the inline code - `using `dispatchToast` had no closing backtick, so the code span ran to the end of the line - `with a `ToastTrigger``, a double space before the inline code in DismissToastWithAction
…ew and DismissAll story
Jake Salvesen (jakesalvesen)
force-pushed
the
docs/toast-story-copy
branch
from
November 23, 2026 19:38
64bd9b8 to
7e111dc
Compare
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the Toast documentation copy and Markdown cleanup.
No open issues 🎉
What changed in this PR
This PR corrects copy and Markdown formatting in Fluent UI v9 Toast documentation. Changes are limited to story descriptions and the overview; component behavior and APIs remain unchanged.
Changes:
- Fix spelling, grammar, duplicated words, and spacing.
- Close code spans around
dispatchToastanddismissAllToasts. - Standardize “color” and “center” to American English.
| File | Description |
|---|---|
packages/react-components/react-toast/stories/src/Toast/ToastPositions.stories.tsx |
Correct recommendation wording. |
packages/react-components/react-toast/stories/src/Toast/ToastLifecycle.stories.tsx |
Correct lifecycle description typos. |
packages/react-components/react-toast/stories/src/Toast/ToastDescription.md |
Fix overview grammar and spelling. |
packages/react-components/react-toast/stories/src/Toast/ProgressToast.stories.tsx |
Correct remote-data and dismissal wording. |
packages/react-components/react-toast/stories/src/Toast/PauseAndPlay.stories.tsx |
Remove duplicated “will.” |
packages/react-components/react-toast/stories/src/Toast/Offset.stories.tsx |
Correct “a toasts” to “a toast.” |
packages/react-components/react-toast/stories/src/Toast/Intent.stories.tsx |
Fix spelling and Markdown spacing. |
packages/react-components/react-toast/stories/src/Toast/FocusKeyboardShortcut.stories.tsx |
Correct grammar and punctuation spacing. |
packages/react-components/react-toast/stories/src/Toast/DismissToastWithAction.stories.tsx |
Remove a double space. |
packages/react-components/react-toast/stories/src/Toast/DismissToast.stories.tsx |
Correct “toats” to “toasts.” |
packages/react-components/react-toast/stories/src/Toast/DismissAll.stories.tsx |
Close the dismissAllToasts code span. |
packages/react-components/react-toast/stories/src/Toast/DefaultToastOptions.stories.tsx |
Fix “overridden” and close the dispatchToast code span. |
Review effort: Balanced
This branch has not been deployed
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.
Previous Behavior
The Toast story descriptions and the Toast overview page had typos and punctuation defects in 19 lines across 12 files. Examples are
overriden,unounted,will will,A Toasts displays, a missing space beforepoliteness, and two code spans, afterdispatchToastand arounddismissAllToasts, that were never closed.New Behavior
The same text with those fixed. Only description strings and the overview Markdown change. There is no code, behavior or API change.
unounted,toats,overriden(twice), a duplicatedwill, andcolourandcentre, which were the only British spellings in the Toast stories.remove data sourcestoremote data sources(the story's own code comment saysstate/remote data),this is instancetothis is instant,can be definetocan define,a toaststoa toast,dismiss to the toasttodismiss the toast,recommend to usetorecommend using,A Toasts displaystoA Toast displays,a applicationtoan application, andafter the toast dismissedtoafter the toast is dismissed.dispatchToastanddismissAllToasts, because an unclosed backtick renders as a literal backtick. Added the missing space beforepoliteness, and removed a stray space before a period and a double space. Added the space after>in theIntentnote, which renders the same either way.Not changed:
Intentnote stay in one blockquote, which is how they render today.No change file is needed.
@fluentui/react-toast-storiesis private and only stories change.prettier --checkandreact-toast-stories:lintpass.Related Issue(s)
None. I found these in a copy review of the package.