Page body
What this surface does
This is the only verified route for Bonus Triggers.
Operators use it to inspect each existing trigger card, update the attached coupon codes, adjust expiration time, and save the full trigger configuration.
How the page is organized
- the page shows one card per trigger returned by the hook
- each card uses the trigger name as the card title
- the left side of the card manages coupon-code chips
- the right side stores expiration time and free-text comments
- the footer actions let the operator return to
Bonusesor submit all current changes
How to read the page
Coupon Codesis a multi-value chip field. Each chip is one code currently attached to the trigger.Expiration Time (minutes)is the numeric validity window stored for the trigger.Commentsis operator-facing free text kept on the trigger record.
Main actions
- add one coupon code to a trigger card
- remove one coupon-code chip from a trigger card
- submit the full trigger configuration
- return to the
Bonusesroute without saving
Known caveats
- The page currently edits only the trigger records returned by the route. There is no verified FE action to add a new trigger card or delete a trigger card.
- Submit sends the whole
bonusTriggerspayload after converting coupon-code arrays back into comma-separated strings. - The success condition and backend ownership are only visible through the FE hook in this pass, so backend semantics stay unverified here.
Verification status
- status:
verified_fe_only - verified FE route:
/bonus-triggers