feat(integrations): add BookingPress action integration#158
feat(integrations): add BookingPress action integration#158RishadAlam wants to merge 3 commits intomainfrom
Conversation
- Implemented BookingPress integration in the frontend, including components for editing, creating, and authorizing the integration. - Added backend functionality for BookingPress actions, including authorization and record handling. - Introduced field mapping for BookingPress actions, allowing users to map form fields to BookingPress fields. - Created static data for BookingPress actions and fields. - Added a new image asset for BookingPress integration.
There was a problem hiding this comment.
Code Review
This pull request implements a new integration for BookingPress, adding the necessary backend infrastructure for authorization and record handling, as well as frontend components for user configuration. The review identified a bug where an instance method was called statically in PHP, a missing JavaScript import for tutorial links, and a redundant ternary operator in the UI logic.
✅ WordPress Plugin Check Report
📊 ReportAll checks passed! No errors or warnings found. 🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds BookingPress as a new action integration, enabling BookingPress appointment/customer operations to be executed from Bit Integrations automation flows.
Changes:
- Registered BookingPress in the action selector and integration routing (new + edit + info screens).
- Added BookingPress frontend configuration UI: authorization/connect step + action selection + field mapping.
- Added backend BookingPress authorize route/controller and action execution helper with logging.
Reviewed changes
Copilot reviewed 17 out of 18 changed files in this pull request and generated 14 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/src/components/Flow/New/SelectAction.jsx | Adds BookingPress to the action type list. |
| frontend/src/components/AllIntegrations/NewInteg.jsx | Loads and renders the new BookingPress integration configurator. |
| frontend/src/components/AllIntegrations/IntegInfo.jsx | Adds BookingPress “info” authorization view. |
| frontend/src/components/AllIntegrations/EditInteg.jsx | Adds BookingPress edit integration entry point. |
| frontend/src/components/AllIntegrations/BookingPress/staticData.js | Defines BookingPress actions and field schemas for mapping. |
| frontend/src/components/AllIntegrations/BookingPress/EditBookingPress.jsx | Adds edit screen wiring for BookingPress action configs. |
| frontend/src/components/AllIntegrations/BookingPress/BookingPressIntegLayout.jsx | Implements BookingPress action selection + field-map UI. |
| frontend/src/components/AllIntegrations/BookingPress/BookingPressFieldMap.jsx | Implements per-row mapping UI including custom/smart-tag inputs. |
| frontend/src/components/AllIntegrations/BookingPress/BookingPressCommonFunc.js | Adds helpers for config input and field-map validation/building. |
| frontend/src/components/AllIntegrations/BookingPress/BookingPressAuthorization.jsx | Adds BookingPress availability/authorization (plugin check) step UI. |
| frontend/src/components/AllIntegrations/BookingPress/BookingPress.jsx | Adds new-flow multi-step BookingPress integration setup. |
| frontend/src/Utils/StaticData/webhookIntegrations.js | Adds BookingPress to custom form action integrations list. |
| frontend/src/Utils/StaticData/tutorialLinks.js | Adds BookingPress tutorial link placeholders. |
| backend/Core/Util/AllTriggersName.php | Registers BookingPress in integration metadata list. |
| backend/Actions/BookingPress/Routes.php | Adds backend authorize endpoint route. |
| backend/Actions/BookingPress/RecordApiHelper.php | Adds BookingPress action execution dispatcher + req-data builder + logging. |
| backend/Actions/BookingPress/BookingPressController.php | Adds authorize handler and execution entry point. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Description
This PR adds BookingPress as a new action integration in Bit Integrations. Users can now connect BookingPress and run supported appointment/customer actions from automation flows. It includes backend execution handlers, frontend configuration UI, and integration registration in the action selector.
Motivation & Context
Users need to automate BookingPress operations directly from their flows without manual updates inside BookingPress. This change introduces the BookingPress action module so common appointment and customer operations can be mapped and executed through Bit Integrations.
Related Links: (if applicable)
Type of Change
Key Changes
Integrations (Backend)
Frontend (Configuration UI)
Platform Registration
Checklist
Changelog