slackapi / java-slack-sdk

Slack Developer Kit (including Bolt for Java) for any JVM language
https://tools.slack.dev/java-slack-sdk/
MIT License
577 stars 214 forks source link

Add workflow_button block element to the Block Kit models #1202

Closed seratch closed 1 year ago

seratch commented 1 year ago

This pull request adds https://api.slack.com/reference/block-kit/block-elements#workflow_button to this SDK

Category (place an x in each of the [ ])

Requirements

Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you agree to those rules.

codecov[bot] commented 1 year ago

Codecov Report

Merging #1202 (8d5944a) into main (fe78899) will decrease coverage by 0.08%. The diff coverage is 82.98%.

@@             Coverage Diff              @@
##               main    #1202      +/-   ##
============================================
- Coverage     75.14%   75.07%   -0.08%     
- Complexity     3997     4014      +17     
============================================
  Files           430      434       +4     
  Lines         12528    12604      +76     
  Branches       1261     1261              
============================================
+ Hits           9414     9462      +48     
- Misses         2362     2389      +27     
- Partials        752      753       +1     
Files Changed Coverage Δ
...otlin_extension/block/ShareShortcutBlockBuilder.kt 64.70% <ø> (ø)
...ension/block/composition/dsl/PlainTextObjectDsl.kt 25.00% <ø> (ø)
...n_extension/block/composition/dsl/TextObjectDsl.kt 60.00% <ø> (ø)
...sion/block/element/EmailTextInputElementBuilder.kt 0.00% <0.00%> (ø)
...tension/block/element/NumberInputElementBuilder.kt 0.00% <0.00%> (ø)
...ension/block/element/URLTextInputElementBuilder.kt 0.00% <0.00%> (ø)
...m/slack/api/util/json/GsonBlockElementFactory.java 73.80% <0.00%> (-1.81%) :arrow_down:
...block/element/ConversationsSelectElementBuilder.kt 48.88% <56.52%> (-4.77%) :arrow_down:
...tlin_extension/block/dsl/ContextBlockElementDsl.kt 55.55% <66.66%> (ø)
...sion/block/element/WorkflowButtonElementBuilder.kt 66.66% <66.66%> (ø)
... and 36 more

... and 2 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more