graasp / graasp/graasp-api

Update the web socket of the copy items to be sent after the transaction

Open
#840 0 comments 0 reactions 1 assignee Claimed by @ReidyT View on GitHub
Dominant language
TypeScript
Stars
7
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Please check out issue #806, which provides a detailed explanation of the problem. The issue #831 is the same, but for the move action.

The concept is to send a WebSocket containing the updated data each time a transaction is completed for the copy item. This allows for the invalidation of the cache for the respective item.

After all transactions are completed (when copying multiple items), a feedback WebSocket is sent to indicate that the task has been completed on the frontend. It would be beneficial to inform which item wasn't copied in case of an error, especially when it was expected to copy along with the other items.

Similar processes will be implemented for delete, recycle, and validation once the current process is functional.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.