stable

Clone or download

Read-only

Use store on drag'n'drop features instead of reload the page

This is part of story #18408 plan Features in Program Increment How to test: * Drag'n'drop features: * from backlog to PI * from PI to backlog * from PI to PI Expect results: * The page is not reloaded * After a drag'n'drop, you can reload the page => features keep their place Note to reviewer: Due to API Rest, a move between 2 PI is displayed after the 2 API calls, so it can be a little long. We will can think how to avoid this time for a next patch Change-Id: I81179f055798398b0fe5321b4a6ef204efbe63d3

Modified Files

Name
M plugins/program_management/scripts/program_management/src/components/App.vue +1 −1 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/drag-drop.test.ts +98 −10 Go to diff View file
M plugins/program_management/scripts/program_management/src/helpers/drag-drop.ts +118 −35 Go to diff View file
A plugins/program_management/scripts/program_management/src/helpers/feature-extractor.test.ts +61 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/helpers/feature-extractor.ts +39 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/store/actions.test.ts +140 −0 Go to diff View file
A plugins/program_management/scripts/program_management/src/store/actions.ts +71 −0 Go to diff View file
M plugins/program_management/scripts/program_management/src/store/getters.test.ts +21 −0 Go to diff View file
M plugins/program_management/scripts/program_management/src/store/getters.ts +25 −3 Go to diff View file
M plugins/program_management/scripts/program_management/src/store/index.ts +2 −0 Go to diff View file
M plugins/program_management/scripts/program_management/src/store/mutations.test.ts +69 −0 Go to diff View file
M plugins/program_management/scripts/program_management/src/store/mutations.ts +23 −0 Go to diff View file