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

feat(slack): add attachments support #4119

Merged
merged 3 commits into from
Feb 25, 2025
Merged

Conversation

DenovVasil
Copy link
Contributor

@DenovVasil DenovVasil commented Feb 24, 2025

Description

slack attachments feat
demo

2025-02-24.17-16-36.mov

Related issues

documentation PR: camunda/camunda-docs#5081
template PR(with increased version) https://github.com/camunda/web-modeler/pull/13224

closes #

Checklist

  • PR has a milestone or the no milestone label.

@DenovVasil DenovVasil requested a review from a team as a code owner February 24, 2025 14:14
@DenovVasil DenovVasil self-assigned this Feb 24, 2025
@DenovVasil DenovVasil added this to the 8.8.0-alpha2 milestone Feb 24, 2025
@DenovVasil DenovVasil force-pushed the 1003-support-slack-attachments branch 2 times, most recently from 603b63c to 13c592f Compare February 24, 2025 15:25
@DenovVasil DenovVasil added the qa:required Will trigger the QA workflow label Feb 24, 2025
@johnBgood
Copy link
Collaborator

QA information

Test Environment

  • Test required in (you can check both):
    • SaaS
    • SM
  • Create a new test for this feature in our Pre Release Tests for @Szik to be able to test

Test Scope

Please describe the test scope, happy path, edge cases that come to your mind, and whatever you think might relevant to test

Test Data

Please provide the test data, if needed (files, URLs, code snippets, FEEL expressions)

johnBgood
johnBgood previously approved these changes Feb 25, 2025
}
}

private List<File> completeFileUpload(
Copy link
Collaborator

Choose a reason for hiding this comment

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

is it a bit weird to get a list as a return type when uploading a single Document? It also forces us to flatMap above.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

makes sense, then we will have to add a method that will get the first (single) file. Such code will seem a little strange at first glance, but more self-descriptive

return completeUploadResp.getFiles();
} else {
String msg = COMPLETE_UPLOAD_CALL_EX + "\n Errors: " + completeUploadResp.getError();
LOGGER.warn(msg);
Copy link
Collaborator

Choose a reason for hiding this comment

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

why only a WARN here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For me warn is ok, but I'm not the one who works a lot with our logs, so I'd be grateful if you could offer a more suitable level

Copy link

@Szik Szik left a comment

Choose a reason for hiding this comment

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

for backport

@Szik
Copy link

Szik commented Feb 25, 2025

/backport

@team-connectors-int-automation

Only merged pull requests can be backported.

@DenovVasil DenovVasil added this pull request to the merge queue Feb 25, 2025
Merged via the queue into main with commit c95a1a9 Feb 25, 2025
10 of 11 checks passed
@DenovVasil DenovVasil deleted the 1003-support-slack-attachments branch February 25, 2025 21:05
team-connectors-int-automation bot pushed a commit that referenced this pull request Feb 25, 2025
@team-connectors-int-automation

Successfully created backport PR for release/8.7:

Copy link
Contributor

🚀 Deployment Results 🚀

Please find below the results of the latest deployments.

connectors-1003-support-sl-c8sm

🔧 Troubleshooting 🔧

The 🔗 ArgoCD link can be used to check the state and configuration of all the services deployed as part of the preview environments and get logs.

In case of error, please check 📋 Deployment Jobs and 🔗 ArgoCD to debug, and check our (yet to come) troubleshooting page

DenovVasil added a commit that referenced this pull request Feb 26, 2025
DenovVasil added a commit that referenced this pull request Feb 26, 2025
(cherry picked from commit c95a1a9)

Co-authored-by: DenovVasil <vasil.denov-ext@camunda.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants