Skip to content

fix: Not able to swipe - WPB-17839 #3082

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

Merged
merged 4 commits into from
May 28, 2025

Conversation

dmitrysimkin
Copy link
Contributor

@dmitrysimkin dmitrysimkin commented May 27, 2025

BugWPB-17839 [iOS] Not Able to swipe react reply

Issue

Turned out to be that when there are not read messages, when you open conversation, there was a several calls to re-calculate sections at same time which made data, in particular action controllers, not in sync. actionContollers dict has correct action controller for a message but not in sectionController.actionController.

Fix is to sync calls to calculate sections using leading and trailing debouncer so at a given moment there is only one calculation.

Testing

As per ticket steps


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
Contributor

github-actions bot commented May 27, 2025

Test Results

1 799 tests   1 773 ✅  2m 3s ⏱️
  286 suites     26 💤
    1 files        0 ❌

Results for commit cbbca30.

♻️ This comment has been updated with latest results.

@datadog-wireapp
Copy link

datadog-wireapp bot commented May 27, 2025

Datadog Report

Branch report: fix/not-able-to-swipe-WPB-17839-2
Commit report: 949a8de
Test service: wire-ios-mono

✅ 0 Failed, 1773 Passed, 26 Skipped, 2m 6.59s Total Time

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.

LGTM;) just left a suggestion

@dmitrysimkin dmitrysimkin enabled auto-merge (squash) May 28, 2025 09:21
@dmitrysimkin dmitrysimkin merged commit 851efb5 into release/cycle-3.124 May 28, 2025
8 checks passed
@dmitrysimkin dmitrysimkin deleted the fix/not-able-to-swipe-WPB-17839-2 branch May 28, 2025 10:59
zenkins pushed a commit that referenced this pull request May 28, 2025
@github-actions github-actions bot mentioned this pull request May 28, 2025
6 tasks
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