Closed tataihono closed 1 year ago
Warnings | |
---|---|
:warning: | :exclamation: Big PR (1049 changes) |
:warning: | Is this PR related to a Basecamp issue? If so link it via the PR description. |
(change count - 1049): Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.
Generated by :no_entry_sign: dangerJS against 62b9683143c33b0be53c69506963c7dc8b63c156
I see you added the "on stage" label, I'll get this merged to the stage branch!
The latest updates on your projects.
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
journeys-admin | ✅ Ready | Visit Preview | Wed Sep 13 02:07:57 UTC 2023 |
Merging #1851 (62b9683) into main (cc513f3) will increase coverage by
6.83%
. Report is 1 commits behind head on main. The diff coverage is92.42%
.
@@ Coverage Diff @@
## main #1851 +/- ##
==========================================
+ Coverage 78.68% 85.52% +6.83%
==========================================
Files 425 504 +79
Lines 6020 7018 +998
Branches 794 917 +123
==========================================
+ Hits 4737 6002 +1265
+ Misses 963 696 -267
Partials 320 320
Flag | Coverage Δ | |
---|---|---|
apps.api-media | 92.30% <88.09%> (?) |
|
apps.journeys | 40.03% <ø> (?) |
|
apps.journeys-admin | 78.77% <100.00%> (+0.08%) |
:arrow_up: |
apps.watch | 76.13% <ø> (?) |
|
libs.journeys.ui | 78.50% <ø> (?) |
Flags with carried forward coverage won't be shown. Click here to find out more.
Files Changed | Coverage Δ | |
---|---|---|
.../src/app/modules/cloudflare/image/image.service.ts | 75.00% <0.00%> (ø) |
|
...urneys-admin/src/libs/apolloClient/apolloClient.ts | 0.00% <ø> (ø) |
|
apps/api-media/src/app/__generated__/graphql.ts | 100.00% <100.00%> (ø) |
|
...-media/src/app/modules/segmind/segmind.resolver.ts | 100.00% <100.00%> (ø) |
|
...i-media/src/app/modules/segmind/segmind.service.ts | 100.00% <100.00%> (ø) |
|
...ts/Editor/ImageBlockEditor/AIGallery/AIGallery.tsx | 100.00% <100.00%> (ø) |
|
...r/ImageBlockEditor/AIGallery/AIPrompt/AIPrompt.tsx | 100.00% <100.00%> (ø) |
|
...nents/Editor/ImageBlockEditor/ImageBlockEditor.tsx | 60.86% <100.00%> (+1.77%) |
:arrow_up: |
... and 111 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
The latest updates on your projects.
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
journeys | ✅ Ready | Visit Preview | Wed Sep 13 02:08:45 UTC 2023 |
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
The latest updates on your projects.
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
watch | ✅ Ready | Visit Preview | Wed Sep 13 02:10:12 UTC 2023 |
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
💰 Infracost estimate: monthly cost will not change
This comment will be updated when the cost estimate changes.
Merge conflict attempting to merge this into stage. Please fix manually.
Merge conflict attempting to merge this into stage. Please fix manually.
atlantis plan
Ran Plan for 0 projects:
atlantis plan
Ran Plan for 0 projects:
Description
🤖 Generated by Copilot at 38e0e32
This pull request adds a new feature to the journeys admin and the API media apps that allows generating images from text prompts using Segmind models. It introduces new mutation fields and enum types to the GraphQL schemas of the API gateway and the API media, and implements the logic for resolving and querying Segmind data in the API media app. It also adds a new AI tab to the ImageBlockEditor component of the journeys admin app, which renders a text field and a button for entering a prompt and generating an image, and a gallery for displaying the generated images. It updates the TypeScript types and fields for the schemas and the mutation operations, and adds new components and modules for the UI and the Segmind integration.
How should this PR be QA Tested?
Please describe the QA tests that you ran to verify your changes. Please also note any relevant details for your test configuration.
Walkthrough
🤖 Generated by Copilot at 38e0e32
SegmindModule
to the app module of the API media app, which provides the resolver and service for the Segmind functionality (link, link)ImageService
method that uploads an image file to Cloudflare using the Cloudflare API and returns a response object with the image id and success status (link)SegmindResolver
class that implements the createImageBySegmindPrompt mutation field by calling theSegmindService
method with the same name and passing the arguments and user id (link)SegmindService
class that implements the createImageFromPrompt method, which calls the Segmind API with the prompt and model arguments, parses the response, and calls theImageService
method to upload the image to Cloudflare (link)AIGallery
to the journeys admin app, which renders a text field and a button for entering a prompt and generating an image using the Segmind model (link, link)AIPrompt
to the journeys admin app, which renders the text field and button for theAIGallery
component and handles the text value, change, submit, and loading events (link, link)ImageBlockEditor
component of the journeys admin app, which renders the smart toy icon and the AI label and shows theAIGallery
component when selected (link, link, link, link)schema.graphql
file of the API gateway app (link)