feat(task-card): edit details and output rich-text fields in the UI#79
Merged
Conversation
The task_card editor only exposed title, task_id, status, and sources. Slack's task_card block also accepts rich-text `details` and `output` fields, but the only way to set them was to drop in a palette variant that already included them. Add togglable rich-text sections for both, backed by the existing rich-text editor, with add/remove affordances that map cleanly to the optional payload shape. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
block-kitchen | 2f94f2d | Commit Preview URL Branch Preview URL |
May 20 2026, 09:10 PM |
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Replace the editor's hand-written help strings with the exact phrasing from docs.slack.dev so the menu reads like the upstream reference (task_id, title, status, details, output, sources). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.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
detailsandoutputfields, but the only way to populate them in this builder was to drop in a palette preset that already included them — once added, they couldn't be edited or removed.detailsandoutputto the Task Card editor, backed by the existingRichTextEditor(TipTap WYSIWYG with a structured fallback). Each starts as an "Add details" / "Add output" button when unset, and gains a remove affordance when present, mapping cleanly to the optional fields on the payload.Test plan
pnpm run typecheckpassespnpm testpasses (113/113 non-browser tests; browser tests require local Playwright Chromium)detailsandoutputrich_text payloads.🤖 Generated with Claude Code