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

Message "PDF is loading..." isn't displayed when PDF is loading in Preview #4997

Closed
isagoico opened this issue Sep 1, 2021 · 15 comments
Closed
Assignees
Labels
Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@isagoico
Copy link

isagoico commented Sep 1, 2021

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Launch the app
  2. Log in with any account
  3. Select any conversation
  4. Attached a PDF and sent it
  5. After PDF is loaded click on it

Expected Result:

Message as "PDF is loading..." is displayed when PDF is loading in Preview

Actual Result:

Message as "PDF is loading..." is displayed when PDF is loading in Preview

Workaround:

None needed, visual issue.

Platform:

Where is this issue confirmed?

  • Android

Version Number: 1.0.91-0

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5219503_Screen_Recording_20210901-150201_New_Expensify.mp4

Expensify/Expensify Issue URL:

View all open jobs on GitHub

@MelvinBot
Copy link

Triggered auto assignment to @Dal-Papa (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@Dal-Papa
Copy link

Dal-Papa commented Sep 2, 2021

Tagging @parasharrajat since he worked on this. I'm pretty sure the default text is Loading PDF... from the documentation so if we don't see it in the Android platform it might be that they didn't implement it for mobile ? We never explicitly specify the text ourselves.

@isagoico
Copy link
Author

isagoico commented Sep 5, 2021

Issue reproducible during KI retests

@Dal-Papa
Copy link

Dal-Papa commented Sep 6, 2021

Bump to @parasharrajat otherwise this might be a :donothing: since it's at the library level.

@MelvinBot MelvinBot removed the Overdue label Sep 6, 2021
@parasharrajat
Copy link
Member

I am on vacation. Back on 8.

@MelvinBot
Copy link

@Dal-Papa Whoops! This issue is 2 days overdue. Let's get this updated quick!

@parasharrajat
Copy link
Member

@Dal-Papa Sorry for catching up late here.
We can update this if you want.

On native, we have a prop activityIndicator which can be set as activityIndicator={<Text>Loading PDF…</Text>} to match the web.

Also, We can change both native and web to show the same loading indicator if Loading PDF… is not friendly.
For example,

  • showing our FullScreenLoadingIndicator for native
    activityIndicator={<FullScreenLoadingIndicator visible />}
  • showing our FullScreenLoadingIndicator for web.
    loading={<FullScreenLoadingIndicator visible />}

@Dal-Papa
Copy link

Awesome, thanks for the pointers @parasharrajat !

@MelvinBot MelvinBot added Overdue and removed Overdue labels Sep 10, 2021
@isagoico
Copy link
Author

Issue reproducible during KI retests.

@MelvinBot
Copy link

@Dal-Papa Whoops! This issue is 2 days overdue. Let's get this updated quick!

@parasharrajat
Copy link
Member

Let me know what needs to be done here. I can send a PR.

@MelvinBot
Copy link

@Dal-Papa Huh... This is 4 days overdue. Who can take care of this?

@MelvinBot
Copy link

@Dal-Papa Still overdue 6 days?! Let's take care of this!

@isagoico
Copy link
Author

Issue reproducible during KI retests.

@Dal-Papa
Copy link

Was OOO last week, will provide an update soon.

@MelvinBot MelvinBot removed the Overdue label Sep 21, 2021
@Dal-Papa Dal-Papa added the Reviewing Has a PR in review label Sep 21, 2021
@botify botify closed this as completed Sep 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

6 participants