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) #3260

Conversation

alexandreferris
Copy link
Contributor

@alexandreferris alexandreferris commented Jul 31, 2024

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


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

@alexandreferris alexandreferris changed the base branch from develop to release/candidate July 31, 2024 14:38
@echoes-hq echoes-hq bot added echoes: unplanned Any work item that isn’t part of the product or technical roadmap. echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. echoes: throughput/ci-maintenance echoes/initiative: product-metrics-in-countly Analytics and KPIs labels Jul 31, 2024
Copy link

Ups 🫰🟨

This PR is too big. Please try to break it up into smaller PRs.

@alexandreferris alexandreferris removed echoes: technical-roadmap/technical-debt More specific category, to highlight Technical Debt being tackled. echoes: product-roadmap Work aligned with the customer-announced roadmap, targeting a specific release date. echoes: throughput/ci-maintenance echoes/initiative: product-metrics-in-countly Analytics and KPIs labels Jul 31, 2024
@alexandreferris alexandreferris requested review from a team, typfel, MohamadJaara, mchenani, Garzas and saleniuk and removed request for a team July 31, 2024 14:39
Copy link
Contributor

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

Copy link
Contributor

Built wire-android-internal-compat-pr-3260.apk is available for download

Copy link
Contributor

github-actions bot commented Aug 1, 2024

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

Copy link
Contributor

github-actions bot commented Aug 1, 2024

Built wire-android-internal-compat-pr-3260.apk is available for download

Copy link

sonarqubecloud bot commented Aug 1, 2024

Copy link
Contributor

github-actions bot commented Aug 1, 2024

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

Copy link
Contributor

github-actions bot commented Aug 1, 2024

Built wire-android-internal-compat-pr-3260.apk is available for download

@alexandreferris alexandreferris added this pull request to the merge queue Aug 1, 2024
Merged via the queue into release/candidate with commit 92ef1f2 Aug 1, 2024
11 of 12 checks passed
@alexandreferris alexandreferris deleted the fix/add_default_loading_screen_when_sharing_asset branch August 1, 2024 13:14
github-actions bot pushed a commit that referenced this pull request Aug 1, 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