Support description of mrkdwn type in OptionObject
维护者通常 1 天内回复
评估
调研方向
从 com.slack.api.model.block.composition.OptionObject 开始,检查其 description 是如何表示和反序列化的。验证 type 为 mrkdwn 以及 plain_text 的 option description 的模型行为,并通过在不进行有损强制转换的情况下保留这两种形式来表明实现已完成。
由索引模型根据 Issue 内容生成。
描述
Need to read options in a checkbox from Slack using the Java SDK. Currently, description text objects inside an option are always coerced into a PlainTextObject even if their type property is set to mrkdwn.
Category (place an x in each of the [ ])
- bolt (Bolt for Java)
- bolt-{sub modules} (Bolt for Java - optional modules)
- slack-api-client (Slack API Clients)
- slack-api-model (Slack API Data Models)
- slack-api-*-kotlin-extension (Kotlin Extensions for Slack API Clients)
- slack-app-backend (The primitive layer of Bolt for Java)
Requirements
Slack supports options with description text objects that use mrkdwn type. The SDK coerces them into a PlainTextObject, resulting in a lossy translation.
Consider changing the description field in the com.slack.api.model.block.composition.OptionObject to a com.slack.api.model.block.composition.TextObject so it can support either plain text or markdown.
- 主要语言
- Java
- 星标
- 602
- 派生
- 235
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
slackapi/java-slack-sdk 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
slackapi/java-slack-sdk#1653 · 1 条评论 ·
维护者通常 1 天内回复
-
Upgrade Jetty可能已有人在做 @skrcode 于 40 天前认领。 未关闭auto-triage-skip dependencies good first issue
难度 4/5 3-5 天 新手友好度 45/100
slackapi/java-slack-sdk#1567 · 4 条评论 ·
维护者通常 1 天内回复
-
auto-triage-skip discussion enhancement
难度 3/5 1-2 天 新手友好度 35/100
slackapi/java-slack-sdk#1535 · 5 条评论 ·
维护者通常 1 天内回复
-
auto-triage-skip question untriaged
难度 5/5 一周以上 新手友好度 25/100
slackapi/java-slack-sdk#1528 · 7 条评论 ·
维护者通常 1 天内回复
-
auto-triage-skip dependencies project:slack-api-client project:slack-app-backend
难度 4/5 3-5 天 新手友好度 48/100
slackapi/java-slack-sdk#1500 · 11 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
查看 slackapi/java-slack-sdk 的全部 Issue
相似的 Issue
-
BoxAttachmentMulti parsing leaks IOException / ArrayIndexOutOfBoundsException on malformed content instead of IllegalArgumentException可能已有人在做 @Kshot3000 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100
ergoplatform/ergo-appkit#272 ·
-
难度 2/5 1-3 小时 新手友好度 64/100
-
难度 2/5 1-3 小时 新手友好度 66/100
-
难度 2/5 1-3 小时 新手友好度 64/100
utopia-rise/godot-jvm#1004 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
spring-projects/spring-grpc#442 ·