slack_send_message_draft card flips back to the draft after a successful Send
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 69/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, react
Research direction
Find the slack_send_message_draft card view and inspect its connect effect, bridge initialization, and message listeners. Reproduce in an MCP Apps host that resends tool input after initialized, then verify a successful Send remains on “Message sent” and preserves edited text; the issue does not name a file or test.
Written by the indexing model from the issue text.
Description
Plugin version
n/a: hosted Slack MCP server, used directly without the plugin
Client
Other (please describe below)
Client version
Web-based MCP Apps host (iframe), not Claude Code or Cursor
Operating System
Browser (Chromium), any OS
Description
🤖 Bug in the Slack MCP draft card (slack_send_message_draft view): after a successful Send it can flip back to the unsent draft. The view's connect effect runs again on every status change ([channelId, status, widgetId]). Each run makes a new bridge, sends ui/initialize and initialized again, and never removes the old message listeners. A listener created while the status was still "loading" calls setStatus("draft") on any later tool-input notification, so any host that sends the tool input again after a repeat initialized knocks the card from "Message sent" back to the draft and overwrites the edited text. Suggested fix: connect once (an empty dependency list), or return a cleanup that removes the listeners. We've worked around it on our host, so this is for other hosts and for tidiness.
Steps to reproduce
- Call slack_send_message_draft. 2. Show its draft card in an MCP Apps host that sends the tool input again after each initialized. 3. Click Send.
Expected result
The card shows "Message sent" and stays there.
Actual result
The card goes from sending to draft to "Message sent" and back to the draft, and any edited text is replaced by the original.
Anything else?
No response
- Dominant language
- Python
- Stars
- 173
- Forks
- 46
- Avg merge
- 1d 47m
- Merged PRs (30d)
- 38
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slackapi/slack-skills-plugin
-
create-slack-app: setting the AI provider API key ends in a manual .env editPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
slackapi/slack-skills-plugin#187 ·
Maintainers usually reply within 1 day
-
/slack:standup never searches DMs or private channelsPossibly taken @ppetriuk claimed this 65 days ago. Openarea:skills bug
Difficulty 1/5 Under an hour Newbie friendliness 88/100
slackapi/slack-skills-plugin#157 ·
Maintainers usually reply within 1 day
-
`slack_read_thread` parameter named `message_ts` instead of `thread_ts`Possibly taken @WilliamBergamin claimed this 127 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
slackapi/slack-skills-plugin#57 · 5 comments ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 57/100
slackapi/slack-skills-plugin#255 ·
Maintainers usually reply within 1 day
-
area:cursor area:mcp bug question
Difficulty 4/5 3-5 days Newbie friendliness 43/100
slackapi/slack-skills-plugin#251 · 3 comments ·
Maintainers usually reply within 1 day
All issues in slackapi/slack-skills-plugin
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bad-antics/lateralus-lang#1623 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
fossguild/thelifesnake#82 ·
Maintainers usually reply within 1 day
-
Unfitted DialectClassifier crashes with a confusing ValueError: raise a clear "not fitted" errorOpengood first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
omarelshamy25x/shamy-arabic-nlp#111 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
pietbarber/Manage2Soar#1189 ·
Maintainers usually reply within 1 day
-
BUG: write_netcdf fails on Tutorial 3 BEM output with pandas CategoricalDtype DOF coordinatesPossibly taken @dtgaebe claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
sandialabs/WecOptTool#467 ·