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(destination): onboard discord #1725

Merged
merged 84 commits into from
Jan 4, 2023
Merged

feat(destination): onboard discord #1725

merged 84 commits into from
Jan 4, 2023

Conversation

anantjain45823
Copy link
Contributor

@anantjain45823 anantjain45823 commented Dec 22, 2022

Description of the change

Onboarding new destination discord, a messaging tool, we are supporting identify and track calls in this and for every call, we are sending a message to the provided webhook URL of a discord channel following the template provided by the user for that particular event and if not, then falling back to default ones.

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

saikumarrs and others added 30 commits December 7, 2022 18:36
Co-authored-by: Krishna Chaitanya <chaithu.kitti@gmail.com>
* feat: revamp cdk V2 error handling

* fix: revert previously committed unwanted files
* fix: do not export CustomError

* refactor: remove deprecated modules

* refactor: replace all instances of CustomError in the core module
* refactor: use new error types

* fix: use the right error type

* Revert "fix: use the right error type"

This reverts commit 2887f3a.
…e_cloud_function, googlepubsnub) (#1665)

* feat:[ga360] add new errorTypes

* feat:[google_cloud_function] add new errorTypes

* feat:[googlepubsnub] add new errorTypes

* feat:[gainsight_px] add new errorTypes

* feat:[gainsight] add new errorTypes
…aze) (#1649)

* feat:[awin] add new error types

* feat:[blueshift] add new error types

* feat:[bqstream] add new error types

* feat:[branch] add new error types

* feat:[braze] add new error types
…k_pixel, factorsai, fb, fb_custom_audience) (#1652)

* feat:[facebook_offline_conversions] add new errorTypes

* feat:[facebook_pixel] add new errorTypes

* feat:[factorsai] add new errorTypes

* feat:[factorsai] add new errorTypes

* feat:[fb] add new errorTypes

* feat:[fb_custom_audience] add new errorTypes

* fix: refactor error  message and unit tests

* feat: update error message
…e, eventbridge) (#1651)

* feat:[custify] add new error types

* feat:[customerio] add new error types

* feat:[customerio] add statTags in processRouterDest

* feat:[delighted] add new errorTypes

* feat:[engage] add new errorTypes

* feat:[eventbridge] add new errorTypes
…eanplum, lambda) (#1669)

* feat: new error types for destinations

* feat: code review changes
* feat: new error types for user.com destination

* feat: code review changes
#1641)

* feat: new error types for sources

* feat: code review changes
…ero, webengage) (#1653)

* feat: new error types for destinations

* feat: code review changes

* feat: code review changes
… ometria, mssql) (#1666)

* feat: code review changes

* feat: code review changes

* feat: code review changes
…engage, minio) (#1667)

* feat: new error types for destinations

* feat: code review changes
src/v0/destinations/discord/transform.js Outdated Show resolved Hide resolved
src/v0/destinations/discord/util.js Outdated Show resolved Hide resolved
src/v0/destinations/discord/util.js Outdated Show resolved Hide resolved
src/v0/destinations/discord/util.js Outdated Show resolved Hide resolved
@anantjain45823 anantjain45823 changed the base branch from feat.new-error-types to master December 27, 2022 05:38
@anantjain45823 anantjain45823 changed the base branch from master to feat.new-error-types December 27, 2022 05:39
@anantjain45823 anantjain45823 changed the base branch from feat.new-error-types to master December 27, 2022 06:15
@yashasvibajpai
Copy link
Contributor

yashasvibajpai commented Dec 28, 2022

We should avoid reusing utility functions from another destination, and rather accomadate any such functionalities in root-level utility functions. There can be unnecessary issues in a destination, if going ahead, some change with respect to the original destination is made in the utility function and it breaks something at the other destination.

Non blocking comment

yashasvibajpai
yashasvibajpai previously approved these changes Dec 28, 2022
@anantjain45823
Copy link
Contributor Author

We should avoid reusing utility functions from another destination, and rather accomadate any such functionalities in root-level utility functions. There can be unnecessary issues in a destination, if going ahead, some change with respect to the original destination is made in the utility function and it breaks something at the other destination.

Non blocking comment
We have used the utils file mainly and since both of them are identical destinations we are using the same transformation plan and so if there is a change in one it should reflect in the second as well to keep parity on how we support similar types of destinations.
We can keep it in global utils as well would it makes sense as only two destinations will be using it?

@anantjain45823 anantjain45823 merged commit 4f6323b into master Jan 4, 2023
@github-actions github-actions bot mentioned this pull request Jan 4, 2023
@devops-github-rudderstack devops-github-rudderstack deleted the feat.discord branch April 5, 2023 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants