Skip to content

Entities - Upgrade from Vue2 to Vue3 #27937

Open
35 of 49 issues completed
Open

Description

@severinbeauvais

This issue was auto-created as part of the Zenhub sub-issues migration. The original entity was opened on 2022-09-12. For more details see this post.

Note that this description is a bit out of date -- some things are handled and there may be new things to resolved.

Description (Hypothesis):

As the ministry developing web features
I want to keep my software framework up to current releases
So that my software doesn't go stale and unsupported
And so that my software can take advantage of better code
And so that all my software projects can have common tools, common patterns, share components, etc.

Specifically: Most of the BCROS software projects use Vue version 2, which has entered maintenance mode and will reach end of life by the end of 2023. We should upgrade these projects to use Vue version 3, which is the current, latest major version of Vue.

Ref: https://vuejs.org/about/faq.html#what-s-the-difference-between-vue-2-and-vue-3

Acceptance Criteria

Most BCROS projects use Vue 2 and should be upgraded, including:

Full regression testing will be required of each project.

Components that need to be (re)written (in Vue3)

  • date picker (ask Kial)
  • v-data-table (ask Kial)
  • fee summary (ask Kial)
  • staff payment? (ask Cameron)

Additional Information

  • Start date: TBD (does not appear to be on PI 14 Roadmap)
  • End date epic will be delivered: TBD but by end of 2023
  • T-shirt size: unknown - depends on work to be done and resources available
  • Process Flow: TBD
  • CM considerations: Unknown
  • Possible dependencies or blockers foreseen right now:
    • need to determine process flow (ie, what needs to be done to upgrade a project)
    • need to determine estimated effort per project
    • need to determine if some projects need to be upgraded before others
    • need to ensure that we're not missing anything
  • Any recommendation to NOT upgrade any particular project and just leave it with old code?

Migration Tips

https://blog.teamdev.com/vue-2-to-vue-3-migration-tips-58da12e81d33

Topics to investigate:

Vue3 (framework)

Vue CLI

Consider changing the framework over to Vite + Vitest. done for most UIs
See #13658.

Typescript (language)

See #13656.

Vuetify 3 (UI components library)

THIS WILL BE A LARGE EFFORT FOR EVERY UI

Vuex (global store)

Vue Router (paging/routes)

Composition API vs Options API (app/component structure/design)

Vue Class Component / Vue Property Decorator (component syntax + decorators)

Storybook for Vue 3 (UI components demo/test app)

See #16550.

Vuelidate (special validation)

See #13654.

Vue2Filters (inline special formatting)

See #13653.

Vue Test Utils (unit test tools)

Other considerations

Sub-issues

Sub-issues

35 of 49 Issues completed
Loading 49 sub-issues

Activity

  1. added
    ENTITY - DO NOT USE
    Names Team
    on May 9, 2025
  2. 28 remaining items

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ENTITY - DO NOT USENames Team

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions