-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
tb-teamTasks and features handled by project maintainersTasks and features handled by project maintainerstype: enhancementNew features or improvements to existing features.New features or improvements to existing features.
Description
Description
Implement the MoveMessages use case within the MessageOperationsContract. This use case is responsible for moving messages between folders in the local database and coordinating the move on the remote server.
Goal
To provide a reactive way to move messages that can be easily chained within the DeleteMessages orchestration pipeline.
Acceptance Criteria
- The use case returns a
Flow<Outcome<MoveMessagesOutcome.Success, MoveMessagesOutcome.Error>>. - Successfully updates message folder associations in the local repository.
- Triggers the corresponding move operation on the
Backend. - Correctness is verified via unit tests using Fakes (e.g., FakeMessageRepository, FakeBackend) covering success and failure (e.g., move error) scenarios.
Technical Details
- Must provide a mapping of source
MessageUids to new destinationMessageUids (for UIDs that change during a move) to support downstream flag updates.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
tb-teamTasks and features handled by project maintainersTasks and features handled by project maintainerstype: enhancementNew features or improvements to existing features.New features or improvements to existing features.
Type
Projects
Status
In progress