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

[full-ci] @vue/compat - #8128

Merged
kulmann merged 11 commits into
masterfrom
vue3-compat-ng
Jan 9, 2023
Merged

kulmann merged 11 commits into
masterfrom
vue3-compat-ng

Conversation

@dschmidt

@dschmidt dschmidt commented Dec 16, 2022 •

Copy link
Copy Markdown
Member

Description

Upgrade Vue to use the Vue 3 compat mode.

Related Issue

@update-docs

update-docs Bot commented Dec 16, 2022

Copy link
Copy Markdown

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

ownclouders commented Dec 19, 2022 •

Copy link
Copy Markdown
Contributor

@ownclouders

ownclouders commented Dec 19, 2022 •

Copy link
Copy Markdown
Contributor

@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
1 of 5 tasks

@dschmidt dschmidt left a comment

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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...

@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
const instance = getCurrentInstance().proxy
const uppyService = instance.$uppyService
const uppyService =
getCurrentInstance().proxy.$uppyService || getCurrentInstance().parent.proxy.$uppyService

Copy link
Copy Markdown
Contributor

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?

@sonarqubecloud

sonarqubecloud Bot commented Jan 9, 2023

Copy link
Copy Markdown

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

@kulmann kulmann left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

Omg this has been merged? 😱😱 awesomeeee!

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.

6 participants