MWPW-192828: add image-to-video widget with dropzone, model/aspect-ratio selectors, and generate flow#743
Open
sanjayms01 wants to merge 1 commit intostagefrom
Open
MWPW-192828: add image-to-video widget with dropzone, model/aspect-ratio selectors, and generate flow#743sanjayms01 wants to merge 1 commit intostagefrom
sanjayms01 wants to merge 1 commit intostagefrom
Conversation
…tio selectors, and generate flow
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
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.
Summary
Adds a new
image-to-videoUnity widget for the Firefly image-to-video AI feature page. The widget is injected into theupload-marqueeblock and provides a dropzone for image upload, a text prompt field, model/aspect-ratio selectors (spreadsheet-authorable), a "More" filters button, and a Generate CTA that submits to the Firefly backend and redirects on success.Changes
unitylibs/core/widgets/image-to-video/image-to-video.js— new widget class with dropzone, prompt field, model selector, aspect ratio selector (dynamically tied to model), more button, and generate CTAunitylibs/core/widgets/image-to-video/image-to-video.css— scoped dark-theme styles matching Figma specs (rgb(27,27,27) panel, rgb(50,50,50) model tag, rgb(44,44,44) aspect tag, responsive at 599px)unitylibs/core/workflow/workflow.js— registeredimage-to-videoingetWidgetRegistry()unitylibs/core/workflow/workflow-firefly/target-config.json— updatedupload-marqueeentry withrenderWidget: trueand newactionMapforgenerate-itvandmoreFiltersunitylibs/core/workflow/workflow-firefly/action-binder.js— addedgenerateItvContent(),navigateToMoreFilters(), extendedhandleAction(), updated error toast fallback for.itv-paneltest/core/workflow/image-to-video.test.js— 15 unit tests covering rendering, state, interactions, and ActionBinder integrationtest/core/workflow/mocks/itv-body.html— HTML fixture for testsTesting
15 new tests added covering: DOM rendering (panel, dropzone, prompt, model/aspect selectors, more button, generate CTA), widget state initialization (model ID, aspect ratio, moreFiltersUrl), file selection behavior, dynamic aspect ratio updates on model change, and ActionBinder action dispatch. Full suite: 743 passed, 0 failed.
Jira: MWPW-192828