Skip to content

Fix #698 Check fallback in attachments for missing fallback text warning - #707

Merged
seratch merged 1 commit into
slackapi:mainfrom
seratch:issue-698-fallback-warning
Mar 15, 2021
Merged

Fix #698 Check fallback in attachments for missing fallback text warning#707
seratch merged 1 commit into
slackapi:mainfrom
seratch:issue-698-fallback-warning

Conversation

@seratch

@seratch seratch commented Mar 15, 2021

Copy link
Copy Markdown
Contributor

This pull request fixes #698 by adding a new validation that verifies the existence of fallback field in attachments in a message.

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

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

@seratch seratch added enhancement M-T: A feature request for new functionality project:slack-api-client project:slack-api-client labels Mar 15, 2021
@seratch seratch added this to the 1.7.0 milestone Mar 15, 2021
@seratch
seratch requested review from mwbrooks and stevengill March 15, 2021 00:58
@seratch seratch self-assigned this Mar 15, 2021
@codecov

codecov Bot commented Mar 15, 2021

Copy link
Copy Markdown

Codecov Report

Merging #707 (8cfc6e2) into main (6672b45) will increase coverage by 0.11%.
The diff coverage is 91.66%.

Impacted file tree graph

@@             Coverage Diff              @@
##               main     #707      +/-   ##
============================================
+ Coverage     77.06%   77.17%   +0.11%     
- Complexity     3235     3245      +10     
============================================
  Files           363      363              
  Lines          9627     9656      +29     
  Branches        918      923       +5     
============================================
+ Hits           7419     7452      +33     
+ Misses         1661     1658       -3     
+ Partials        547      546       -1     
Impacted Files Coverage Δ Complexity Δ
...java/com/slack/api/methods/RequestFormBuilder.java 89.64% <91.66%> (+0.07%) 274.00 <37.00> (+7.00)
.../com/slack/api/methods/impl/MethodsClientImpl.java 84.84% <0.00%> (+0.44%) 484.00% <0.00%> (+2.00%)
...va/com/slack/api/socket_mode/SocketModeClient.java 69.73% <0.00%> (+1.97%) 38.00% <0.00%> (+1.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 6672b45...8cfc6e2. Read the comment docs.

@seratch
seratch force-pushed the issue-698-fallback-warning branch from 496d09d to 8cfc6e2 Compare March 15, 2021 02:16

@mwbrooks mwbrooks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me and tests pass on my local system!

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-client project:slack-api-client

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check fallback in attachments for missing fallback text warning

2 participants