refactor(block-kit): remove nested rich_text block example in favor of standalone elements - #248
Draft
zimeg wants to merge 1 commit into
Draft
refactor(block-kit): remove nested rich_text block example in favor of standalone elements#248zimeg wants to merge 1 commit into
zimeg wants to merge 1 commit into
Conversation
…f standalone elements The rich_text block example (blocks/rich_text) duplicated the standalone rich-text element examples (elements/rich_text_*), which the docs reference pages now pin to directly. Every nested exampleNN is reproduced by a standalone element example, so this is pure deduplication with no loss of demonstrated coverage: - example01 -> rich_text_section - example02/03 -> rich_text_list - example04 -> rich_text_preformatted - example05 -> rich_text_quote - example06-13 (broadcast/color/channel/date/emoji/link/user/usergroup) -> the respective standalone element examples The rich-text-block reference page is prose-only and references no example file, so removing this changes no docs reference. Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
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
Removes the nested
rich_textblock example (blocks/rich_text) from the block-kit examples, keeping the standalone rich-text element examples (elements/rich_text_*) that the docs reference pages now point at directly.Why
The docs
rich_textelement reference pages (section / list / preformatted / quote / input) each pin their SDK example tabs to the standaloneelements/rich_text_*files. Therich_textblock page is prose-only and references no example file. The nestedblocks/rich_textexample was a full duplicate of those standalone element examples — kept provisionally until the docs landed pinning to the standalone files (they did, via slackapi/docs#795).Every nested
exampleNNis reproduced by a standalone element example (verified payload-for-payload), so this is pure deduplication, no loss of demonstrated coverage:rich_text_sectionrich_text_listrich_text_preformattedrich_text_quoteChanges
block-kit/README.md(the five rich-text element rows stay — they point at the surviving standalone files)Tests green with the example removed.