You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Namerequest UI: Migrate the project from Vue CLI to Vite (part 1) #29274
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresHigh PriorityNames TeamName Request Name Examination Teamtechdebt
This sub-task addresses compatibility issues caused by outdated tooling in the NameRequest project:
The current project uses vue-cli-service, which is deprecated. Migrating to Vite will modernize the build setup and eliminate many TypeScript errors originating from node_modules.
The latest version of sbc-common-components has transitioned to Pinia for state management, while this project still uses Vuex, leading to potential integration issues.
As part of this task, evaluate and begin replacing Vuex with Pinia to align with shared component expectations.
To ensure sbc-common-components works smoothly across both Vue CLI and Vite projects, would it be possible to ask the team in charge of the common component:
Publish a compiled build (e.g., dist/ or lib/)
Export components and utilities from a top-level index.ts
And mark shared libraries like vue and axios as peerDependencies?
changed the title [-]NameRequest UI: Migrate the project from Vue CLI to Vite and replace Vuex with Pinia[/-][+]Namerequest UI: Migrate the project from Vue CLI to Vite and replace Vuex with Pinia[/+]on Sep 24, 2025
changed the title [-]Namerequest UI: Migrate the project from Vue CLI to Vite and replace Vuex with Pinia[/-][+]Namerequest UI: Migrate the project from Vue CLI to Vite + replace Vuex with Pinia[/+]on Sep 26, 2025
styles - please verify throughout the app (including inline icons, etc)
images - please verify:
the (1) and (2) images on the Manage My Name Request tab
the Sarah's and Construction images in the How to Build Your Name section (lower part of page)
the laptop image in the "A new and better way" section (lower part of page)
the Trademark/Domain Names/Social Media icons in the Helpful Tips section (lower part of page)
confirm-name-request.vue -- the post-payment return URL
renew.vue -- the post-payment return URL
resubmit.vue -- the post-payment return URL
retry.vue -- the post-payment return URL
upgrade.vue -- the post-payment return URL
payment-mixin-ts -- the Namex API URL for all network calls (post, get for payments, fees and receipts)
namex-services.ts -- the Namex API URL for all network calls (cancel payment, search entities, search colin, checkin NR, checkout NR, complete payment, download outputs, fetch stats, get NR by KC token, search NRs, name analysis, patch NR, patch NR by action, post NR, put NR, rollback NR)
actions.ts -- the Namex API URL for all network calls (fetch mras, get exact-match, get synonms, get restricted words)
login/logout
Basically, I'm expecting everything to work properly, same as before.
To ensure sbc-common-components works smoothly across both Vue CLI and Vite projects
In my experience (across the other Entity UIs), sbc-common-components works exactly the same between Vue CLI and Vite projects -- the subject framework tools only have a build impact, not a runtime impact.
Part of Eve's question referred to deploying sbc-common-components and importing it differently. I believe this is out of scope of THIS ticket. THIS ticket is only to upgrade Namerequest UI to Vite.
Update: Namerequest UI "patches" an older version of the imported sbc-common-components library because it can't use the latest library version... yet. The Pinia upgrade will unlock this, allowing the use of the latest library and enabling the use of the Account Id to retain the account when navigating between UIs (which is a separate ticket probably).
changed the title [-]Namerequest UI: Migrate the project from Vue CLI to Vite + replace Vuex with Pinia[/-][+]Namerequest UI: Migrate the project from Vue CLI to Vite[/+]on Oct 7, 2025
Since both the Vite upgrade and Pinia upgrade are large tasks, and they are independent, and I have completed the Vite upgrade, I created new ticket #30987 for the Pinia upgrade and THIS ticket is for the Vite upgrade only.
changed the title [-]Namerequest UI: Migrate the project from Vue CLI to Vite[/-][+]Namerequest UI: Migrate the project from Vue CLI to Vite (part 1)[/+]on Oct 7, 2025
Entities TeamA label to filter on the tickets for the Entities based team that takes care of front end featuresHigh PriorityNames TeamName Request Name Examination Teamtechdebt
Activity
ozamani9gh commentedon Jul 23, 2025
@eve-git if you need to bump this up to an 8 go for it, or create a few more tickets to break this work down.
ozamani9gh commentedon Jul 24, 2025
@eve-git reach out to Severin he believes this shouldn't take too long
severinbeauvais commentedon Jul 24, 2025
Sample changes for Vite migration:
bcgov/business-filings-ui#540
bcgov/business-edit-ui#524
Sample changes for Pinia migration:
bcgov/business-filings-ui#500
bcgov/business-edit-ui#472
[-]NameRequest UI: Migrate the project from Vue CLI to Vite and replace Vuex with Pinia[/-][+]Namerequest UI: Migrate the project from Vue CLI to Vite and replace Vuex with Pinia[/+]5 remaining items
[-]Namerequest UI: Migrate the project from Vue CLI to Vite and replace Vuex with Pinia[/-][+]Namerequest UI: Migrate the project from Vue CLI to Vite + replace Vuex with Pinia[/+]severinbeauvais commentedon Sep 26, 2025
Test Notes for Vite upgrade
The following have been touched:
Basically, I'm expecting everything to work properly, same as before.
severinbeauvais commentedon Sep 29, 2025
Eve wrote:
In my experience (across the other Entity UIs), sbc-common-components works exactly the same between Vue CLI and Vite projects -- the subject framework tools only have a build impact, not a runtime impact.
Part of Eve's question referred to deploying sbc-common-components and importing it differently. I believe this is out of scope of THIS ticket. THIS ticket is only to upgrade Namerequest UI to Vite.
Update: Namerequest UI "patches" an older version of the imported sbc-common-components library because it can't use the latest library version... yet. The Pinia upgrade will unlock this, allowing the use of the latest library and enabling the use of the Account Id to retain the account when navigating between UIs (which is a separate ticket probably).
[-]Namerequest UI: Migrate the project from Vue CLI to Vite + replace Vuex with Pinia[/-][+]Namerequest UI: Migrate the project from Vue CLI to Vite[/+]severinbeauvais commentedon Oct 7, 2025
Since both the Vite upgrade and Pinia upgrade are large tasks, and they are independent, and I have completed the Vite upgrade, I created new ticket #30987 for the Pinia upgrade and THIS ticket is for the Vite upgrade only.
[-]Namerequest UI: Migrate the project from Vue CLI to Vite[/-][+]Namerequest UI: Migrate the project from Vue CLI to Vite (part 1)[/+]severinbeauvais commentedon Oct 7, 2025
The Vite PR has been merged to Dev.
When the Names Team is available, please deploy Namerequest UI to Test for QA to proceed. Thanks!
riyazuddinsyed commentedon Nov 6, 2025
Verified in dev.Working as expected.
HimaniTanwarGov commentedon Dec 22, 2025
Closed as done & verified