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

Upgrade frontend to Vue 2.7 #1258

Merged
merged 10 commits into from
Sep 1, 2022
Merged

Upgrade frontend to Vue 2.7 #1258

merged 10 commits into from
Sep 1, 2022

Conversation

mvandenburgh
Copy link
Member

@mvandenburgh mvandenburgh commented Aug 30, 2022

Upgrades the frontend to Vue 2.7, which includes the composition API natively. Crucially, this allows us to abandon usage of the vue composition API plugin, which will be going EOL at the end of this year. There's also been some major bugs found in that plugin, so I think it makes sense to do this upgrade before diving into some of the console errors and reactivity bugs we've been seeing in the frontend to at least rule it out as the source.

There's other stuff we can and should do at some point, like switching to <script setup> syntax and using vite instead of webpack, since presumably that will ease the burden when we upgrade to Vue 3 someday. But for now, this is the bear minimum needed to move to Vue 2.7.

Closes #1189. Requires #1259 to be merged into this branch first.

Copy link
Member

@jjnesbitt jjnesbitt left a comment

Choose a reason for hiding this comment

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

Looks good overall, just one main question

web/src/components/DandisetsPage.vue Outdated Show resolved Hide resolved
web/src/components/DandisetsPage.vue Outdated Show resolved Hide resolved
Copy link
Member

@jjnesbitt jjnesbitt left a comment

Choose a reason for hiding this comment

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

Looks good to me, I think #1259 can be merged into this branch. Any reason this PR is still set as draft?

@mvandenburgh
Copy link
Member Author

mvandenburgh commented Sep 1, 2022

Any reason this PR is still set as draft?

Just as an extra reminder not to merge this before #1259 is merged in. I'll merge #1259 into this branch now, and then merge this branch into master once CI is green.

@mvandenburgh mvandenburgh marked this pull request as ready for review September 1, 2022 20:26
Replace `vue-type-check` with `vue-tsc`
@mvandenburgh mvandenburgh added maintenance Action to maintain the system (neither a bugfix nor an enhancement) patch Increment the patch version when merged release Create a release when this pr is merged labels Sep 1, 2022
@mvandenburgh mvandenburgh merged commit 1fd838b into master Sep 1, 2022
@mvandenburgh mvandenburgh deleted the vue2.7 branch September 1, 2022 21:02
@dandibot
Copy link
Member

dandibot commented Sep 1, 2022

🚀 PR was released in v0.2.45 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Action to maintain the system (neither a bugfix nor an enhancement) patch Increment the patch version when merged release Create a release when this pr is merged released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade web app to Vue 2.7
3 participants