stable

Clone or download

Read-only

Enable AgileDashboard kanban use mercure messages

This patch aims to allow AgileDashboard/Kanban to use mercure messages Only messages concerning Artifacts are being treated in this patch 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 3 actions: Move a card, update a card, create a card, should be displayed in both of those clients Part of story #28301 Have Kanban realtime be Mercure based Change-Id: I79b3f0fa774b00e68f64abe6d1c32b12dc714970

Modified Files

Name
M plugins/agiledashboard/pnpm-lock.yaml +4 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/package.json +1 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/pnpm-lock.yaml +6 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/app-kanban-controller.js +25 −20 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/app-main-controller.js +2 −2 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/app.js +2 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/kanban-column/kanban-column-service.js +19 −0 Go to diff View file
A plugins/agiledashboard/scripts/kanban/src/app/realtime/buildEventDispatcher.test.js +70 −0 Go to diff View file
A plugins/agiledashboard/scripts/kanban/src/app/realtime/buildEventDispatcher.ts +18 −0 Go to diff View file
A plugins/agiledashboard/scripts/kanban/src/app/realtime/mercure-config.js +2 −0 Go to diff View file
A plugins/agiledashboard/scripts/kanban/src/app/realtime/mercure-service.js +152 −0 Go to diff View file
A plugins/agiledashboard/scripts/kanban/src/app/realtime/mercure.js +11 −0 Go to diff View file
A plugins/agiledashboard/scripts/kanban/src/app/realtime/realtime-mercure-service.test.js +187 −0 Go to diff View file
A plugins/agiledashboard/scripts/kanban/src/app/realtime/realtime-mercure.ts +77 −0 Go to diff View file
M plugins/agiledashboard/scripts/kanban/src/app/shared-properties/shared-properties-service.js +7 −0 Go to diff View file