Skip to content

feat(fb_pixel): add validation - #2159

Merged
Gauravudia merged 4 commits into
developfrom
feat/fbPixel-validation
May 11, 2023
Merged

Gauravudia merged 4 commits into
developfrom
feat/fbPixel-validation

Conversation

@Gauravudia

Copy link
Copy Markdown
Contributor

Description of the change

Add pixel Id and access token check

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

@Gauravudia Gauravudia self-assigned this May 10, 2023
@Gauravudia
Gauravudia requested a review from a team as a code owner May 10, 2023 13:25
@codecov

codecov Bot commented May 10, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (ff9d778) 87.93% compared to head (6e335fc) 87.94%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2159   +/-   ##
========================================
  Coverage    87.93%   87.94%           
========================================
  Files          510      510           
  Lines        25819    25823    +4     
  Branches      6394     6396    +2     
========================================
+ Hits         22705    22709    +4     
  Misses        2782     2782           
  Partials       332      332           
Impacted Files Coverage Δ
src/v0/destinations/facebook_pixel/transform.js 93.61% <100.00%> (+0.13%) ⬆️

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

shrouti1507
shrouti1507 previously approved these changes May 10, 2023
krishna2020
krishna2020 previously approved these changes May 10, 2023
@aashishmalik

Copy link
Copy Markdown
Contributor

@Gauravudia if both fields are required, lets update integrations-config dest config,ui-config,schema accordingly as well. WDYT?

@Gauravudia

Copy link
Copy Markdown
Contributor Author

@Gauravudia if both fields are required, lets update integrations-config dest config,ui-config,schema accordingly as well. WDYT?

  • Pixel Id is a required field in config.
  • Access token is only required in cloud mode. So currently in the config, it is a non-required field. As we don't have the component in old UI to make a field required based on device/cloud mode.

@Gauravudia
Gauravudia dismissed stale reviews from krishna2020 and shrouti1507 via ed0deed May 11, 2023 05:00
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@Gauravudia
Gauravudia merged commit 64a05cb into develop May 11, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the feat/fbPixel-validation branch August 12, 2023 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants