Conversation
Introduces a plug-and-play domain mapping module that bidirectionally maps origins between stage and production environments. Applied to event preview URL construction in both the dashboard and form handler so preview links resolve to the correct environment. Also fixes a missing getEventPageHost import in form-handler-helper. Co-authored-by: Cursor <cursoragent@cursor.com>
Add stage/prod domain prediction for preview navigation
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
|
Add espenv query parameter to preview links (pre-event and post-event) on both the dashboard and event creation form so the event details page knows which ESP backend to call. Refactored form-handler preview URL construction to use URL + searchParams for correctness. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Add espenv URL param to event preview links
Campaign management table block and ESP API utilities
- Add getAllEvents that recursively fetches all events using next-page-token - Refactor getEvents to use getAllEvents for exhaustive event lists - Fix getAllEventAttendees: use next-page-token (kebab-case) in URL params Made-with: Cursor
Add getAllEvents with nextPageToken pagination
- Remove capacity allocation logic (eventAttendeeLimit, totalAllocated, availableCapacity) - Remove AVAILABLE CAPACITY stat from campaign stats - Add 'Use full event capacity (no limit)' toggle below limit field in create dialog - When toggle is on: fetch event and set campaign limit to event attendeeLimit - Remove helper text 'Must be lower than the event capacity limit' - Simplify create error handling to generic message Made-with: Cursor
Simplify campaign attendee limit logic
…nly when URL available - Remove Edit option for inactive campaigns (one-way deactivation) - Add confirmation dialog with verbose warning before making campaign inactive - Show copy URL button only when campaign URL is available (table and edit dialog) Made-with: Cursor
Campaign management: inactive one-way, verbose warning, copy button only when URL available
Rename performUpdate to submitCampaignUpdate to avoid colliding with LitElement's built-in performUpdate(), which caused "Invalid campaign ID" errors on every reactive property change. Made-with: Cursor
rayyank10
approved these changes
Mar 2, 2026
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.
With our content push cycle aligns with standard DA workflow, we should now deprecate the previewMode url param and start using the actual .stage.adobe.com and .aem.page as proper content status flag. This does mean we have to do some sort of origin prediction for the short term, but eventually we should fix the relatedDomain handling for the long term.