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

DPL-1029 - Convert ont pool create and update to Pinia store as we want to remove the use of Vuex #1454

Open
3 tasks
seenanair opened this issue Dec 14, 2023 · 0 comments
Labels
Pinia Pinia Size: M Medium - medium effort & risk Technical Debt Technical debt Traction Stories related to Traction application Value: 3 Value to the insitute is average

Comments

@seenanair
Copy link
Contributor

seenanair commented Dec 14, 2023

User story
As Pinia has now become the defacto recommended state management library for Vue 3, we are planning to migrate from VueX to Pinia. As part of clean migration, the conversion is planned module by module from VueX to Pinia.

  • Convert pacbio VueX module runs in store/traction/ont/pools to Pinia store
    • Convert to a Pinia store with id same as namespace in Vuex
    • Convert state, getters, action
    • Remove mutation
  • Convert usage inside components
  • Use Options API support of Pinia to maintain the existing code as much as possible

Acceptance criteria
To be considered successful ,the solution must allow replacement of following pacbio Vuex module to Pinia stores

  • move createPool and updatePool to Pinia OntPoolCreate store
  • move any associated actions, mutations and state to OntPoolCreate store
  • move any utility methods to stores/utilities

Who are the primary contacts for this story
Steve/Seena

Additional context
This story has a non-blocking relationship with:

References
[Pinia]
[Migration (https://pinia.vuejs.org/)]
[Migration] (https://pinia.vuejs.org/cookbook/migration-vuex.html)

@seenanair seenanair added Size: M Medium - medium effort & risk Technical Debt Technical debt Traction Stories related to Traction application Value: 3 Value to the insitute is average labels Dec 14, 2023
@seenanair seenanair self-assigned this Dec 14, 2023
@seenanair seenanair removed their assignment Dec 16, 2024
@stevieing stevieing added the Pinia Pinia label Dec 16, 2024
@stevieing stevieing changed the title DPL-1029 - Convert Ont VueX module store/traction/ont/pools to Pinia store DPL-1029 - Convert ont pool create and update to Pinia store as we want to remove the use of Vuex Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pinia Pinia Size: M Medium - medium effort & risk Technical Debt Technical debt Traction Stories related to Traction application Value: 3 Value to the insitute is average
Projects
None yet
Development

No branches or pull requests

2 participants