stable

Clone or download

Read-only

Add store in Program Management plugin

This is part of story #18408 plan Features in Program Increment The final goal is to use this store when we plan/unplan features, because for the moment, when a feature is planned/unplanned, the page is reloaded. Now there is a store to store features and PI. You can still plan/unplan features in PI. How to test: * When you open/close a PI => The features are loaded only once time. (Before, when a PI was opening, there was a call to API Rest to get its features even if there were already loaded) Change-Id: I87584b08fcb9fa7a152bc9b66c5735526a9cc0cd

Modified Files

Name
M plugins/program_management/package-lock.json +26 −0 Go to diff View file
M plugins/program_management/package.json +6 −3 Go to diff View file
M plugins/program_management/scripts/program_management/index.ts +4 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ProgramIncrement/ProgramIncrementFeatureList.test.ts +96 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ProgramIncrement/ProgramIncrementFeatureList.vue +25 −15 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ToBePlanned/ToBePlanned.test.ts +51 −3 Go to diff View file
M plugins/program_management/scripts/program_management/src/components/Backlog/ToBePlanned/ToBePlanned.vue +8 −2 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/program-increment-retriever.test.ts +2 −0 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/ProgramIncrement/program-increment-retriever.ts +2 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/store/getters.test.ts +76 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/store/getters.ts +40 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/store/index.ts +36 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/store/mutations.test.ts +69 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/store/mutations.ts +40 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/store/state.ts +27 −0 Go to diff View file
M plugins/program_management/scripts/program_management/src/type.ts +7 −0 Go to diff View file