-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Image Field: "Import from URL" functionality #30061
Labels
dotCMS : Content Management
OKR : Core Features
Owned by Will
QA : Approved
Release : 24.10.16
Upgrade Fixes
Team : Falcon
Comments
nicobytes
moved this from Next 1-3 Sprints
to Current Sprint Backlog
in dotCMS - Product Planning
Oct 2, 2024
nicobytes
moved this from Current Sprint Backlog
to Next 1-3 Sprints
in dotCMS - Product Planning
Oct 2, 2024
nicobytes
added a commit
that referenced
this issue
Oct 8, 2024
3 tasks
nicobytes
added a commit
that referenced
this issue
Oct 8, 2024
nicobytes
added a commit
that referenced
this issue
Oct 8, 2024
nicobytes
added a commit
that referenced
this issue
Oct 8, 2024
nicobytes
added a commit
that referenced
this issue
Oct 8, 2024
nicobytes
added a commit
that referenced
this issue
Oct 9, 2024
nicobytes
added a commit
that referenced
this issue
Oct 9, 2024
nicobytes
added a commit
that referenced
this issue
Oct 9, 2024
nicobytes
added a commit
that referenced
this issue
Oct 9, 2024
nicobytes
added a commit
that referenced
this issue
Oct 9, 2024
3 tasks
nicobytes
added a commit
that referenced
this issue
Oct 9, 2024
nicobytes
added a commit
that referenced
this issue
Oct 10, 2024
github-merge-queue bot
pushed a commit
that referenced
this issue
Oct 10, 2024
## Parent Issue #30061 ## Summary This pull request includes significant updates to the `DotFormImportUrlComponent` and its associated store, focusing on improving file upload handling and adding comprehensive unit tests. The most important changes include updating the component and store to handle accepted file types, adding abort functionality for uploads, and enhancing test coverage. ### Component and Store Enhancements: * Updated the `DotFormImportUrlComponent` to handle accepted file types and added an abort controller to manage upload cancellations. * Modified the `FormImportUrlStore` to include accepted file types in its state and added methods to initialize setup and handle file uploads with abort functionality. ### Unit Tests Enhancements: * Added comprehensive unit tests for the `DotFormImportUrlComponent`, covering initialization, form submission, and upload cancellation scenarios. * Added unit tests for the `FormImportUrlStore` to verify state initialization, setup, and file upload handling. ### Minor UI Adjustments: * Adjusted the error message and button styles to improve the user interface. ### Test Updates for File Field Component: * Updated existing tests to use the new `uploadFile` method instead of `uploadDotAsset`. ### Checklist - [x] Tests - [x] Translations - [x] Security Implications Contemplated (add notes if applicable) ### Video
github-project-automation
bot
moved this from In Review
to Internal QA
in dotCMS - Product Planning
Oct 10, 2024
josemejias11
added
dotCMS : Content Management
OKR : Core Features
Owned by Will
labels
Oct 10, 2024
Approved: Tested on trunk_d5fde27, Docker, macOS 14.5, FF v126.0.1 |
spbolton
pushed a commit
that referenced
this issue
Nov 11, 2024
## Parent Issue #30061 ## Summary This pull request includes significant updates to the `DotFormImportUrlComponent` and its associated store, focusing on improving file upload handling and adding comprehensive unit tests. The most important changes include updating the component and store to handle accepted file types, adding abort functionality for uploads, and enhancing test coverage. ### Component and Store Enhancements: * Updated the `DotFormImportUrlComponent` to handle accepted file types and added an abort controller to manage upload cancellations. * Modified the `FormImportUrlStore` to include accepted file types in its state and added methods to initialize setup and handle file uploads with abort functionality. ### Unit Tests Enhancements: * Added comprehensive unit tests for the `DotFormImportUrlComponent`, covering initialization, form submission, and upload cancellation scenarios. * Added unit tests for the `FormImportUrlStore` to verify state initialization, setup, and file upload handling. ### Minor UI Adjustments: * Adjusted the error message and button styles to improve the user interface. ### Test Updates for File Field Component: * Updated existing tests to use the new `uploadFile` method instead of `uploadDotAsset`. ### Checklist - [x] Tests - [x] Translations - [x] Security Implications Contemplated (add notes if applicable) ### Video
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dotCMS : Content Management
OKR : Core Features
Owned by Will
QA : Approved
Release : 24.10.16
Upgrade Fixes
Team : Falcon
Parent Issue
#29692
Task
Implement the "Import from URL" feature for Image Field, which opens a popup for users to enter a URL and import a file from that location.
Proposed Objective
User Experience
Proposed Priority
Same as Parent Issue
Acceptance Criteria
Assumptions & Initiation Needs
The text was updated successfully, but these errors were encountered: