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

Use our EventBus for upload related actions #6853

Merged
merged 5 commits into from
May 3, 2022
Merged

Conversation

JammingBen
Copy link
Collaborator

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
10 tasks
@ownclouders
Copy link
Contributor

ownclouders commented May 2, 2022

Results for e2e-tests oC10 https://drone.owncloud.com/owncloud/web/25141/11/1

💥 To see the trace, please open the link in the console ...

npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/25141/tracing/alice-can-share-this-weeks-meal-plan-with-all-parents-alice-2022-5-3-07-06-44.zip

@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
Copy link
Member

@dschmidt dschmidt left a comment

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 ...)

@sonarcloud
Copy link

sonarcloud bot commented May 3, 2022

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
Copy link
Member

@dschmidt dschmidt left a comment

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
45 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants