Repository navigation
feat: twitter web conversions - #2220
Merged
Merged
Conversation
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
from
May 31, 2023 04:36
93a129c to
8613ee4
Compare
aashishmalik
marked this pull request as draft
May 31, 2023 04:36
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
2 times, most recently
from
June 2, 2023 04:41
730b250 to
e8ac1aa
Compare
aashishmalik
marked this pull request as ready for review
June 2, 2023 04:41
mihir-4116
approved these changes
Jun 2, 2023
…ormer into feat.twitter-ads-conversions
mihir-4116
previously approved these changes
Jun 2, 2023
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
from
June 2, 2023 06:34
e8ac1aa to
7437c2d
Compare
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
from
June 2, 2023 07:11
70c72e8 to
471d394
Compare
sanpj2292
reviewed
Jun 6, 2023
sanpj2292
reviewed
Jun 6, 2023
sanpj2292
reviewed
Jun 6, 2023
sanpj2292
reviewed
Jun 6, 2023
|
Can we add Notion link in the PR's description ? |
Contributor
Author
We don't add notion link in open source repos |
sanpj2292
self-requested a review
June 14, 2023 05:35
|
@aashishmalik can we address sonar code-smells ? |
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
from
June 14, 2023 05:36
7dde86e to
99a33cb
Compare
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
from
June 14, 2023 06:13
a078134 to
ee6c8fe
Compare
|
To fix the latest code-smell function populateContents(requestJson) {
const reqJson = { ...requestJson };
if (reqJson.contents) {
const transformedContents = requestJson.contents.map(obj => ({
...(obj.id && { content_id: obj.id }),
...(obj.groupId && { content_group_id: obj.groupId }),
...(obj.name && { content_name: obj.name }),
...(obj.price && { content_price: parseFloat(obj.price) }),
...(obj.type && { content_type: obj.type }),
...(obj.quantity && { num_items: parseInt(obj.quantity, 10) })
})).filter(tfObj => Object.keys(tfObj).length > 0);
if (transformedContents.length > 0) {
reqJson.contents = transformedContents;
}
}
return reqJson;
} |
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
from
June 14, 2023 06:42
5d8e5c1 to
9a7a612
Compare
sanpj2292
previously approved these changes
Jun 14, 2023
koladilip
reviewed
Jun 14, 2023
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
from
June 14, 2023 12:57
1524934 to
76529b6
Compare
koladilip
reviewed
Jun 14, 2023
aashishmalik
force-pushed
the
feat.twitter-ads-conversions
branch
from
June 14, 2023 21:13
0796095 to
c8dc784
Compare
Signed-off-by: Sai Sankeerth <[email protected]>
sanpj2292
approved these changes
Jun 15, 2023
|
Kudos, SonarCloud Quality Gate passed! |
koladilip
approved these changes
Jun 15, 2023
krishna2020
pushed a commit
that referenced
this pull request
Jun 20, 2023
* feat: twiiter web conversions * feat: twiiter ads transformation * fix: add oauth1 dev dependency * fix: add oauth1 dev dependency * fix: add oauth1 dev dependency * fix: eslint fixes * fix: addressed comments * fix: addressed comments * fix: populateEventId func return eventId * fix: populateEventId func return eventId * fix: sonar code smells * fix: sonar code smells * fix: replace some with find function * fix: replace some with find function * chore: remove unnecessary console.log Signed-off-by: Sai Sankeerth <[email protected]> --------- Signed-off-by: Sai Sankeerth <[email protected]> Co-authored-by: Sai Sankeerth <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Description of the change
Type of change
Related issues
Checklists
Development
Code review