Add markdown action buttons reference page#1504
Conversation
|
Newest code from mattermost has been published to preview environment for Git SHA 5628d52 |
|
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR adds comprehensive documentation for the Mattermost markdown action buttons feature. It includes an overview subsection in the interactive messages guide and a complete reference page covering syntax, registry structure, payload examples, validation limits, error codes, and security considerations. ChangesMarkdown Action Buttons Documentation
🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
larkox
left a comment
There was a problem hiding this comment.
The docs feel a bit too verbose, but that may be a personal preference. Apart of that, LGTM.
|
Newest code from mattermost has been published to preview environment for Git SHA 5534512 |
Summary
Documents the new markdown action buttons interactive surface, where an
inline post-markdown link using
mmaction://<id>plus a matchingmm_blocks_actionspost prop dispatches a post action to theintegration's endpoint — an alternative to message-attachment buttons.
This is the developer-facing reference for the feature; framed as one
binding surface in a broader Interactive Messages framework so it can
sit alongside additional surfaces / action types without needing a
rewrite.
Changes
site/content/integrate/reference/markdown-actions/_index.md— canonical reference page (weight 45, slotted between
message-attachmentsandmessage-priority). Covers use cases,example payload, REST + plugin submission examples,
mmaction://link syntax,
mm_blocks_actionsschema and types, click-dispatchflow, callback shape, validation limits, error reference, and
security considerations.
site/content/integrate/plugins/interactive-messages/_index.md— added a short "Markdown action buttons" section near the top
cross-linking to the canonical reference so plugin authors discover
the new surface from the existing interactive-messages page.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-68387