stable
Clone or download
Read-only
part of request #16233 Get rid of restangular in Planning view app No functional change expected. Things to try: - View the Top Backlog planning - View a Sprint planning - Expand a milestone - Load closed milestones - Drag and drop (backlog items, to/from milestones, backlog item children) - Create a milestone, a backlog item - Edit a milestone, a backlog item - Remove from top backlog - Show detailed cards / small cards Implementation notes: We cannot mix async/await with angularJS promises. As long as the external API uses angularJS promises, our code MUST use .then() and .catch(). Otherwise, it never works in jest tests (we reach timeout). Change-Id: Ia28d7331e666257801d7e4cd730b6eddacefc0c5
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/agiledashboard/scripts/planning-v2/jest.config.js | +0 | −1 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/package-lock.json | +0 | −8 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/package.json | +0 | −1 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/app.js | +0 | −2 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/backlog-item-rest/backlog-item-service.js | +101 | −124 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/backlog-item-rest/backlog-item-service.test.js | +137 | −107 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/backlog/backlog-controller.test.js | +0 | −1 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/milestone-rest/milestone-service.js | +159 | −178 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/milestone-rest/milestone-service.test.js | +194 | −151 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/planning-controller.test.js | +0 | −1 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/project/project-service.js | +72 | −69 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/project/project-service.test.js | +71 | −51 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/user-preferences/user-preferences-service.js | +11 | −12 | Go to diff View file |
M | plugins/agiledashboard/scripts/planning-v2/src/app/user-preferences/user-preferences-service.test.js | +24 | −14 | Go to diff View file |
D | plugins/agiledashboard/scripts/planning-v2/tests/jest.setup.js | +0 | −23 | Go to diff View file |