Skip to content

Update composition.OptionObject to have mrkdwn for some cases#437

Merged
seratch merged 1 commit intoslackapi:masterfrom
seratch:option-text
Apr 20, 2020
Merged

Update composition.OptionObject to have mrkdwn for some cases#437
seratch merged 1 commit intoslackapi:masterfrom
seratch:option-text

Conversation

@seratch
Copy link
Copy Markdown
Contributor

@seratch seratch commented Apr 20, 2020

Summary

This pull request changes the type of option.text in Block elements to accept not only plain_text but mrkdwn for radion_buttons and checkboxes. As the TextObject is a super type of PlainTextObject, this change is backward-compatible for both source and binary compatibility.

Reference: https://api.slack.com/reference/block-kit/composition-objects#option

Requirements (place an x in each [ ])

@seratch seratch added enhancement M-T: A feature request for new functionality project:slack-api-model project:slack-api-model labels Apr 20, 2020
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2020

Codecov Report

Merging #437 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #437   +/-   ##
=========================================
  Coverage     83.88%   83.88%           
  Complexity     2367     2367           
=========================================
  Files           249      249           
  Lines          6366     6366           
  Branches        578      578           
=========================================
  Hits           5340     5340           
  Misses          672      672           
  Partials        354      354           
Impacted Files Coverage Δ Complexity Δ
...api/model/block/composition/BlockCompositions.java 100.00% <ø> (ø) 12.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 721d1f3...44418d4. Read the comment docs.

@seratch seratch merged commit d821fad into slackapi:master Apr 20, 2020
@seratch seratch deleted the option-text branch April 20, 2020 03:08
@seratch seratch added this to the 1.0.x milestone May 8, 2020
seratch added a commit that referenced this pull request May 8, 2020
* [slack-api-client] #444 okhttp 4.4 -> 4.6 uprgrade (as it's highly recommended) - thanks @seratch
* [slack-api-model] #441 #442 Fix Block Elements' object equality issues - thanks @eamelink
* [slack-api-client] #445 #448 Add admin.usergroups.* API supports - thanks @seratch
* [slack-api-model] #440 Add external data source supports for dialogs - thanks @favalos
* [slack-api-model] #437 Update composition.OptionObject to have mrkdwn - thanks @seratch
* [slack-api-model] Add teams[].team_url to admin.teams.list response - thanks @seratch
* [slack-api-model] #449 Add attachement.author_id - thanks @seratch
* [slack-app-backend] #446 Add channel_count to subteam_created / subteam_updated events - thanks @seratch
* [slack-api-client etc] #444 #450 bump patch versions of AWS SDK, Micronaut, Jetty - thanks @seratch
emanguy pushed a commit to emanguy/java-slack-sdk that referenced this pull request Jun 22, 2020
* [slack-api-client] slackapi#444 okhttp 4.4 -> 4.6 uprgrade (as it's highly recommended) - thanks @seratch
* [slack-api-model] slackapi#441 slackapi#442 Fix Block Elements' object equality issues - thanks @eamelink
* [slack-api-client] slackapi#445 slackapi#448 Add admin.usergroups.* API supports - thanks @seratch
* [slack-api-model] slackapi#440 Add external data source supports for dialogs - thanks @favalos
* [slack-api-model] slackapi#437 Update composition.OptionObject to have mrkdwn - thanks @seratch
* [slack-api-model] Add teams[].team_url to admin.teams.list response - thanks @seratch
* [slack-api-model] slackapi#449 Add attachement.author_id - thanks @seratch
* [slack-app-backend] slackapi#446 Add channel_count to subteam_created / subteam_updated events - thanks @seratch
* [slack-api-client etc] slackapi#444 slackapi#450 bump patch versions of AWS SDK, Micronaut, Jetty - thanks @seratch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement M-T: A feature request for new functionality project:slack-api-model project:slack-api-model

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant