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: add loading screen when importing asset (WPB-10217) 🍒 #3267

Conversation

github-actions[bot]
Copy link
Contributor

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

BugWPB-10217 [Android] App stays on login page for a second when sharing image from galery

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 sharing an asset from the Gallery/Files and the app was previously closed, it would show a screen for the user to login for a split second even though the user was logged in.

Causes (Optional)

There was no state for loading while we fetch current logged in user.

Solutions

Add a new state for Loading in FeatureFlagState.FileSharingState so it can display the default loading screen for the split second.

Testing

How to Test

  • Open app login(be logged in)
  • Kill the app
  • Go to gallery and select an image to share
  • Select wire app
  • If you device is a bit slow you will notice the loading screen

Attachments (Optional)

Loading Screen

@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 1, 2024
@alexandreferris alexandreferris requested review from a team, typfel, borichellow, vitorhugods, ohassine, saleniuk, yamilmedina and MohamadJaara and removed request for a team August 1, 2024 13:15
Copy link
Contributor Author

github-actions bot commented Aug 1, 2024

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

Copy link
Contributor Author

github-actions bot commented Aug 1, 2024

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

Copy link

sonarqubecloud bot commented Aug 2, 2024

Copy link
Contributor Author

github-actions bot commented Aug 2, 2024

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

Copy link
Contributor Author

github-actions bot commented Aug 2, 2024

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

@alexandreferris alexandreferris added this pull request to the merge queue Aug 2, 2024
Merged via the queue into develop with commit 90ed8df Aug 2, 2024
12 checks passed
@alexandreferris alexandreferris deleted the fix/add_default_loading_screen_when_sharing_asset-cherry-pick branch August 2, 2024 08:50
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