Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Notifier] Fix slack section block#39236

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:5.2fromnorkunas:fix-slack-section-block
Dec 2, 2020

Conversation

@norkunas
Copy link
Contributor

QA
Branch?5.2
Bug fix?yes
New feature?no
Deprecations?no
TicketsFix #...
LicenseMIT
Doc PRsymfony/symfony-docs#...

In SlackSectionBlock fields array is not initialized directly in the constructor so when running tests and trying to add a field to it throwsUndefined index: fields.

@jderusse
Copy link
Member

Could you please add a test?

@norkunas
Copy link
ContributorAuthor

Could you please add a test?

Sure, added.

@fabpot
Copy link
Member

Thank you@norkunas.

@fabpotfabpot merged commit4b97b16 intosymfony:5.2Dec 2, 2020
@norkunasnorkunas deleted the fix-slack-section-block branchDecember 3, 2020 12:56
fabpot added a commit that referenced this pull requestDec 5, 2020
…k action block (malteschlueter)This PR was merged into the 5.3-dev branch.Discussion----------[Notifier] Check for maximum number of buttons in slack action block| Q             | A| ------------- | ---| Branch?       | 5.x || Bug fix?      | no || New feature?  | yes || Deprecations? | no || Tickets       | - || License       | MIT || Doc PR        | - |After having problems with the SlackSectionBlock (#39236) i thought it would be helpful to also have a check for the maximum elements in the SlackActionsBlock and a test.https://api.slack.com/reference/block-kit/blocks#actionsEdit: The actual documentation says that the maximum are 5 elements but this is outdated. The actual number is 25. The slack support confirmed that.Can this be added to 5.2 or better to the 5.x branch?There are also some other implementations of slack blocks like the SlackDividerBlock but they have only a constructor and no additional methods. Should we also add some tests for them even if they have no extra logic?Commits-------a7936d2 [Notifier] Check for maximum number of buttons in slack action block
@fabpotfabpot mentioned this pull requestDec 18, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@derrabusderrabusderrabus approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

5.2

Development

Successfully merging this pull request may close these issues.

5 participants

@norkunas@jderusse@fabpot@derrabus@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp