No records matched your filter criteria. (data table filter result) #943
-
Hello, Any guidance on if we should / can use warning alert to show "No records matched your filter criteria." for data table query? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hey @ishah-twilio - the Alert component should generally be reserved for system-level notifications, as specified in the docs. Since this is not a system-level notification, I wouldn't recommend using the Alert. We don't have a pattern for this defined yet, so I would encourage you to see how this is being handled in other parts of the product. I suspect a composition using Card would work for you, as this is effectively an empty state. |
Beta Was this translation helpful? Give feedback.
-
Thank you @katieporter . Looked at messaging insights examples -- and updated based on your recommendation. |
Beta Was this translation helpful? Give feedback.
Hey @ishah-twilio - the Alert component should generally be reserved for system-level notifications, as specified in the docs. Since this is not a system-level notification, I wouldn't recommend using the Alert.
We don't have a pattern for this defined yet, so I would encourage you to see how this is being handled in other parts of the product. I suspect a composition using Card would work for you, as this is effectively an empty state.