stable

Clone or download

Read-only

refactor: Use Pinia instead of Vuex

Pinia is prefered over Vuex (See adr/0011-js-framework.md) No functional changes. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I8f8e0ecd76245ba36d86f539f94d8b60179219bb

Modified Files

Name
M src/package.json +2 −0 Go to diff View file
M src/pnpm-lock.yaml +35 −1 Go to diff View file
M src/scripts/switch-to/src/components/AppBurningParrot.test.ts +9 −15 Go to diff View file
M src/scripts/switch-to/src/components/AppBurningParrot.vue +2 −5 Go to diff View file
M src/scripts/switch-to/src/components/AppFlamingParrot.test.ts +7 −25 Go to diff View file
M src/scripts/switch-to/src/components/AppFlamingParrot.vue +4 −9 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.test.ts +59 −46 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ListOfProjects.vue +13 −9 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ProjectLink.test.ts +21 −21 Go to diff View file
M src/scripts/switch-to/src/components/Body/Projects/ProjectLink.vue +9 −12 Go to diff View file
M src/scripts/switch-to/src/components/Body/RecentItems/ListOfRecentItems.test.ts +112 −87 Go to diff View file
M src/scripts/switch-to/src/components/Body/RecentItems/ListOfRecentItems.vue +21 −18 Go to diff View file
M src/scripts/switch-to/src/components/Body/RecentItems/RecentItemsEntry.test.ts +8 −28 Go to diff View file
M src/scripts/switch-to/src/components/Body/RecentItems/RecentItemsEntry.vue +5 −8 Go to diff View file
M src/scripts/switch-to/src/components/Body/SearchResults/SearchResults.test.ts +25 −20 Go to diff View file
M src/scripts/switch-to/src/components/Body/SearchResults/SearchResults.vue +3 −6 Go to diff View file
M src/scripts/switch-to/src/components/Body/SwitchToBody.test.ts +30 −25 Go to diff View file
M src/scripts/switch-to/src/components/Body/SwitchToBody.vue +16 −11 Go to diff View file
M src/scripts/switch-to/src/components/Body/TroveCatLink.test.ts +13 −14 Go to diff View file
M src/scripts/switch-to/src/components/Body/TroveCatLink.vue +4 −3 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToFilter.test.ts +19 −26 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToFilter.vue +10 −10 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToHeader.test.ts +19 −20 Go to diff View file
M src/scripts/switch-to/src/components/Header/SwitchToHeader.vue +15 −10 Go to diff View file
R src/scripts/switch-to/src/store/index.ts Go to diff View file
M src/scripts/switch-to/src/helpers/local-vue-for-test.ts +2 −2 Go to diff View file
M src/scripts/switch-to/src/initiate-app.ts +9 −7 Go to diff View file
D src/scripts/switch-to/src/store/actions.test.ts +0 −557 Go to diff View file
D src/scripts/switch-to/src/store/actions.ts +0 −130 Go to diff View file
D src/scripts/switch-to/src/store/getters.test.ts +0 −66 Go to diff View file
D src/scripts/switch-to/src/store/getters.ts +0 −64 Go to diff View file
D src/scripts/switch-to/src/store/mutations.test.ts +0 −49 Go to diff View file
D src/scripts/switch-to/src/store/mutations.ts +0 −42 Go to diff View file
A src/scripts/switch-to/src/stores/index.test.ts +637 −0 Go to diff View file
A src/scripts/switch-to/src/stores/index.ts +190 −0 Go to diff View file
R src/scripts/switch-to/src/store/type.ts Go to diff View file