Skip to content

Commit

Permalink
Merge pull request #2327 from Teradata/knapsack/OWOrjRQqam
Browse files Browse the repository at this point in the history
Errors_pattern by a294b47d-f9d4-4e14-b3ea-d7c3baed977f
  • Loading branch information
knapsack-cloud[bot] authored Jan 15, 2025
2 parents 2c699e8 + 581d12a commit 6ce6de5
Show file tree
Hide file tree
Showing 18 changed files with 784 additions and 490 deletions.
6 changes: 3 additions & 3 deletions apps/knapsack/data/blocks/block.1-RLsl7Jhv.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "paragraph",
"content": [
{
"text": "Use modals sparingly to avoid disrupting user flow.",
"text": "Use modals only when the user's greatly inconvenienced in a high-severity situation.",
"type": "text"
}
]
Expand All @@ -32,7 +32,7 @@
"type": "paragraph",
"content": [
{
"text": "Include clear actions like “Retry” or “Close” buttons.",
"text": "Make modals accessible for keyboard and screen reader users.",
"type": "text"
}
]
Expand All @@ -46,7 +46,7 @@
"type": "paragraph",
"content": [
{
"text": "Make modals accessible for keyboard and screen reader users.",
"text": "Ensure the modal is centered, with focus trapped within it until resolved.",
"type": "text"
}
]
Expand Down
32 changes: 0 additions & 32 deletions apps/knapsack/data/blocks/block.5uPAVOsUif.json

This file was deleted.

32 changes: 29 additions & 3 deletions apps/knapsack/data/blocks/block.7jaO5sktdd.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,33 @@
"type": "paragraph",
"content": [
{
"text": "“Your session has timed out. Please log in again.”",
"text": "Consider communicating ",
"type": "text"
},
{
"text": "what happened",
"type": "text",
"marks": [
{
"type": "bold"
}
]
},
{
"text": " and ",
"type": "text"
},
{
"text": "how to fix it",
"type": "text",
"marks": [
{
"type": "bold"
}
]
},
{
"text": " in the header. It allows you to include the most important information on the top and to cover more details in the supporting text if needed. ",
"type": "text"
}
]
Expand All @@ -30,7 +56,7 @@
"type": "paragraph",
"content": [
{
"text": "“Error detected.”",
"text": "Don't be wordy. For example, use a link and succinct text to keep the entire message to 2 lines (including the header). ",
"type": "text"
}
]
Expand All @@ -40,7 +66,7 @@
}
],
"tileStyles": {
"imageSize": "xsmall",
"imageSize": "none",
"headerBeforeImage": true
}
},
Expand Down
Loading

0 comments on commit 6ce6de5

Please sign in to comment.