Skip to content

Bump version v2.8.3#159

Merged
RishadAlam merged 22 commits intomainfrom
fix/plugin-review-team-issues
May 6, 2026
Merged

Bump version v2.8.3#159
RishadAlam merged 22 commits intomainfrom
fix/plugin-review-team-issues

Conversation

@RishadAlam
Copy link
Copy Markdown
Member

Description

This PR adds integration tag management in the All Integrations page, improves several action flows (notably MailerLite and MailPoet), and includes multiple stability fixes across backend and frontend integration logic. It also refreshes documentation links, updates branding assets, and improves failure-notification email readability.

Motivation & Context

These updates address review feedback and usability issues around integration management and action configuration. The goal is to reduce UI complexity, improve error handling and logging, and make common automation actions more reliable for end users.

Related Links: (if applicable)

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📚 Documentation update
  • ⚡ Improvement
  • 🔄 Code refactor

Key Changes

Integrations & Actions

  • Added MailerLite action support for unassigning a subscriber from a group with required group selection validation.
  • Improved MailerLite subscriber existence handling, including better response structure and resubscribe support for unsubscribed contacts.
  • Enhanced MailPoet subscriber processing with option support, safer list subscription behavior, and clearer failure responses.
  • Improved WooCommerce order creation by supporting subtotal/total/tax data in line items.
  • Improved SendFox action logging by unifying response logging and status detection.
  • Improved Registration and SureCart reliability with stronger password generation and safer request/error handling.

Frontend (Integrations Management)

  • Added integration tag utilities and hooks for reusable tag fetching, persistence, and picker submission logic.
  • Added new integrations table column builder with dedicated tags/status/action cells.
  • Refactored AllIntegrations page to extract large logic blocks into focused hooks/modules.
  • Improved tag assignment UX with better deduplication, validation, and bulk handling.

Documentation, Links & Assets

  • Updated tutorial/documentation links to the new bit-integrations.com/wp-docs structure across integrations and helpers.
  • Updated logo loading behavior in GetLogo using glob imports and memoization for safer asset resolution.
  • Added/Updated missing/renamed integration assets (including Fluent CRM naming consistency and new assets).
  • Updated plugin version references to 2.8.3.

Notifications & Content

  • Improved integration failure notification email template with clearer structure, modernized layout, stronger CTA presentation, and refined copy.
  • Updated readme.txt content/changelog sections for the release.

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Tests added/updated
  • Documentation updated if needed
  • README updated if needed

Changelog

  • Feature: Added tag management tools in the integrations list so users can organize and filter automations faster.
  • Feature: Added a MailerLite action to unassign subscribers from groups with guided validation in setup.
  • Fix: Resolved MailerLite and MailPoet subscriber handling edge cases to reduce failed or duplicate contact actions.
  • Fix: Fixed action/config save edge cases in custom trigger/action flows and improved request handling for SureCart.
  • Improvement: Improved WooCommerce order payload handling to preserve subtotal and tax details in created order line items.
  • Improvement: Refactored integrations list logic into reusable hooks/components for better maintainability and stability.
  • Improvement: Updated docs/tutorial URLs and improved integration failure email clarity for easier troubleshooting.

- Implemented `integrationsColumns.jsx` to define table columns for integrations, including a tags column with management capabilities.
- Created utility functions in `tagUtils.js` for parsing tag input, building tag options, and filtering integrations by tags.
- Added `useCompactBreakpoint.js` hook to manage responsive design for compact views.
- Developed `useIntegrationActions.js` hook to handle integration actions such as status toggling, deletion, and cloning.
- Introduced `useIntegrationTags.js` hook for managing tags and their associations with integrations.
- Created `useTagPickerSubmit.js` hook to handle tag creation and assignment logic in the tag picker modal.
…update subscriber checks in addSubscriber and unassignSubscriberFromGroup methods
…lper, SpectraHelper, and ChangelogToggle components to point to the new URL structure.
…nd SureCart actions; remove console logs in various components
Update readme.txt for version 2.8.3: Revise title and description, enhance feature list, and improve integration details; add new triggers and actions for WP ERP, PeepSo, and Monday.com; implement various improvements and bug fixes.
Copilot AI review requested due to automatic review settings May 6, 2026 10:39
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 6, 2026

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces several improvements and fixes across multiple integrations, including MailerLite, WooCommerce, SendFox, and MailPoet. Key changes include adding support for unassigning subscribers from groups in MailerLite, adding line item tax and subtotal support for WooCommerce orders, and updating documentation links. The review identified a logic error in the MailPoet integration where successful subscriber creation was incorrectly reported as a failure if no lists were provided, and noted inconsistent casing for log types in the SendFox integration.

Comment thread backend/Actions/MailPoet/RecordApiHelper.php
Comment thread backend/Actions/SendFox/RecordApiHelper.php Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces integration tag management on the “All Integrations” page, updates multiple integration action flows for reliability (notably MailerLite/MailPoet/SendFox/SureCart/WooCommerce), and refreshes docs/branding assets while bumping the plugin version to 2.8.3.

Changes:

  • Added reusable frontend utilities/hooks/components to fetch, persist, and manage integration tags (including bulk assignment and a refactored integrations table column builder).
  • Refactored/updated multiple integration UIs and backend helpers to improve stability, logging, and edge-case handling (MailerLite, MailPoet, SendFox, SureCart, WooCommerce, Registration).
  • Updated documentation links, logo loading behavior/assets, changelog/readme content, and failure-notification email template; bumped version constants to 2.8.3.

Reviewed changes

Copilot reviewed 57 out of 59 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
views/emails/integration-failure-notification.php Redesigned failure notification email layout/copy and added branded header/logo.
readme.txt Updated plugin metadata, marketing copy, links, and added 2.8.3 changelog entry.
frontend/src/Utils/StaticData/tutorialLinks.js Migrated documentation links to the new bit-integrations.com/wp-docs structure (and disabled missing ones).
frontend/src/Utils/GetLogo.jsx Switched logo loading to import.meta.glob and memoized component for safer asset resolution.
frontend/src/resource/img/integ/fluentCrm.webp Added/updated Fluent CRM logo asset.
frontend/src/pages/ChangelogToggle.jsx Updated in-app changelog content and docs link.
frontend/src/pages/AllIntegrations.jsx Refactored tag-management + table logic into hooks/utils; added tag picker workflow improvements.
frontend/src/hooks/useTagPickerSubmit.js New hook encapsulating tag picker validation, creation, assignment, and persistence.
frontend/src/hooks/useIntegrationTags.js New hook for fetching/persisting tags + integration-tag mappings.
frontend/src/hooks/useIntegrationActions.js New hook encapsulating integration status/clone/delete/bulk-delete actions.
frontend/src/hooks/useCompactBreakpoint.js New breakpoint hook for responsive tag-column rendering.
frontend/src/components/Triggers/TriggerHelpers/SpectraHelper.jsx Updated docs link and formatting in helper info content.
frontend/src/components/Triggers/TriggerHelpers/EssentialBlocksHelper.jsx Updated docs link and formatting in helper info content.
frontend/src/components/Triggers/ActionHook.jsx Updated documentation URLs used by the Action Hook trigger UI.
frontend/src/components/Flow/New/SelectAction.jsx Added explicit Fluent CRM logo mapping to match new asset naming.
frontend/src/components/AllIntegrations/tagUtils.js New shared utilities for parsing/deduping tags and filtering integrations by tag selection.
frontend/src/components/AllIntegrations/SureCart/SureCartCommonFunc.js Renamed config parameter to SureCart for correctness/consistency.
frontend/src/components/AllIntegrations/SendFox/SendFoxUnsubscribeFieldMap.jsx Removed unused imports for cleaner SendFox field-mapping UI.
frontend/src/components/AllIntegrations/SendFox/SendFoxListFieldMap.jsx Removed unused imports for cleaner SendFox list field-mapping UI.
frontend/src/components/AllIntegrations/SendFox/SendFoxIntegLayout.jsx Adjusted SendFox main-action selection and field-map initialization logic.
frontend/src/components/AllIntegrations/SendFox/SendFoxFieldMap.jsx Cleaned imports and ordering for SendFox field map component.
frontend/src/components/AllIntegrations/SendFox/SendFoxCommonFunc.js Removed unused imports and simplified dependencies.
frontend/src/components/AllIntegrations/SendFox/SendFoxAuthorization.jsx Import ordering + formatting tweaks in SendFox auth step.
frontend/src/components/AllIntegrations/SendFox/SendFox.jsx Removed unused imports and simplified SendFox common function imports.
frontend/src/components/AllIntegrations/SendFox/EditSendFox.jsx Removed unused imports and streamlined edit layout setup.
frontend/src/components/AllIntegrations/Selzy/SelzyCommonFunc.js Corrected error toast message to reference Selzy (and made it translatable).
frontend/src/components/AllIntegrations/Salesforce/SalesforceActions.jsx Updated Pro feature subtitle prop naming to match label component changes.
frontend/src/components/AllIntegrations/Salesflare/SalesflareCommonFunc.js Fixed field-map key typo (salesmateFormFieldsalesflareFormField).
frontend/src/components/AllIntegrations/Mautic/MauticCommonFunc.js Simplified input handler signature/behavior.
frontend/src/components/AllIntegrations/Mautic/Mautic.jsx Simplified navigation to step 3 and updated input handler call site.
frontend/src/components/AllIntegrations/MailPoet/MailPoetActions.jsx Generalized action toggling and added “send confirmation email” option toggle.
frontend/src/components/AllIntegrations/MailerLite/MailerLiteIntegLayout.jsx Added “unassign subscriber from group” action + group picker and refactored action selection UI.
frontend/src/components/AllIntegrations/MailerLite/MailerLite.jsx Added required group-selection validation and “Next” gating for new MailerLite action.
frontend/src/components/AllIntegrations/MailerLite/EditMailerLite.jsx Added group-selection validation when editing MailerLite integrations.
frontend/src/components/AllIntegrations/Klaviyo/KlaviyoActions.jsx Updated Pro feature subtitle prop naming to match label component changes.
frontend/src/components/AllIntegrations/integrationsColumns.jsx New column builder (tags/status/actions) extracted from AllIntegrations page.
frontend/src/components/AllIntegrations/IntegrationHelpers/IntegrationHelpers.js Adjusted save config logic ordering for CustomTrigger vs custom_form_submission handling.
frontend/src/components/AllIntegrations/IntegrationHelpers/ActionProFeatureLabels.jsx Renamed Pro feature subtitle prop and updated rendering.
frontend/src/components/AllIntegrations/GoogleSheet/GoogleSheetCommonFunc.js Removed leftover debug console.log.
frontend/src/components/AllIntegrations/GoogleSheet/GoogleSheetAuthorization.jsx Removed leftover debug console.log.
frontend/src/components/AllIntegrations/Freshdesk/FreshdeskActions.jsx Removed debug console.log statements from action toggles.
frontend/src/components/AllIntegrations/FluentSupport/FluentSupportCommonFunc.js Removed debug console.log from mapped field generation.
frontend/src/components/AllIntegrations/EditCustomTrigger.jsx Switched debug logging to console.error for aborted fetch handling.
frontend/src/components/AllIntegrations/EditCustomFormSubmissionInteg.jsx Switched debug logging to console.error for aborted fetch handling.
frontend/src/components/AllIntegrations/EditActionHook.jsx Switched debug logging to console.error for aborted fetch handling.
frontend/src/components/AllIntegrations/Discord/DiscordCommonFunc.js Removed debug console.log from channel-fetch flow.
frontend/src/components/AllIntegrations/CopperCRM/CopperCRMAuthorization.jsx Removed debug console.log from auth step.
frontend/src/components/AllIntegrations/ActiveCampaign/ActiveCampaignIntegLayout.jsx Removed debug console.log from account selection handler.
bitwpfi.php Bumped plugin version constants to 2.8.3.
backend/Triggers/Elementor/ElementorController.php Updated trigger documentation URL to new docs site.
backend/Config.php Bumped backend Config::VERSION to 2.8.3.
backend/Actions/WooCommerce/RecordApiHelper.php Added line item subtotal/total/subtotal_tax support when creating WooCommerce orders.
backend/Actions/SureCart/SureCartController.php Added WP_Error handling and safer unauthorized response checks.
backend/Actions/SendFox/RecordApiHelper.php Unified SendFox response logging based on HTTP status range.
backend/Actions/Registration/RegistrationController.php Improved generated password strength using wp_generate_password(24).
backend/Actions/MailPoet/RecordApiHelper.php Added option support (send_confirmation_email), safer list subscription behavior, and clearer error response shape.
backend/Actions/MailerLite/RecordApiHelper.php Improved subscriber existence handling, resubscribe support, and added unassign-from-group action.
backend/Actions/MailerLite/MailerLiteController.php Updated MailerLite record helper invocation to match new execute signature.
Comments suppressed due to low confidence (1)

backend/Actions/MailPoet/RecordApiHelper.php:45

  • insertRecord() can exit without returning a value when an existing subscriber is found but the update action is not enabled (or when there are no new lists to subscribe). In that case execute() will receive null and then access $recordApiResponse['success'], causing a PHP error. Ensure insertRecord() always returns a consistent response array (e.g., subscribe to lists even when not updating, and/or return a success response when no changes are needed).
            if (!empty($actions->update)) {
                $response = Hooks::apply(Config::withPrefix('mailpoet_update_subscriber'), $existingSubscriber['id'], $subscriber);

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread backend/Actions/MailPoet/RecordApiHelper.php Outdated
Comment thread backend/Actions/SendFox/RecordApiHelper.php
Comment thread frontend/src/pages/AllIntegrations.jsx
Comment thread frontend/src/components/AllIntegrations/MailerLite/MailerLiteIntegLayout.jsx Outdated
Comment thread frontend/src/components/AllIntegrations/MailerLite/MailerLiteIntegLayout.jsx Outdated
Comment thread backend/Actions/MailerLite/RecordApiHelper.php
Comment thread readme.txt
Comment thread readme.txt Outdated
@RishadAlam RishadAlam changed the title feat(integrations): add tag management and action workflow fixes Bump version v2.8.3 May 6, 2026
Copilot AI review requested due to automatic review settings May 6, 2026 11:11
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

abdul-kaioum
abdul-kaioum previously approved these changes May 6, 2026
@RishadAlam RishadAlam merged commit 66732f1 into main May 6, 2026
1 check passed
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.

3 participants