Repository navigation
feat(the-events-calendar): add Pro event, venue, organizer and series actions - #241
Open
RishadAlam wants to merge 7 commits into
Open
RishadAlam wants to merge 7 commits into
RishadAlam wants to merge 7 commits into
Conversation
… and series actions Register New Attendee keeps its flow. The other tasks pass the mapped fields and the Utilities to Pro, and every run writes a log entry. The event list no longer needs Event Tickets and now shows past events. Add list routes for events, venues, organizers, categories, series and time zones.
Add 15 Pro tasks for events, venues, organizers, event categories and series. Each task gets its field map, required selects and Utilities. Update tasks get paired boxes so a flag can be turned on or off. Only The Events Calendar must be active now. The note says which tasks also need Event Tickets or The Events Calendar Pro.
…triggers Move the trigger task checks to shared lists, so the event filter also shows for the updated, date, status, trash, delete and duplicate triggers. Event Added to Series gets a series filter.
The venue, organizer, category, series, event and time zone lists were saved into every flow. The setup screen fetches them again when it opens, so they are now removed before a save. A Create Event flow drops from about 29 KB to 2 KB. The list spinner now counts open requests, so one finished refresh does not hide it while another still runs.
✅ WordPress Plugin Check Report
📊 ReportAll checks passed! No errors or warnings found. 🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
Register New Attendee checks for Event Tickets, reads the same event list and returns the same errors as before. Only the new tasks use the The Events Calendar check, the new list routes and past events. The trigger edit page sends its task, so the attendee triggers keep their old event list.
Create Event, Update Event and Create Recurring Event list The Events Calendar Pro additional fields in a Custom Fields group of the field map. A new refresh_the_events_calendar_custom_fields route sends the fields, and it sends an empty list when Pro is not active.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the setup screens and Free hooks for 15 new Pro actions in The Events Calendar integration. Also adds the event and series filters for the 17 new Pro triggers. The action logic lives in the companion Pro PR.
Motivation & Context
The Events Calendar action only had Register New Attendee, and its setup required Event Tickets even for tasks that do not need it.
Related Links: (if applicable)
Type of Change
Key Changes
Backend (
backend/Actions/TheEventsCalendar/)switchinRecordApiHelperthat firesbit_integrations_the_events_calendar_<task>with the mapped fields and the settings.eventStatus,frequency,recurrenceEnd,seriesId) plus the Utilities withselected_removed.main. A runtime A/B againstmaingives identical output.refresh_the_events_calendar_events) shows past events.Frontend (
frontend/src/components/AllIntegrations/TheEventsCalendar/)Trigger setup
events_calendar-1..4checks inEditFormInteg.jsx,TriggerStateHelper.jsandEventsCalendarHelper.jsxto shared task lists. The event filter now also shows for tasks 7–13.Testing
TheEventsCalendarController::executeandFlow::execute.Existing workflows
mainvs this branch compared Register New Attendee (5 run cases, with and without Event Tickets, including log rows), the event list route and the attendee trigger setup data. The output is byte-identical.EditFormInteg.jsxandTriggerStateHelper.jschanged.Checklist
Changelog
🤖 Generated with Claude Code