MWPW-192852: add prompt-bar-upload widget for image-to-video Firefly feature#745
Open
sanjayms01 wants to merge 1 commit intostagefrom
Open
MWPW-192852: add prompt-bar-upload widget for image-to-video Firefly feature#745sanjayms01 wants to merge 1 commit intostagefrom
sanjayms01 wants to merge 1 commit intostagefrom
Conversation
|
Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
Commits
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## stage #745 +/- ##
==========================================
+ Coverage 80.00% 80.42% +0.42%
==========================================
Files 28 29 +1
Lines 7975 8617 +642
==========================================
+ Hits 6380 6930 +550
- Misses 1595 1687 +92
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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
prompt-bar-uploadUnity widget for the Image-to-Video Firefly feature page. The widget provides an image dropzone with upload/spinner/preview states, a prompt textarea, model and aspect-ratio dropdowns (aspect ratios keyed per model from a spreadsheet config), a "More" filters button, and a "Generate" CTA that passes all inputs to the connector backend.Changes
unitylibs/core/widgets/prompt-bar-upload/prompt-bar-upload.js— New widget class (dropzone, prompt, model/aspect dropdowns, error toast overlay, generate flow)unitylibs/core/widgets/prompt-bar-upload/prompt-bar-upload.css— Dark-themed styles withex-pbu-*class prefix, responsive mobile layoutunitylibs/core/workflow/workflow.js— Registeredprompt-bar-uploadingetWidgetRegistry()unitylibs/core/workflow/workflow-firefly/action-binder.js— AddedgetSelectedAspectRatio()andgetUploadedImageAssetId()getters; extendedgenerateContent()payload withaspectRatioandreferenceImageIdtest/core/workflow/mocks/ff-upload-body.html— HTML fixture for unit teststest/core/workflow/prompt-bar-upload.test.js— 42 unit tests; full suite 770 passed, 0 failedTesting
Full test suite run: 770 tests passed, 0 failed, 3 skipped. Coverage includes widget initialization, DOM structure, slot parsing, model/aspect dropdowns, file upload wiring, drag-and-drop, spinner/preview states, error toast show/hide, and actionMap return value.
Jira: MWPW-192852