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

Dev - Feature api log table #1317

Merged

Conversation

MILAN88888
Copy link
Contributor

All Submissions:

Changes proposed in this Pull Request:

This pr introduces the new api logs table where we can get the detail info of the api.
To track the api log we have run the action just after api response
do_action( 'evf_track_api_logs', $form_id, $entry_id, 'source_type', $body, $raw_response );
Api tracking is added for the brevo, salesflare, and getResponse for now. Our team will add the that track action soon for the all integration and api calls.

How to test the changes in this Pull Request:

  1. Switch into the branch in free and pro. Run npm i -f && npm run dev
  2. Go to tool menu > api log tabs
  3. Integrate the any above mentioned integration in the form and submit the form.
  4. Verify the that integration api log from the api log table.

Types of changes:

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (modification of the currently available functionality)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Other information:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you successfully run tests with your changes locally?
  • Have you updated the documentation accordingly?

Changelog entry

Dev - Api log table.

Copy link
Member

@deepench deepench left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link
Contributor

@NirajChaudhary143 NirajChaudhary143 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

Copy link

@joshianup1 joshianup1 left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@MILAN88888 MILAN88888 removed the request for review from riteelama September 6, 2024 09:15
@MILAN88888 MILAN88888 merged commit 0495f1f into pre-develop Sep 6, 2024
1 check passed
@MILAN88888 MILAN88888 deleted the EVF-1136-dev/api-log-table-and-connect-any-api branch September 6, 2024 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file Merged [Status] Needs Docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants