Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Dialog Select Datasource. #440

Closed
wants to merge 3 commits into from
Closed

Add support for Dialog Select Datasource. #440

wants to merge 3 commits into from

Conversation

favalos
Copy link
Contributor

@favalos favalos commented Apr 30, 2020

Add support for most recent changes to Dialog Select component.

I created an issue to keep track of this change:
Add support for Dynamic Select in Dialogs. #439

@CLAassistant
Copy link

CLAassistant commented Apr 30, 2020

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ favalos
❌ Fernando Avalos


Fernando Avalos seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov
Copy link

codecov bot commented Apr 30, 2020

Codecov Report

Merging #440 into master will increase coverage by 0.00%.
The diff coverage is 90.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #440   +/-   ##
=========================================
  Coverage     83.88%   83.89%           
- Complexity     2367     2369    +2     
=========================================
  Files           249      250    +1     
  Lines          6366     6376   +10     
  Branches        578      578           
=========================================
+ Hits           5340     5349    +9     
- Misses          672      673    +1     
  Partials        354      354           
Impacted Files Coverage Δ Complexity Δ
...m/slack/api/model/dialog/DialogDataSourceType.java 90.00% <90.00%> (ø) 2.00 <2.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 ff4a2c5...d985db9. Read the comment docs.

@@ -147,7 +147,8 @@
"external_shared_channel_disconnected",
"external_shared_channel_reconnected",
"channel_moved",
"channel_renamed"
"channel_renamed",
"channel_posting_pref_changed_from_org_level"
Copy link
Member

Choose a reason for hiding this comment

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

We'd like to commit this separately. Please remove this change.

@@ -213,6 +213,14 @@
{
"date_created": "2020-04-24T14:59:53-07:00",
"body": "Some people may be having an issue with Slack. We’re currently investigating and will have more information shortly. Thank you for your patience."
},
Copy link
Member

Choose a reason for hiding this comment

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

same as above

"xmlDataFormat": {
"supported": false
}
]
Copy link
Member

Choose a reason for hiding this comment

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

same as above

dialogTextArea(dta -> dta.subtype(DialogSubType.NUMBER))
));
});
System.out.println(dialog.toString());
Copy link
Member

Choose a reason for hiding this comment

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

Remove this stdout printing. It's ideal if we could add more tests for external data source. But it's totally fine to merge your contribution without it. I can work on it in addition to yours afterward.

@seratch
Copy link
Member

seratch commented Apr 30, 2020

@favalos Thanks for taking the time to report the issue and make this PR!

To sign our CLA, could you follow the instructions below?

git reset HEAD~1
git add . -v
git config user.email {your github email address}
git commit -m'{your commit message}'
git push origin master

Once you've signed the CLA, I'm happy to fix the above by adding more commits in addition to your changes for you.

@seratch seratch added enhancement M-T: A feature request for new functionality project:bolt project:slack-api-model project:slack-api-model project:slack-app-backend labels Apr 30, 2020
@favalos
Copy link
Contributor Author

favalos commented Apr 30, 2020

@seratch I did the changes requested. There are only four files changes in the pull request now.

Thanks and let me know if I can help to add more test cases.

@seratch
Copy link
Member

seratch commented Apr 30, 2020

I've merged your change by 0bd925f and a14cb63

Thanks a lot for your contribution!

@seratch seratch closed this Apr 30, 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:bolt project:slack-api-model project:slack-api-model project:slack-app-backend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants