Repository navigation
feat(restaurant-reservations): add Five Star Restaurant Reservations integration - #251
Merged
7 commits merged intoNov 8, 2026
Merged
7 commits merged into
7 commits merged into
Conversation
…action routes Controller, RecordApiHelper and Routes for 11 Pro actions. The free side fires one hook per action, logs the result, and lists statuses, locations and tables for the dropdowns. Register the Pro trigger name.
Booking ID, email and IP come from the field map. Status, location and tables are dropdowns. Send Notifications and Delete Permanently are plain utility checkboxes.
… and trigger lists
…tion type The location list now also checks the taxonomy, and the table list returns an empty list when the plugin settings are not loaded. Logs use the booking, email or ban type, as other integrations do.
…equire location Create Booking and Update Booking show Status, Location and Tables as dropdowns with an "(optional)" label. A status can now be cleared, which the old checkbox and modal did not allow. Create Booking cannot be saved without a location when the site uses locations. Option lists load together behind one loader and show a toast only on manual refresh.
…ables exist Create Booking and Update Booking showed an empty Tables dropdown on sites without tables. The row now shows only when the plugin has tables, the same as Location. Assign Tables still always shows it.
✅ WordPress Plugin Check Report
📊 ReportAll checks passed! No errors or warnings found. 🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check |
The status, location and table lists loaded only when an action was picked, and the saved copies were reused on edit. A site that later added locations or tables showed no row for them, so Create Booking failed with "Location is required" and the user could not fix it without resetting the action. The edit screen now reloads the lists for the saved action.
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.
Pull Request
Description
Adds Five Star Restaurant Reservations to Bit Integrations as an action with 11 write actions, and registers its 9 Pro triggers. The free plugin owns the setup screens and the dropdown routes. The actions and triggers run in Pro: https://github.com/bit-apps-pro/bit-integrations-pro/pull/170
Motivation & Context
Five Star Restaurant Reservations is a WordPress table-booking plugin. This ports the Bit Flows integration (bit-apps-pro/bit-pi#895). Only write actions are ported. Get Booking and Find Bookings by Email only return data, so they are left out.
Type of Change
Key Changes
Backend (
backend/Actions/RestaurantReservations)RestaurantReservationsControllerwith a plugin check and three dropdown routes: statuses, locations and tables.RecordApiHelper: oneswitchcase per action fires its ownrestaurant_reservations_*hook, then callsLogHandler::savewith the booking, email or ban type. Each hook receives the utilities and settings only when the action uses them.AllTriggersNameas a Pro trigger.Frontend (
AllIntegrations/RestaurantReservations)NewInteg,EditInteg,IntegInfo,SelectAction,tutorialLinksand the custom form trigger list, plus a 128px logo.Testing
Checklist
Changelog
🤖 Generated with Claude Code