code-corps / code-corps/code-corps-ember

Skip update selection in task assignment if change is processing

オープン
#1,486 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
120
フォーク
75
PR マージ指標
30日以内にマージされた PR はありません

説明

# Problem

Right now, this code below, found in `components/task-assignment`, updates the user selection when it changes.

```didReceiveAttrs() {
let { taskUserId, users } = getProperties(this, 'taskUserId', 'users');
if (users) {
set(this, 'selectedOption', users.findBy('id', taskUserId));
}
},```

However, this updates while the change is still processing, and rolls back if it fails. It'd be preferred if for the update to be skipped if the change is processing. It also fails to roll back when reassignment fails.

## References
#1435

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。