Skip to content
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

Edit Contentlet: Allow Drag&Drop and select file #26048

Closed
Tracked by #25445
rjvelazco opened this issue Sep 11, 2023 · 2 comments · Fixed by #26077, #26270 or #26618
Closed
Tracked by #25445

Edit Contentlet: Allow Drag&Drop and select file #26048

rjvelazco opened this issue Sep 11, 2023 · 2 comments · Fixed by #26077, #26270 or #26618

Comments

@rjvelazco
Copy link
Contributor

rjvelazco commented Sep 11, 2023

Parent Issue

#25445

Task

As a dotCMS user, I would like to have a versatile binary field that allows me to perform various actions. This includes the ability to drag and drop files and select files.

Proposed Objective

Core Features

Proposed Priority

Priority 3 - Average

Acceptance Criteria

Users should be able to:

  • Drag and drop a file.
  • Browser to select a file.

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

image

Error Cases

Imagen Error Handler

Assumptions & Initiation Needs

  • Validate extension, Mime Type, and FileSize.
  • Handle API errors.

Note: We can get valid extensions, mine type, and file size from field variables

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

@rjvelazco rjvelazco self-assigned this Sep 11, 2023
@rjvelazco rjvelazco moved this from New to In Progress in dotCMS - Product Planning Sep 11, 2023
@fmontes fmontes changed the title Content Edit Refactor: Allow Drag&Drop and select file Edit Contentlet: Allow Drag&Drop and select file Sep 18, 2023
@fmontes fmontes moved this from In Progress to Internal QA in dotCMS - Product Planning Sep 22, 2023
fmontes added a commit that referenced this issue Sep 22, 2023
…elect file

* dev: add basic styles

* dev: handle drop file errors

* dev: create dot-drop-zone-message component

* dev: add internalization - i18n

* dev: improve properties/methofs names

* dev: improve interface names

* dev: add dot binary field state

* ev: add internalization - i18n v2

* dev: clean up

* test: fix broken tests

* test: fix broken tests v2

* dev: upload temp file

* dev: generate contenttype fields web component

* dev: improve css classes

* dev: choose file && improve styles

* dev: add remove file button

* test: cover dot-ui-message component

* test: cover binary field store

* test: cover binary field component tests

* dev: implement binary field in .jsp

* dev: implement binary field in .jsp

* dev: clean up styles

* feedback v1

* feedback v2

* feedback v3

* feedback v4

* clean up

* feedback v5

---------

Co-authored-by: Freddy Montes <[email protected]>
@github-project-automation github-project-automation bot moved this from Internal QA to Done in dotCMS - Product Planning Sep 22, 2023
@fmontes fmontes moved this from Done to Internal QA in dotCMS - Product Planning Sep 22, 2023
@fmontes
Copy link
Member

fmontes commented Sep 25, 2023

Image

@rjvelazco
Copy link
Contributor Author

rjvelazco commented Oct 3, 2023

Fixed

PR: #26270

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment