docs: guides section#717
Open
hejsztynx wants to merge 3 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Guides section to the Docusaurus docs with interactive/tutorial-style pages demonstrating more complete, real-world patterns (mentions pickers, emoji picker via mentions, and native context menu customization), replacing placeholder guide pages.
Changes:
- Added two new interactive example components for guides: user/channel mention picker and emoji picker.
- Added new MDX guide pages for user/channel mentions and emojis, wired to live interactive examples (Preview/Code).
- Replaced the placeholder “Custom context menu” page with a full native-only guide and removed other placeholder guide stubs.
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/src/examples/MentionOnlyEditor.tsx | New interactive example implementing @/# mention pickers for the Guides section. |
| docs/src/examples/EmojiEditor.tsx | New interactive example implementing an emoji picker using mention mechanics (:). |
| docs/docs/guides/user-and-channel-mentions.mdx | New guide page explaining how to build user/channel mentions with a picker + live example embed. |
| docs/docs/guides/emojis.mdx | New guide page explaining emoji insertion via mentions + live example embed. |
| docs/docs/guides/custom-context-menu.md | Replaced placeholder with a full guide and example snippet for contextMenuItems (native-only). |
| docs/docs/guides/mention-only-input.md | Removed placeholder stub page. |
| docs/docs/guides/emojis.md | Removed placeholder stub page (replaced by .mdx). |
| docs/docs/guides/chat-input-with-images.md | Removed placeholder stub page. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.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
Added the
Guidessection to the docs. Aside from basic tutorials that taught general features in theRich text formattingsection, this section present 3 tutorials:I tested the same code in an RN app - everything works nicely, the code is portable