Skip to content

Commit

Permalink
Update content/ui-patterns/degraded-experiences.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Natalya Shelburne <[email protected]>
  • Loading branch information
mperrotti and tallys authored Nov 30, 2023
1 parent 11e3418 commit 30c667a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/ui-patterns/degraded-experiences.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Before making a decision about how to handle UI with unavailable content, check

### Replacing UI with a message

We don't want users to think they've suffered data loss. If we know a user created something, don't show a generic "empty state". It's better to explain that it's unavailable, or remove the entire section from the page (including the section's heading). For example, I might think my repositories were deleted if I'm on an organization page (like [https://github.com/primer/](https://github.com/primer/)) and the repositories aren't listed there.
We don't want users to think they've suffered data loss. Instead of a generic "empty state, it is better to explain that it's unavailable, or remove the entire section from the page (including the section's heading). For example, as a user, I might think my repositories were deleted if I am on an organization page (like [https://github.com/primer/](https://github.com/primer/)) and the repositories aren't listed there.

<img
width="960"
Expand Down

0 comments on commit 30c667a

Please sign in to comment.