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) 🍒 #3386

Merged

Conversation

github-actions[bot]
Copy link
Contributor

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

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 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 a team, alexandreferris, mchenani, Garzas, ohassine and saleniuk and removed request for a team August 27, 2024 10:19
Copy link

@codecov-commenter
Copy link

Codecov Report

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

Project coverage is 44.75%. Comparing base (682d006) to head (3ef0fb8).
Report is 1 commits behind head on release/candidate.

Files Patch % Lines
...d/ui/connection/ConnectionActionButtonViewModel.kt 66.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@                Coverage Diff                 @@
##           release/candidate    #3386   +/-   ##
==================================================
  Coverage              44.75%   44.75%           
==================================================
  Files                    456      456           
  Lines                  15403    15404    +1     
  Branches                2574     2574           
==================================================
+ Hits                    6893     6894    +1     
  Misses                  7783     7783           
  Partials                 727      727           
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 682d006...3ef0fb8. Read the comment docs.

Copy link
Contributor Author

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

@yamilmedina yamilmedina added this pull request to the merge queue Aug 27, 2024
github-merge-queue bot pushed a commit that referenced this pull request Aug 27, 2024
Merged via the queue into release/candidate with commit bdb6c27 Aug 27, 2024
12 of 13 checks passed
@yamilmedina yamilmedina deleted the fix/connection-button-eternal-spins-cherry-pick branch August 27, 2024 12:00
github-actions bot added a commit that referenced this pull request Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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