stable

Clone or download

Read-only

I can choose assignee for a card

Have a story tracker with a multiselectbox as assign to, and set contributor semantic accordingly. Field must be updatable. Have a children task tracker with a selectbox as assign to, and set contributor semantic accordingly. Field must be updatable. Switch a story to edit mode. Click on assignees. You can choose more than one people to add/remove from the list. Cancel the edition. Switch a task to edit mode. Click on assignee. You can choose only one assignee. Cancel the edition. If server takes time to retrieve the users, then a spinner is displayed so that user knows that action is ongoing. Note: user (de)selection is not saved for now. Note: users are always retrieved. We should save resources by making only one call per field. This can be done in a dedicated changeset. Part of story #14151: Update the assigned-to semantic of a card Change-Id: Id7acb92c2dba69930e38b26edb9b18b0d6d56363

Modified Files

Name
M plugins/taskboard/scripts/jest.config.js +5 −1 Go to diff View file
M plugins/taskboard/scripts/package-lock.json +47 −0 Go to diff View file
M plugins/taskboard/scripts/package.json +6 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/po/fr_FR.po +9 −0 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/CardAssignees.test.ts +57 −16 Go to diff View file
M plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/CardAssignees.vue +113 −15 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/Editor/Assignees/PeoplePicker.test.ts +52 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/Editor/Assignees/PeoplePicker.vue +125 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/Editor/Assignees/__snapshots__/PeoplePicker.test.ts.snap +8 −0 Go to diff View file
A plugins/taskboard/scripts/taskboard/src/components/TaskBoard/Body/Swimlane/Card/Editor/Assignees/type.ts +25 −0 Go to diff View file
M plugins/taskboard/scripts/webpack.common.js +2 −1 Go to diff View file
M plugins/taskboard/themes/includes/_body.scss +1 −1 Go to diff View file
M plugins/taskboard/themes/includes/_card-edit.scss +29 −1 Go to diff View file
M plugins/taskboard/themes/includes/_card-read.scss +1 −0 Go to diff View file
M src/www/themes/common/tlp/src/index.d.ts +1 −3 Go to diff View file
A src/www/themes/common/tlp/src/js/select2.d.ts +31 −0 Go to diff View file