Skip to content

IOU - There is a delay in displaying the members involved in a split bill #34271

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: 1.4.24-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Open a group chat
  2. Go to the Split bill
  3. Enter the amount and proceed next
  4. Notice members section displayed after a second

Expected Result:

There should not be delay in displaying the members involved in a split bill

Actual Result:

There is a delay in displaying the members involved in a split bill

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

Bug6337966_1704907747991.2024-01-10_20-47-14.mp4

View all open jobs on GitHub

Activity

  1. github-actions commented on Jan 10, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  2. melvin-bot commented on Jan 10, 2024

    @melvin-bot

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

  3. dukenv0307 commented on Jan 10, 2024

    @dukenv0307
    Contributor

    Proposal

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

    "To" field shows up late on confirmation page

    What is the root cause of that problem?

    We initialize the data when the component is mounted and wrap it into InteractionManager.runAfterInteractions which makes the delay.

    this.interactionTask = InteractionManager.runAfterInteractions(() => {

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

    I think we should add an extra props like shouldInitialAfterInteraction with the default value as false

    We will only initialize after the interaction If shouldInitialAfterInteraction is true

    this.interactionTask = InteractionManager.runAfterInteractions(() => {

    We will pass it as true in some pages which we want the transaction smoother like SearchPage, StartChat, ...

    What alternative solutions did you explore? (Optional)

    We can change the default value of shouldInitialAfterInteraction to true and add this as false in confirm page and others which we need.

    Or we can only wrap the interaction if the platform is not web and desktop.

  4. situchan commented on Jan 10, 2024

    @situchan
    Contributor

    fixed in #34267 which is being CP'ed

  5. amyevans commented on Jan 10, 2024

    @amyevans
    Contributor

    Perfect, will keep an eye on the build

  6. amyevans commented on Jan 10, 2024

    @amyevans
    Contributor

    @lanitochka17 could you retest on the latest staging build please? (1.4.24-1)

  7. amyevans commented on Jan 10, 2024

    @amyevans
    Contributor

    Asked in #qa as well for a retest. I can't repro but would love some additional confirmation 😄

  8. mountiny commented on Jan 11, 2024

    @mountiny
    Contributor

    Reverted #33596 (comment) so we can close now

  9. amyevans commented on Jan 11, 2024

    @amyevans
    Contributor

    Thanks! To close the loop QA also confirmed it's fixed after a retest: https://expensify.slack.com/archives/C9YU7BX5M/p1704936138065639?thread_ts=1704924266.002129&cid=C9YU7BX5M

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions