Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Use our EventBus for upload related actions - #6853

Merged
JammingBen merged 5 commits into
masterfrom
uppy-event-bus
May 3, 2022
Merged

JammingBen merged 5 commits into
masterfrom
uppy-event-bus

Conversation

@JammingBen

Copy link
Copy Markdown
Contributor

Description

Instead of extending Vue, the uppy service now uses our custom EventBus.

Follow up for #6202

Related Issue

@JammingBen JammingBen self-assigned this May 2, 2022
@JammingBen JammingBen mentioned this pull request May 2, 2022
9 of 10 tasks
@ownclouders

ownclouders commented May 2, 2022 •

Copy link
Copy Markdown
Contributor

@owncloud owncloud deleted a comment from update-docs Bot May 2, 2022
@JammingBen
JammingBen force-pushed the uppy-event-bus branch 2 times, most recently from 2341772 to 1d829cb Compare May 2, 2022 11:51
@JammingBen
JammingBen marked this pull request as ready for review May 2, 2022 12:33
@JammingBen
JammingBen requested review from dschmidt and kulmann May 2, 2022 12:34

@dschmidt dschmidt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not so sure about this.

I would just replace the internal mechanism in the uppyService, instead of using the bus everywhere

That way we can type the topics properly in the service (and also we don't import the eventbus instance everywhere, while we already inject the uppyService ...)

@sonarqubecloud

sonarqubecloud Bot commented May 3, 2022

Copy link
Copy Markdown

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

32.4% 32.4% Coverage
0.0% 0.0% Duplication

@JammingBen JammingBen added the Status:Needs-Review Needs review from a maintainer label May 3, 2022

@dschmidt dschmidt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice :shipit:

@JammingBen
JammingBen merged commit f04d7a6 into master May 3, 2022
@delete-merged-branch
delete-merged-branch Bot deleted the uppy-event-bus branch May 3, 2022 10:37
@JammingBen JammingBen removed the Status:Needs-Review Needs review from a maintainer label May 3, 2022
fschade pushed a commit that referenced this pull request May 3, 2022
* Use our EventBus for upload related actions

* Add changelog item

* Wrap up the event methods in our uppy service

* Fix unit test

* Remove uploaded files from uppy before calling the success handlers
@micbar micbar mentioned this pull request May 5, 2022
24 of 45 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants