Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

`pat-upload` event when all uploads are completed

Open
#1,445 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
Half a day
Newbie friendliness
45/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start by checking the pat-upload documentation and searching the repository for uploadAllCompleted and queuecomplete usages. Document that uploadAllCompleted fires after each successful file, and show how to configure Dropzone's queuecomplete event through pat-upload; confirm the documented option matches the available behavior.

Written by the indexing model from the issue text.

Description

I though that uploadAllCompleted event tells me, that all uploads are completed -> wrong 🤔

Since this event gets triggered on Dropzone.success, its fired after each uploaded file. The correct event would be Dropzone.queuecomplete. But with this event you do not have the data of the uploaded files. This needs investigation who uses uploadAllComplete and how ... currently greping mockup shows, that its not used at all, since tinyce now has the contentbrowser.

Mainly this is "just" a documentation issue, because all pat-uploadoptions get injected into Dropzone so you can simply use data-pat-upload="queuecomplete: my_complete_function" and register it as window.my_complete_function somehwere in your code.

Dominant language
JavaScript
Stars
57
Forks
103
Avg merge
6d 15h
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from plone/mockup

All issues in plone/mockup

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.