Skip to content

Slack: add rich text previews for modal inputs#18472

Closed
Solvely-Colin wants to merge 33 commits into
openclaw:mainfrom
Solvely-Colin:codex/slack-richtext-previews
Closed

Slack: add rich text previews for modal inputs#18472
Solvely-Colin wants to merge 33 commits into
openclaw:mainfrom
Solvely-Colin:codex/slack-richtext-previews

Conversation

@Solvely-Colin

@Solvely-Colin Solvely-Colin commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

Summary

Improves rich text modal input handling by adding concise plain-text previews to normalized interaction payloads.

  • extract text fragments from rich_text_input.rich_text_value
  • include normalized richTextPreview in interaction payload summaries
  • cap previews to a compact length for routing/logging safety
  • use rich text previews as confirmation-row labels when no select/date/value is present
  • add regression tests for preview extraction and truncation behavior

Scope

  • src/slack/monitor/events/interactions.ts
  • src/slack/monitor/events/interactions.test.ts

Validation

  • pnpm test src/slack/monitor/events/interactions.test.ts
  • pnpm check

Dependency

Depends on:

If reviewing before dependencies merge, review tip commit: c1fd873a9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling channel: slack Channel integration: slack size: XL

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants