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(Facebook Lead Ads Trigger Node): Add Facebook Lead Ads Trigger Node #7113

Merged
merged 14 commits into from Oct 20, 2023

Conversation

elsmr
Copy link
Member

@elsmr elsmr commented Sep 5, 2023

Github issue / Community forum post (link here to close automatically):
https://community.n8n.io/t/facebook-lead-ads-integration/4590/19

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Files matching **/*.vue:

  • Used composition API for all new components.
  • Added component or unit tests to cover functionality.

Files matching packages/editor-ui/**/*.vue:

  • Added E2E if adding new features.
  • Used design system tokens (colors, spacings...) where possible.

Files matching packages/nodes-base/nodes/**:

  • Added workflow tests for nodes if possible.

Files matching packages/nodes-base/package.json:

  • Avoided adding dependencies for nodes if not absolutely necessary.

Make sure to check off this list before asking for review.

@elsmr elsmr changed the title feat(Facebook Lead Ads Node) Add Facebook Lead Ads Node feat(Facebook Lead Ads Trigger Node) Add Facebook Lead Ads Trigger Node Sep 5, 2023
@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team node/new Creation of an entirely new node labels Sep 5, 2023
@codecov
Copy link

codecov bot commented Sep 5, 2023

Codecov Report

Attention: 151 lines in your changes are missing coverage. Please review.

Comparison is base (689360e) 33.50% compared to head (75f8ca1) 33.45%.
Report is 3 commits behind head on master.

❗ Current head 75f8ca1 differs from pull request most recent head 6367779. Consider uploading reports for the commit 6367779 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7113      +/-   ##
==========================================
- Coverage   33.50%   33.45%   -0.05%     
==========================================
  Files        3393     3394       +1     
  Lines      207375   207157     -218     
  Branches    22384    22354      -30     
==========================================
- Hits        69475    69313     -162     
+ Misses     136772   136723      -49     
+ Partials     1128     1121       -7     
Files Coverage Δ
packages/workflow/src/Interfaces.ts 77.77% <ø> (ø)
packages/editor-ui/src/components/NodeWebhooks.vue 83.85% <66.66%> (+9.14%) ⬆️
.../nodes-base/nodes/FacebookLeadAds/methods/index.ts 0.00% <0.00%> (ø)
...redentials/FacebookLeadAdsOAuth2Api.credentials.ts 0.00% <0.00%> (ø)
.../nodes-base/nodes/Facebook/FacebookTrigger.node.ts 0.00% <0.00%> (ø)
...s-base/nodes/FacebookLeadAds/methods/listSearch.ts 0.00% <0.00%> (ø)
...des-base/nodes/FacebookLeadAds/GenericFunctions.ts 0.00% <0.00%> (ø)
...des/FacebookLeadAds/FacebookLeadAdsTrigger.node.ts 0.00% <0.00%> (ø)

... and 52 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@elsmr elsmr changed the title feat(Facebook Lead Ads Trigger Node) Add Facebook Lead Ads Trigger Node feat(Facebook Lead Ads Trigger Node): Add Facebook Lead Ads Trigger Node Sep 5, 2023
Copy link
Contributor

@MiloradFilipovic MiloradFilipovic left a comment

Choose a reason for hiding this comment

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

Left a question, otherwise looks good to me.

packages/workflow/src/Interfaces.ts Outdated Show resolved Hide resolved
@CLAassistant
Copy link

CLAassistant commented Oct 19, 2023

CLA assistant check
All committers have signed the CLA.

@cypress
Copy link

cypress bot commented Oct 20, 2023

Passing run #2528 ↗︎

0 255 0 0 Flakiness 0

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 elsmr 🗃️ e2e/*
Project: n8n Commit: 6367779d41
Status: Passed Duration: 09:23 💡
Started: Oct 20, 2023 10:31 AM Ended: Oct 20, 2023 10:40 AM

Review all test suite changes for PR #7113 ↗︎

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@elsmr elsmr merged commit ac814a9 into master Oct 20, 2023
55 checks passed
@elsmr elsmr deleted the node-740-facebook-lead-ads branch October 20, 2023 11:43
@github-actions github-actions bot mentioned this pull request Oct 25, 2023
netroy added a commit that referenced this pull request Oct 25, 2023
# [1.13.0](https://github.com/n8n-io/n8n/compare/n8n@1.12.0...n8n@1.13.0)
(2023-10-25)


### Bug Fixes

* **core:** Do not return `inviteAcceptUrl` in response if email was
sent ([#7465](#7465))
([55c6a1b](55c6a1b))
* **core:** Ensure nodes post-processors run in the correct order
([#7500](#7500))
([6f45298](6f45298))
* **core:** Fix `frontend.settings` external hook execution
([#7496](#7496))
([774fe20](774fe20))
* **core:** Handle gzip and deflate compressed request payloads
([#7461](#7461))
([83762e0](83762e0))
* **core:** Reduce logging overhead for levels that do not output
([#7479](#7479))
([76c0481](76c0481))
* **Customer.io Node:** Fix api endpoint when using EU region
([#7485](#7485))
([519680c](519680c))
* **editor:** Allow importing the same workflow multiple times
([#7458](#7458))
([3c0a166](3c0a166))
* **editor:** Fix canvas selection breaking after interacting with node
actions ([#7466](#7466))
([bc47365](bc47365))
* **editor:** Fix connections disappearing after reactivating canvas and
renaming a node ([#7483](#7483))
([450e0cc](450e0cc))
* **Google Sheets Node:** Append or update runs forever when without
column headers ([#7463](#7463))
([ab6a9bb](ab6a9bb))
* **Microsoft SQL Node:** Prevent SQL injection
([#7467](#7467))
([a739245](a739245))
* **MQTT Trigger Node:** Fix node causing a start up hang when active
([#7498](#7498))
([baecb93](baecb93))
* **MySQL Node:** Resolve expressions in v1
([#7464](#7464))
([5c46bb0](5c46bb0))
* **Redis Node:** Fix adding sets data types
([#7444](#7444))
([4e66023](4e66023))
* **Spreadsheet File Node:** Fix include empty cells not working with v2
([#7505](#7505))
([05e6f2a](05e6f2a))


### Features

* **core:** Add support for oauth based service accounts with UM SMTP
([#7311](#7311))
([647372b](647372b))
* **editor:** Add PH tracking to event
([#7511](#7511))
([c47d27d](c47d27d))
* **Facebook Lead Ads Trigger Node:** Add Facebook Lead Ads Trigger Node
([#7113](#7113))
([ac814a9](ac814a9))
* **Ghost Node:** Add support for lexical format
([#7488](#7488))
([7b1973c](7b1973c))
* **RSS Feed Trigger Node:** Add RSS feed trigger node
([#7386](#7386))
([689360e](689360e))

Co-authored-by: netroy <netroy@users.noreply.github.com>
@janober
Copy link
Member

janober commented Oct 25, 2023

Got released with n8n@1.14.0

@@ -94,7 +94,7 @@ export default defineComponent({
}

return (this.nodeType as INodeTypeDescription).webhooks!.filter(
(webhookData) => webhookData.restartWebhook !== true,
(webhookData) => webhookData.restartWebhook !== true && !webhookData.hasLifecycleMethods,
Copy link
Member

Choose a reason for hiding this comment

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

@elsmr just FYI: we've reverted this check in #7783

For more context: Slack thread.

netroy added a commit that referenced this pull request Nov 22, 2023
netroy added a commit that referenced this pull request Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team node/new Creation of an entirely new node Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants