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

[HOLD for payment 2024-01-22] HIGH: (Comment linking: step 1) 'maintainVisibleContentPosition' doesn't works with the large list #32634

Closed
6 tasks done
perunt opened this issue Dec 7, 2023 · 24 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@perunt
Copy link
Contributor

perunt commented Dec 7, 2023

Version Number:
Reproducible in staging?:
Reproducible in production?:
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:
Slack conversation:

Action Performed:

Case 1 (correct)

  1. Create a list with the 50 elements. You can use Report Actions for items
  2. Set to FlatList:
maintainVisibleContentPosition={{
            minIndexForVisible: 0,
        }}
  1. Using onStartReached add 50 items

Case 2 (wrong)

  1. Create a list with the 50 elements. You can use Report Actions for items
  2. Set to FlatList:
maintainVisibleContentPosition={{
            minIndexForVisible: 0,
        }}
  1. Using onStartReached add 100 items

Expected Result:

In the both cases, you won't see any changes after adding new items, so the reportActions don't move in the viewport

Actual Result:

  1. In the first case, you won't see any changes after adding new items, so the reportActions don't move in the viewport
  2. In the second case, you would see slides after adding new elements to FlatList.

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

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

EXPO snack: https://snack.expo.dev/@tarasperun/add-items-onsatartreached

Untitled.1.mov

View all open jobs on GitHub

@perunt perunt added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Dec 7, 2023
Copy link

melvin-bot bot commented Dec 7, 2023

Triggered auto assignment to @isabelastisser (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Copy link

melvin-bot bot commented Dec 7, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@perunt
Copy link
Contributor Author

perunt commented Dec 7, 2023

@roryabraham mentioned you to be aware of this bug, which we are currently tackling

@janicduplessis
Copy link
Contributor

Update: found the problem, opened a PR to fix upstream, will patch in Expensify app next and verify the fix. facebook/react-native#41846

@quinthar quinthar moved this to MEDIUM in [#whatsnext] #vip-vsb Dec 8, 2023
@quinthar quinthar changed the title 'maintainVisibleContentPosition' doesn't works with the large list MEDIUM: 'maintainVisibleContentPosition' doesn't works with the large list Dec 8, 2023
@quinthar quinthar changed the title MEDIUM: 'maintainVisibleContentPosition' doesn't works with the large list MEDIUM: (Comment linking) 'maintainVisibleContentPosition' doesn't works with the large list Dec 8, 2023
@quinthar quinthar moved this from MEDIUM to HIGH in [#whatsnext] #vip-vsb Dec 8, 2023
@quinthar quinthar changed the title MEDIUM: (Comment linking) 'maintainVisibleContentPosition' doesn't works with the large list HIGH: (Comment linking) 'maintainVisibleContentPosition' doesn't works with the large list Dec 8, 2023
@quinthar quinthar changed the title HIGH: (Comment linking) 'maintainVisibleContentPosition' doesn't works with the large list HIGH: (Comment linking: step 1) 'maintainVisibleContentPosition' doesn't works with the large list Dec 8, 2023
@isabelastisser
Copy link
Contributor

@roryabraham @perunt is there anything urgent I need to do here?

@roryabraham
Copy link
Contributor

Nothing for you to work on for now @isabelastisser – I'll let you know if any payments need to be issued

@melvin-bot melvin-bot bot added the Overdue label Dec 12, 2023
@roryabraham
Copy link
Contributor

Looks like the upstream PR has been merged and is included in 0.73-stable just about 15 minutes ago, but has not yet been included in a release. We are working separately to upgrade to RN 0.73, so may need to include this commit as a patch unless a new upstream release is created before we merge that 0.73 upgrade

@melvin-bot melvin-bot bot removed the Overdue label Dec 12, 2023
@perunt
Copy link
Contributor Author

perunt commented Dec 13, 2023

We have a PR for this at #32843. We need to test it on the web as well, and then we can merge it.

@perunt perunt mentioned this issue Dec 13, 2023
50 tasks
@melvin-bot melvin-bot bot added the Overdue label Dec 15, 2023
@isabelastisser
Copy link
Contributor

Not overdue. Testing PR.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review and removed Overdue Daily KSv2 labels Dec 15, 2023
@melvin-bot melvin-bot bot added the Weekly KSv2 label Dec 16, 2023
@isabelastisser
Copy link
Contributor

Any updates here?

@quinthar quinthar moved this from HIGH to CRITICAL in [#whatsnext] #vip-vsb Dec 19, 2023
@quinthar quinthar moved this from CRITICAL to HIGH in [#whatsnext] #vip-vsb Dec 19, 2023
@perunt
Copy link
Contributor Author

perunt commented Dec 21, 2023

It was reviewed and approved

@roryabraham
Copy link
Contributor

roryabraham commented Dec 24, 2023

There was some more recent activity from reviewers in the PR: #32843 (comment)

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jan 15, 2024
@melvin-bot melvin-bot bot changed the title HIGH: (Comment linking: step 1) 'maintainVisibleContentPosition' doesn't works with the large list [HOLD for payment 2024-01-22] HIGH: (Comment linking: step 1) 'maintainVisibleContentPosition' doesn't works with the large list Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 15, 2024
Copy link

melvin-bot bot commented Jan 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.24-8 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2024-01-22. 🎊

For reference, here are some details about the assignees on this issue:

  • @perunt does not require payment (Contractor)

Copy link

melvin-bot bot commented Jan 15, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@roryabraham] The PR that introduced the bug has been identified. Link to the PR:
  • [@roryabraham] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@roryabraham] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@perunt] Determine if we should create a regression test for this bug.
  • [@perunt] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@isabelastisser] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jan 21, 2024
Copy link

melvin-bot bot commented Jan 22, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@isabelastisser
Copy link
Contributor

@roryabraham and @perunt, can you please complete the checklist above so the issue can be closed? Thanks!

@situchan
Copy link
Contributor

I may take responsible for BZ Checklist since I reviewed PR

I think we can skip checklist here.
No regression. The bug was in upstream. Not able to catch in E/App until comment linking is live.

@github-project-automation github-project-automation bot moved this from HIGH to CRITICAL in [#whatsnext] #vip-vsb Jan 23, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Comment Linking Jan 23, 2024
@isabelastisser
Copy link
Contributor

Thanks @situchan !

@situchan
Copy link
Contributor

@isabelastisser I am eligible for payment though not assigned here

@isabelastisser
Copy link
Contributor

To confirm, you acted as the C+ and the payment should be $500 in Upwork? @situchan

@situchan
Copy link
Contributor

yes

@isabelastisser
Copy link
Contributor

Payment summary:

@situchan C+. PR review. Upwork job link here.

@isabelastisser
Copy link
Contributor

All set!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2
Projects
Status: Done
Status: CRITICAL
Development

No branches or pull requests

5 participants