Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Fix SlackAction: change SlackAction "value" to "url" #43

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dvehar
Copy link

@dvehar dvehar commented Jun 13, 2018

Using "value" does not work (maybe it used to). Example

Using "url" does work. Example

@dvehar
Copy link
Author

dvehar commented Jun 13, 2018

@gpedro @galimru please review

@rgalimov
Copy link

rgalimov commented Jun 19, 2018

Hi @dvehar, the value is needed for interactive message buttons as response value to help determine which button was pressed. When you use url field it will create link button like described here https://api.slack.com/docs/message-attachments#link_buttons
I think it would be better to add url field and leave other fields as is.

… of action

Creates the concrete SlackActions:
- BasicButtonSlackAction
- InteractiveButtonSlackAction
- InteractiveSelectSlackAction

Adds tests
@dvehar
Copy link
Author

dvehar commented Jun 22, 2018

@rgalimov I pushed some changes. I broke out the SlackAction functionality into specific subclasses (BasicButtonSlackAction, InteractiveButtonSlackAction, InteractiveSelectSlackAction) and added tests.

@dvehar
Copy link
Author

dvehar commented Jul 13, 2018

@rgalimov can you please review?

@galimru
Copy link
Contributor

galimru commented Jul 13, 2018

@dvehar this looks fine

@dvehar
Copy link
Author

dvehar commented Jul 13, 2018

@gpedro please review / merge.

@dvehar
Copy link
Author

dvehar commented Jul 21, 2018

@gpedro just following up. Can this change be merged?

@deepakputhraya
Copy link

@gpedro @galimru Can these changes be merged?

@dvehar
Copy link
Author

dvehar commented Feb 4, 2019

@gpedro @jaypatel512 @rgalimov are you able to merge?

@rgalimov
Copy link

rgalimov commented Feb 4, 2019

@dvehar Sorry, I don't have access to merge PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants