Skip to content

chore: videoprogresseventcreate modern#9133

Draft
mikeallisonJS wants to merge 29 commits into
mainfrom
26-00-MA-chore-videoprogresseventcreate-modern
Draft

chore: videoprogresseventcreate modern#9133
mikeallisonJS wants to merge 29 commits into
mainfrom
26-00-MA-chore-videoprogresseventcreate-modern

Conversation

@mikeallisonJS
Copy link
Copy Markdown
Collaborator

No description provided.

mikeallisonJS and others added 29 commits April 24, 2026 22:57
…connect

Prevents cross-team association by verifying the journeyCollection
belongs to the custom domain's team before connecting. Also
distinguishes null (disconnect) from undefined (no change).

Made-with: Cursor
…and permissions

- Implement tests to verify behavior when journeyCollectionId is null, ensuring proper disconnection.
- Add validation for journeyCollectionId ownership, returning FORBIDDEN if it belongs to another team.
- Ensure correct calls to the database mock for journeyCollection queries.
- Updated the GraphQL schema to include the `customDomainCheck` mutation in both `api-gateway` and `api-journeys-modern`.
- Introduced new types for `CustomDomainCheck`, `CustomDomainVerification`, and `CustomDomainVerificationResponse` in `api-journeys-modern`.
- Implemented logic to verify domain configuration and verification status through Vercel API.
- Ensured proper integration of the new mutation and types across relevant files.
…ourneys

- Deleted custom domain related types, mutations, and queries from the GraphQL schema in `api-journeys`.
- Removed associated resolver, service, and ACL files for custom domains.
- Updated the app module to exclude the CustomDomainModule.
- Cleaned up related tests and access control logic to streamline the codebase.
…chema

- Removed override references for custom domain types and mutations in `api-journeys-modern` and `api-gateway`.
- Updated the GraphQL schema to ensure consistency across custom domain functionalities.
- Cleaned up related query and mutation files to align with the new schema structure.
… schema

- Deleted `ChatButtonCreateInput` and `ChatButtonUpdateInput` types from the GraphQL schema.
- Removed associated `chatButtonCreate` and `chatButtonUpdate` mutations from the resolver and schema.
- Cleaned up related tests to reflect the removal of chat button creation and update functionalities.
- Changed the `chatButtonRemove` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph.
- Added the `chatButtonRemove` mutation in `api-journeys-modern` with an override from `api-journeys`.
- Updated the import structure in the chatButton schema to include the new mutation.
- Moved `chatButtonCreate`, `chatButtonUpdate`, and `chatButtonRemove` mutations to the `api-gateway` schema under `API_JOURNEYS_MODERN`.
- Updated `ChatButtonCreateInput` and `ChatButtonUpdateInput` types to be specific to `API_JOURNEYS_MODERN`.
- Removed the `chatButtonRemove` mutation from the `api-journeys` schema and its resolver, along with associated tests.
- Cleaned up the import structure in the journey module to reflect these changes.
…tions

- Eliminated the `override` attribute for `chatButtonCreate`, `chatButtonRemove`, and `chatButtonUpdate` mutations in both `api-gateway` and `api-journeys-modern` schemas.
- Updated the GraphQL schema to streamline chat button functionalities and ensure consistency across the codebase.
…r modern API

- Changed the `journeyViewEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `journeyViewEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the journey module to include the new mutation file.
…rn API

- Changed the `stepViewEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `stepViewEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the step module to include the new mutation file.
…modern API

- Changed the `videoStartEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `videoStartEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the video module to include the new mutation file.
…dern API

- Changed the `videoPlayEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `videoPlayEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the video module to include the new mutation file.
…modern API

- Changed the `videoPauseEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `videoPauseEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the video module to include the new mutation file.
…n for modern API

- Changed the `videoCompleteEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `videoCompleteEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the video module to include the new mutation file.
…r modern API

- Changed the `videoExpandEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `videoExpandEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the video module to include the new mutation file.
…n for modern API

- Changed the `videoCollapseEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `videoCollapseEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the video module to include the new mutation file.
…n for modern API

- Changed the `videoProgressEventCreate` mutation in `api-gateway` to use the `API_JOURNEYS_MODERN` graph with an override reference.
- Added the `videoProgressEventCreate` mutation to `api-journeys-modern` with an override from `api-journeys`.
- Updated import structure in the video module to include the new mutation file.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 56a5ffaa-b7d7-46a8-bab4-10f0997c8ad3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 26-00-MA-chore-videoprogresseventcreate-modern

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant