-
Notifications
You must be signed in to change notification settings - Fork 662
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rich text types #1643
Add rich text types #1643
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @chrisronline left a few comments, and also rebased your branch with the latest main
now that I fixed the build 😅 . Also our CI failed, I guess it doesn't like using object
type and wants to use Record<string, any>
or some such.
b5b4963
to
b374882
Compare
… used to compose rich text messages. Add incremental RichTextBlock, Section and List.
b374882
to
77b8fa9
Compare
77b8fa9
to
a09e25f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I redid a lot of stuff in here so this approval shouldn't count for much.
BTW I integrated this with the web-api and bolt-js projects and all the tests passed OK 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Love the degree of commenting; makes everything super clear!
Summary
This PR adds types for the
rich_text
block and many rich text elements, with the main one beingrich_text_input
, but many others that make up rich text messages (text, links, user/channel/group mentions, preformatted text, quotes, lists - everything in the message composer).