BACKGROUND:
In a conversation about how to show messages in Hypar, we decided to create a ShortMessage property on Message to allow developers to represent an error with a short message, even a single character like an emoji.
DESCRIPTION:
This PR adds a ShortMessage property to Message, and adds three static constructors to Message which set the short message for various message types to emojis representing information, warning, and error.
BACKGROUND: In a conversation about how to show messages in Hypar, we decided to create a
ShortMessage
property onMessage
to allow developers to represent an error with a short message, even a single character like an emoji.DESCRIPTION: This PR adds a
ShortMessage
property toMessage
, and adds three static constructors toMessage
which set the short message for various message types to emojis representing information, warning, and error.REQUIRED:
CHANGELOG.md
.This change is