Skip to content

feat: add translate to templates page#6689

Merged
edmonday merged 79 commits into
feature/25-04-MA-feat-ai-translationfrom
edmondshen/prj-2748-add-translation-to-templates-page
May 21, 2025
Merged

feat: add translate to templates page#6689
edmonday merged 79 commits into
feature/25-04-MA-feat-ai-translationfrom
edmondshen/prj-2748-add-translation-to-templates-page

Conversation

@edmonday
Copy link
Copy Markdown
Contributor

@edmonday edmonday commented May 18, 2025

This PR adds translate functionality to templates page. Refactor to have a useJourneyDuplicateAndTranslate hook so it can be used elsewhere.

Fixes and adds some tests.

Summary by CodeRabbit

  • New Features

    • Added the ability to duplicate a journey and optionally translate it into a selected language.
    • Introduced AI-powered translation for journeys, allowing users to create translated versions seamlessly.
  • Improvements

    • Enhanced journey duplication workflow with integrated translation options and simplified navigation after duplication.
  • Bug Fixes

    • No user-facing bug fixes in this release.

edmonday and others added 30 commits May 15, 2025 01:52
- Added new GraphQL mutations and queries for journey AI translation.
- Implemented logic to analyze and translate journey titles, descriptions, and card content using AI.
- Introduced new utility functions for handling various block types in the journey schema.
- Updated schema to include new fields and types for enhanced functionality.
- Implemented a new function to analyze images and generate descriptions using AI.
- Integrated with the Gemini model from the Google AI SDK.
- Added error handling and logging for improved debugging.
…calar

- Added JourneyAiTranslateInput type for AI-driven journey translations.
- Updated GraphQL schema to include a detailed description for DateTime scalar.
- Enhanced introspection types to reflect new input fields and types for journey translations.
@github-actions
Copy link
Copy Markdown
Contributor

Warnings
⚠️ ❗ Big PR (604 changes)

(change count - 604): Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.

Generated by 🚫 dangerJS against c843e6c

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.

3 participants