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

fix: button keeps spinning when user starts a conversation and back (WPB-5862) 🍒 🍒 #3391

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 27, 2024

This PR was automatically cherry-picked based on the following PR:

Original PR description:


BugWPB-5862 [Android] "Start conversation" button keeps spinning when user starts a conversation and clicks on back button.

This PR was automatically cherry-picked based on the following PR:

Original PR description:



PR Submission Checklist for internal contributors

  • The PR Title

    • conforms to the style of semantic commits messages¹ supported in Wire's Github Workflow²
    • contains a reference JIRA issue number like SQPIT-764
    • answers the question: If merged, this PR will: ... ³
  • The PR Description

    • is free of optional paragraphs and you have filled the relevant parts to the best of your ability

What's new in this PR?

Issues

When the user goes to open conversation, and comes back, the loading indicator keeps loading indefinitely.

Causes (Optional)

Not reassigning new state in view model.

Solutions

Fix it, and add missing checks in tests

Testing

Test Coverage (Optional)

  • I have added automated test to this contribution

PR Post Submission Checklist for internal contributors (Optional)

  • Wire's Github Workflow has automatically linked the PR to a JIRA issue

PR Post Merge Checklist for internal contributors

  • If any soft of configuration variable was introduced by this PR, it has been added to the relevant documents and the CI jobs have been updated.

References
  1. https://sparkbox.com/foundry/semantic_commit_messages
  2. https://github.com/wireapp/.github#usage
  3. E.g. feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764.

@github-actions github-actions bot added cherry-pick PR is cherry-picking changes from another banch echoes: unplanned Any work item that isn’t part of the product or technical roadmap. size/XS labels Aug 27, 2024
@yamilmedina yamilmedina requested review from alexandreferris, a team, MohamadJaara, mchenani, Garzas and ohassine and removed request for a team August 27, 2024 12:10
Copy link

sonarcloud bot commented Aug 27, 2024

@yamilmedina yamilmedina added this pull request to the merge queue Aug 27, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 44.39%. Comparing base (8fa1f4f) to head (e45963f).
Report is 1 commits behind head on develop.

Files Patch % Lines
...d/ui/connection/ConnectionActionButtonViewModel.kt 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3391   +/-   ##
========================================
  Coverage    44.39%   44.39%           
========================================
  Files          463      463           
  Lines        15465    15466    +1     
  Branches      2578     2578           
========================================
+ Hits          6865     6866    +1     
  Misses        7872     7872           
  Partials       728      728           
Files Coverage Δ
...d/ui/connection/ConnectionActionButtonViewModel.kt 71.42% <66.66%> (+0.31%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fa1f4f...e45963f. Read the comment docs.

Copy link
Contributor Author

Built wire-android-staging-compat-pr-3391.apk is available for download

Copy link
Contributor Author

Built wire-android-dev-debug-pr-3391.apk is available for download

Merged via the queue into develop with commit 2e17a6a Aug 27, 2024
11 of 12 checks passed
@yamilmedina yamilmedina deleted the fix/connection-button-eternal-spins-cherry-pick-cherry-pick branch August 27, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick PR is cherry-picking changes from another banch echoes: unplanned Any work item that isn’t part of the product or technical roadmap. size/XS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants