stable

Clone or download

Read-only

Update kanban structure using mercure message

This patch aims to allow AgileDashboard/Kanban to update a kanban structure using mercure messages A further patch will add connection error handling To test , you should 1) Build, Install and enable mercure on your own tuleap instance 2) setting feature_flag_enable_mercure_dev to 1 in bash-web /!\ Enabling mercure will disable socket.io, if you wish to revert you can simply set feature_flag_enable_mercure_dev to 0 3) Connect to two different accounts, go to any kanban, then any of those 5 actions: add a column, rename a column, delete a column, edit the kanban title, and delete the kanban title Each should be seen on both client Part of story #28301 Have Kanban realtime be Mercure based Change-Id: I693c944eafa1fa6a4d407b0ea6254850b2bdef28

Modified Files

Name
M plugins/agiledashboard/scripts/kanban/src/app/app-kanban-controller.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-service.js +1 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-service.test.js +3 −1 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/realtime/buildEventDispatcher.ts +13 −9 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/realtime/mercure-service.js +54 −5 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/realtime/realtime-mercure-service.test.js +76 −4 Go to diff View file