Coder Social home page Coder Social logo

Investigate Vue 3 about toolkit HOT 6 OPEN

felixgabler avatar felixgabler commented on June 8, 2024
Investigate Vue 3

from toolkit.

Comments (6)

joeldomke avatar joeldomke commented on June 8, 2024

I went through all dependencies that have "vue" in their name:

  • vue-switches: ❌
    • Requires small changes, but PR is open for 3 months now
    • PR
  • vue-cookie-law: ⚠️
  • bootstrap-vue: ⚠️
  • vue-notification: ⚠️
  • vue-multiselect: ⚠️
  • vue-simple-spinner: ⚠️
    • No issues in the corresponding git repo, easy to replace if incompatible
  • vue-native-websocket: ⚠️
  • highcharts-vue: ✅
    • PR for Vue 3 is open, and it looks like it will be merged soon
    • Update 28.07.22: It now supports Vue 3 out of the box
  • vue-clipboard2: ✅

from toolkit.

felixgabler avatar felixgabler commented on June 8, 2024

It seems like we need to wait until big dependencies like bootstrap-vue migrate. Given that we are not under time pressure, this is not a huge problem.

Notes:
The PlotTab component (and thereby vue-highcharts) is used in the job results for many tools. Also, the websocket library is used within the store (see the mutations with the prefix "SOCKET_")

from toolkit.

joeldomke avatar joeldomke commented on June 8, 2024
  • highcharts-vue: ❌
    • PR for vue 3 is open, and it looks like it will be merged soon
  • vue-native-websocket: ❌
    • Does not seem to support Vue 3.
    • Issue

from toolkit.

kyvg avatar kyvg commented on June 8, 2024

euvl/vue-notification#198 (comment)

from toolkit.

felixgabler avatar felixgabler commented on June 8, 2024

Some helpful links:

When updating, also make sure to replace Vuex with Pinia as it is now the default store for Vue (https://pinia.vuejs.org/cookbook/migration-vuex.html#converting-a-single-module). This should also be considered when choosing the replacement for the websocket library. It might not be able to hook into the store as it did before.

from toolkit.

felixgabler avatar felixgabler commented on June 8, 2024

Because Bootstrap-Vue does not support Vue3 fully yet, we need to stay in compat mode: https://bootstrap-vue.org/vue3

As such, follow this procedure but keep MODE: 2
https://v3-migration.vuejs.org/migration-build.html#upgrade-workflow

Update steps needed:

Things to test:

  • 404 routes catching
  • Transitions: Routes, transition group, text area subcomponent
  • Tour
  • Browser notifications
  • Title manager
  • Cookie law (also reapply theme)
  • Modals
  • Remember parameters
  • Tool refresh (ToolView getCurrentInstance)
  • Image minimized
  • Authentication & logged in/out through other tab
  • Tree & MSAStage resize on fullscreen & window resize
  • Forward to modeller
  • File downloads (also check file names)
  • Scroll to sections & alignments & handy scroll bar

from toolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.