Skip to content
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

refactor: conversation message timer update event - WPB-10171 #2098

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

jullianm
Copy link
Contributor

@jullianm jullianm commented Oct 29, 2024

TaskWPB-10171 [iOS] Process ConversationMessageTimerUpdateEvent

Key points

This PR is part of the quick sync refactoring plan and is related to processing the multiple events we receive from the backend or the push channel.

Specifically, this PR is about porting the existing implementation of the ConversationMessageTimerUpdate event.

Testing

UTs cover the following use cases, ensuring that

  • event is processed with repo/store methods correctly invoked

Checklist

  • Title contains a reference JIRA issue number like [WPB-XXX].
  • Description is filled and free of optional paragraphs.
  • Adds/updates automated tests.

UI accessibility checklist

If your PR includes UI changes, please utilize this checklist:

  • Make sure you use the API for UI elements that support large fonts.
  • All colors are taken from WireDesign.ColorTheme or constructed using WireDesign.BaseColorPalette.
  • New UI elements have Accessibility strings for VoiceOver.

Copy link
Collaborator

@netbe netbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, can you ping me again on this one once other related PRs are merged (message system...)

messageType: messageType,
conversationID: conversationID.uuid,
conversationDomain: conversationID.domain
)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

some updates introduces in this PR, now that the MessageRepository is merged, I've added a MessageType case to handle the timer update message through the dedicated repository.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jullianm jullianm requested a review from netbe November 26, 2024 15:30
Copy link
Contributor

Test Results

    3 files    326 suites   3m 21s ⏱️
1 908 tests 1 908 ✅ 0 💤 0 ❌
1 916 runs  1 916 ✅ 0 💤 0 ❌

Results for commit 768b81b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants