Skip to content
This repository was archived by the owner on Jul 7, 2025. It is now read-only.

Commit 2d5a368

Browse files
pksjcecamertron
andauthored
Update degraded-experiences.mdx (#678)
* Update degraded-experiences.mdx * Update content/ui-patterns/degraded-experiences.mdx Co-authored-by: Cameron Dutro <[email protected]> --------- Co-authored-by: Cameron Dutro <[email protected]>
1 parent ce6ba33 commit 2d5a368

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/ui-patterns/degraded-experiences.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ Be mindful that rendering too many error messages on the page in `fg.warning` co
171171
src="https://github.com/primer/design/assets/2313998/d3b0f293-64fc-4bd5-94af-041d92090874"
172172
/>
173173

174-
If the affected area is large enough, replace the affected UI with a [blankstate](/components/blankslate) component that explains why the expected UI isn't there.
174+
If the affected area is large enough, replace the affected UI with a [blankslate](/components/blankslate) component that explains why the expected UI isn't there.
175175

176176
#### Dialogs (modal and non-modal)
177177

178-
If the content of a dialog is not critical and cannot be rendered, prevent the dialog from even being opened. For non-critical dialogs that appear on hover, remove the hover interaction. For non-critical dialogs that appear on click, remove the button that triggers the dialog. For example, if a user's profile data cannot is unavailable, don't show a hovercard when their avatar is hovered.
178+
If the content of a dialog is not critical and cannot be rendered, prevent the dialog from even being opened. For non-critical dialogs that appear on hover, remove the hover interaction. For non-critical dialogs that appear on click, remove the button that triggers the dialog. For example, if a user's profile data is unavailable, don't show a hovercard when their avatar is hovered.
179179

180180
If the dialog is a core part of a workflow, replace the content of the dialog with a message explaining why the expected UI isn't there. If you're using a dialog component that supports error states (for example, [select panel](/components/select-menu#select-panel)), follow the component's guidelines for rendering error messages.
181181

@@ -185,7 +185,7 @@ If the dialog is a core part of a workflow, replace the content of the dialog wi
185185
src="https://github.com/primer/design/assets/2313998/653cc04b-e88e-4235-8c04-47b8dba57351"
186186
/>
187187

188-
If you're not using a component that supports error states, replace the content of the dialog with a [blankstate](/components/blankslate) component explaining why the expected UI isn't there.
188+
If you're not using a component that supports error states, replace the content of the dialog with a [blankslate](/components/blankslate) component explaining why the expected UI isn't there.
189189

190190
<img
191191
width="960"

0 commit comments

Comments
 (0)