Skip to content

[HOLD for payment 2024-10-07] [$250] Track - Loading spinner appears on a Track your expenses video modal #48650

Closed

Description

@lanitochka17

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


Version Number: 9.0.29-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): gocemate+a2069@gmail.com
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to FAB> Track
  2. Verify that video modal appears

Expected Result:

There should be no loading spinner over the video modal

Actual Result:

Loading spinner appears on a Track your expenses video modal and remains to the end of the video

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6593462_1725483841193.Recording__3883.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021832057700758749301
  • Upwork Job ID: 1832057700758749301
  • Last Price Increase: 2024-09-20
  • Automatic offers:
    • HezekielT | Contributor | 104122623
Issue OwnerCurrent Issue Owner: @hungvu193

Activity

  1. added
    BugSomething is broken. Auto assigns a BugZero manager.
    on Sep 5, 2024
  2. melvin-bot commented on Sep 5, 2024

    @melvin-bot

    Triggered auto assignment to @bfitzexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. lanitochka17 commented on Sep 5, 2024

    @lanitochka17
    Author

    @bfitzexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

  4. nyomanjyotisa commented on Sep 5, 2024

    @nyomanjyotisa
    Member

    Edited by proposal-police: This proposal was edited at {current_timestamp}.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Loading spinner appears on a Track your expenses video modal

    What is the root cause of that problem?

    The loading spinner is controlled by setIsLoading and relies on status.durationMillis here. And sometime the expo-av video player might not be providing valid values for durationMillis

    What changes do you think we should make in order to solve the problem?

    Update the setIsLoading logic to handle both durationMillis and positionMillis, only set isLoading to true if status.durationMillis is NaN and status.positionMillis is 0

    setIsLoading(Number.isNaN(status.durationMillis) && status.positionMillis === 0);
    

    This ensures that the spinner disappears when the video starts playing

    What alternative solutions did you explore? (Optional)

  5. added
    ExternalAdded to denote the issue can be worked on by a contributor
    on Sep 6, 2024
  6. changed the title [-]Track - Loading spinner appears on a Track your expenses video modal[/-] [+][$250] Track - Loading spinner appears on a Track your expenses video modal[/+] on Sep 6, 2024
  7. melvin-bot commented on Sep 6, 2024

    @melvin-bot
  8. added
    Help WantedApply this label when an issue is open to proposals by contributors
    on Sep 6, 2024
  9. melvin-bot commented on Sep 6, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 (External)

  10. bfitzexpensify commented on Sep 6, 2024

    @bfitzexpensify
    Contributor

    I am heading out of office until September 21st, so assigning a buddy to watch over this in my absence.

    Current status: waiting on proposals

  11. added
    BugSomething is broken. Auto assigns a BugZero manager.
    and removed
    BugSomething is broken. Auto assigns a BugZero manager.
    on Sep 6, 2024
  12. 38 remaining items

  13. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    and removed
    ReviewingHas a PR in review
    on Oct 4, 2024
  14. mvtglobally commented on Oct 5, 2024

    @mvtglobally

    Issue not reproducible during KI retests. (First week)

  15. bfitzexpensify commented on Oct 8, 2024

    @bfitzexpensify
    Contributor

    Payment summary:

    @HezekielT to be paid $250 for contributor work - @HezekielT, can you confirm the payment via Upwork went through? They've been having some issues processing payments
    @hungvu193 to be paid $250 via manual request

  16. garrettmknight commented on Oct 8, 2024

    @garrettmknight
    Contributor

    $250 approved for @hungvu193

  17. HezekielT commented on Oct 9, 2024

    @HezekielT
    Contributor

    can you confirm the payment via Upwork went through?

    Yes, I have received the payment. Thanks @bfitzexpensify

  18. melvin-bot commented on Oct 15, 2024

    @melvin-bot

    @hungvu193, @bfitzexpensify, @HezekielT, @MarioExpensify Huh... This is 4 days overdue. Who can take care of this?

  19. MarioExpensify commented on Oct 15, 2024

    @MarioExpensify
    Contributor

    Hey @bfitzexpensify can we close this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions