feat: Exodus fork + community contributions#142
Open
james-gre wants to merge 17 commits intoraycharius:mainfrom
Open
feat: Exodus fork + community contributions#142james-gre wants to merge 17 commits intoraycharius:mainfrom
james-gre wants to merge 17 commits intoraycharius:mainfrom
Conversation
Introduces support for Slack's rich text blocks and elements, including new Bits (RichTextSection, RichTextList, RichTextQuote, RichTextPreformatted, RichTextText, RichTextEmoji, RichTextLink, RichTextUser, RichTextChannel, RichTextUsergroup, RichTextBroadcast, RichTextDate, RichTextColor, RichTextTeam), Blocks (RichText, Markdown, Table, ContextActions), and Elements (WorkflowButton, IconButton, FeedbackButtons, RichTextInput). Updates documentation, constants, and tests to cover all new features and objects.
Replaces all references to api.slack.com in documentation and source code with docs.slack.dev, ensuring all links point to the new Slack API documentation domain.
Replaces outdated Slack Block Kit documentation URLs with current, more specific links throughout bits, blocks, and elements modules.
…text element properties, and add related validations.
Cherry-picked from PR raycharius#130 with bug fixes: - Fixed duplicate UnfurlLinks enum key (should be UnfurlMedia) - Fixed unfurlMedia method using wrong Prop (UnfurlLinks → UnfurlMedia) - Fixed unfurl-media.ts test using wrong Prop references Closes raycharius#119
- RichTextList now defaults style to 'bullet' (required field per Slack API) - Restore @internal JSDoc on build() method to hide from public types Bumps version to 2.9.3
…rius#135) - Hide Previous button on first page - Hide Next button on last page - Updated tests to reflect new behavior Implements upstream PR raycharius#135 by @ckersey2
- Add Timezone method mixin - Add timezone prop constant - Add timezone to TimePickerBuilder interface - Add timezone to TimePickerParams Implements upstream Issue raycharius#137 by @melchii
Author
|
Claude Code really made a mess of this one, good stuff. I take full blame. Anyway, hopefully this helps people get up to speed with the latest from slack in one simple PR ... maybe @raycharius finds it convenient. I'm not sure if another fork has superceded this one but this project is really slick and critical and want to keep it up to date. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR brings contributions from the Exodus fork, building upon work from the community including PR #140 by @udivankin.
162 files changed, 4,180 insertions(+), 268 deletions(-)
New Blocks (4)
New Elements (5)
timezoneparameter for IANA timezone stringsNew Bits (14 RichText components)
All the building blocks for constructing rich text content:
RichTextSection- Container for inline rich text elementsRichTextList- Ordered/unordered lists with customizable style and indentRichTextQuote- Block quotesRichTextPreformatted- Code blocksRichTextText- Styled text with bold, italic, strike, code formattingRichTextLink- Hyperlinks with optional text and stylingRichTextEmoji- Emoji elements by nameRichTextUser- User mentionsRichTextUsergroup- Usergroup mentionsRichTextChannel- Channel mentionsRichTextTeam- Team mentions with optional highlightRichTextBroadcast- @here, @channel, @everyone mentionsRichTextDate- Formatted dates with optional link and fallbackRichTextColor- Colored text elementsOther Additions
Markdown Helper
Md.date(timestamp, format, link?, fallback?)- Format Unix timestamps with Slack's date formattingMessage Surface
unfurlLinks(bool)- Control URL preview expansionunfurlMedia(bool)- Control media preview expansionPaginator Refinement (PR #135)
Documentation
Complete documentation added for all new components in
docs/:Tests
Full test coverage for all additions:
Credits
Breaking Changes
None - all additions are backwards compatible.