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

[full-ci] @vue/compat #8128

Merged
merged 11 commits into from
Jan 9, 2023
Merged

[full-ci] @vue/compat #8128

merged 11 commits into from
Jan 9, 2023

Conversation

dschmidt
Copy link
Member

@dschmidt dschmidt commented Dec 16, 2022

Description

Upgrade Vue to use the Vue 3 compat mode.

Related Issue

@update-docs
Copy link

update-docs bot commented Dec 16, 2022

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@dschmidt dschmidt changed the title WIP: @vue/compat [full-ci] @vue/compat Dec 19, 2022
@ownclouders
Copy link
Contributor

ownclouders commented Dec 19, 2022

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

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

npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/31217/tracing/copy-and-move-resources-in-personal-space-alice-2023-1-5-12-08-10.zip

@ownclouders
Copy link
Contributor

ownclouders commented Dec 19, 2022

Results for e2e-tests oCIS https://drone.owncloud.com/owncloud/web/31217/12/1

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

npx playwright show-trace https://cache.owncloud.com/public/owncloud/web/31217/tracing/copy-and-move-resources-in-personal-space-alice-2023-1-5-12-07-34.zip

@dschmidt dschmidt changed the base branch from master to merge-stable-6.0-to-master-20221222-0 December 22, 2022 16:13
@delete-merged-branch delete-merged-branch bot deleted the branch master December 22, 2022 16:34
@dschmidt dschmidt changed the base branch from merge-stable-6.0-to-master-20221222-0 to master December 22, 2022 16:34
This was referenced Dec 22, 2022
@JammingBen JammingBen mentioned this pull request Dec 23, 2022
5 tasks
Copy link
Member Author

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

We should check if we have more usages of $listeners or $attrs and if they still work everywhere.

Moreover we should check for .native modifiers for events and get rid of all of them.

In general I'd say this is in pretty good shape and needs only minor fixes now

import iconColorMap from '../../helpers/resourceIconColorExtensionMapping.json'
import iconNameMap from '../../helpers/resourceIconExtensionMapping.json'
import * as iconColorMap from '../../helpers/resourceIconColorExtensionMapping.json'
import * as iconNameMap from '../../helpers/resourceIconExtensionMapping.json'
Copy link
Member Author

Choose a reason for hiding this comment

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

This is ugly but we couldn't fix it otherwise in Vite AND jest. It's used at runtime in the documentation, so we couldnt simply convert it to ts 🌚

Hopefully we can soon switch to vitest and have it flxed there...

packages/web-pkg/src/composables/router/useRouter.ts Outdated Show resolved Hide resolved
packages/web-pkg/src/composables/store/useStore.ts Outdated Show resolved Hide resolved
@JammingBen JammingBen force-pushed the vue3-compat-ng branch 2 times, most recently from 3cef14a to 8bef656 Compare January 2, 2023 15:51
@dschmidt dschmidt marked this pull request as ready for review January 2, 2023 19:25
@JammingBen JammingBen force-pushed the vue3-compat-ng branch 3 times, most recently from 55f2918 to 48702c2 Compare January 5, 2023 11:55
packages/design-system/src/components/OcList/OcList.vue Outdated Show resolved Hide resolved
@@ -198,7 +198,8 @@ export default defineComponent({
},
setup(props) {
const instance = getCurrentInstance().proxy
const uppyService = instance.$uppyService
const uppyService =
getCurrentInstance().proxy.$uppyService || getCurrentInstance().parent.proxy.$uppyService
Copy link
Member

Choose a reason for hiding this comment

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

Looks to me like you implemented that in this PR. Could you make use of it here?

@sonarcloud
Copy link

sonarcloud bot commented Jan 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

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

51.5% 51.5% Coverage
0.3% 0.3% Duplication

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

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

👍

@kulmann kulmann merged commit 3956331 into master Jan 9, 2023
@delete-merged-branch delete-merged-branch bot deleted the vue3-compat-ng branch January 9, 2023 16:08
@pascalwengerter
Copy link
Contributor

Omg this has been merged? 😱😱 awesomeeee!

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.

6 participants