-
Notifications
You must be signed in to change notification settings - Fork 24
feat(cells): delete message with files - WPB-19433 #3712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
wire-ios/Wire-iOS/Sources/UserInterface/Conversation/Content/Cells/MessageAction.swift
Outdated
Show resolved
Hide resolved
Test Results2 059 tests 2 032 ✅ 2m 11s ⏱️ Results for commit c78ee91. ♻️ This comment has been updated with latest results. |
…ire-ios into feat/delete-message-with-files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: @jullianm Why is there a need to attach the closure to the delete
action. Can't everything be done in ConversationContentViewController.messageAction(actionId:for:view:)
?
@samwyndham you're completely right, the closure is useless, I'll revert these changes and keep the rest, thanks! |
@samwyndham removed unnecessary code in 8b33bcb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a couple comments before approving
...ces/UserInterface/Conversation/Content/ConversationContentViewController+MessageAction.swift
Outdated
Show resolved
Hide resolved
...face/Conversation/ConversationViewController+ConversationContentViewControllerDelegate.swift
Outdated
Show resolved
Hide resolved
...face/Conversation/ConversationViewController+ConversationContentViewControllerDelegate.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Approving assuming @netbes comments are addressed.
...ces/UserInterface/Conversation/Content/ConversationContentViewController+MessageAction.swift
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM;)
Issue
This PR handles deletion of files (WireCells) on multipart messages sent in a conversation, specifically it covers the following use cases:
Files should be deleted when opening the Files view.
Note: As aligned with web client, when deleting a message for self user only, message and files will disappear from the conversation however files will still show up in the Files view.
Testing
Above use cases were tested.
Checklist
[WPB-XXX]
.UI accessibility checklist
If your PR includes UI changes, please utilize this checklist: