You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-06-05] [$500] Fix scrollable elements in Policy pages #37782
What changes do you think we should make in order to solve the problem?
We can wrap all elements after the header like subtitle, ... or only SelectionList into a scroll view instead of a view and do the same way for other pages like category, tags, .... on policy pages
[@akinwale] The PR that introduced the bug has been identified. Link to the PR:
[@akinwale] 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:
[@akinwale] 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:
This is a new feature.
[@akinwale] Determine if we should create a regression test for this bug.
[@akinwale] 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.
Regression Test Steps Precondition: Members, Distance rates, Categories, Tags and Taxes screens should have multiple records to the point where the records can be scrolled
Launch the Expensify app
Select a Collect or Control workspace from the workspaces page
Devices with width greater than 800px
Open any one of the Members, Distance rates, Categories, Tags or Taxes screens
Verify that the options are scrollable on each page, and the options scroll as expected
Devices with width less than 800px
Open any one of the Members, Distance rates, Categories, Tags or Taxes screens
Verify that the options list scrolls properly on each screen
Verify that the page description at the top and the thead scrolls while the buttons are fixed.
Activity
melvin-bot commentedon Mar 5, 2024
Triggered auto assignment to @MitchExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.MitchExpensify commentedon Mar 7, 2024
So the whole page should scroll just like it does everywhere else, got it. I'll make this external tomorrow
dukenv0307 commentedon Mar 7, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Only the list element can be scrolled on policy page
What is the root cause of that problem?
The
SectionListis rendered as FlatList so it can be scrolled but we don't wrapWorkspaceMembersPageinto aScrollViewand then it cannot be scrolledApp/src/pages/workspace/WorkspaceMembersPage.tsx
Line 520 in ffa731a
What changes do you think we should make in order to solve the problem?
We can wrap all elements after the header like subtitle, ... or only
SelectionListinto a scroll view instead of a view and do the same way for other pages like category, tags, .... on policy pagesApp/src/pages/workspace/WorkspaceMembersPage.tsx
Line 520 in ffa731a
What alternative solutions did you explore? (Optional)
NA
melvin-bot commentedon Mar 7, 2024
Current assignee @MitchExpensify is eligible for the Bug assigner, not assigning anyone new.
[-]Fix scrollable elements in Policy pages[/-][+][$500] Fix scrollable elements in Policy pages[/+]melvin-bot commentedon Mar 7, 2024
Job added to Upwork: https://www.upwork.com/jobs/~010982d541dff55b4c
48 remaining items
akinwale commentedon Jun 5, 2024
This is a new feature.
Regression Test Steps
Precondition: Members, Distance rates, Categories, Tags and Taxes screens should have multiple records to the point where the records can be scrolled
Devices with width greater than 800px
Devices with width less than 800px
Do we agree 👍 or 👎?
akinwale commentedon Jun 5, 2024
@MitchExpensify Checklist completed.
akinwale commentedon Jun 7, 2024
@MitchExpensify bump for payment. Thanks.
MitchExpensify commentedon Jun 8, 2024
Paid and contract ended, thanks @akinwale !
Krishna2323 commentedon Jun 8, 2024
@MitchExpensify, I haven't been paid yet, automatic offer wasn't sent to me at the time of assignment.
MitchExpensify commentedon Jun 11, 2024
Oh ok, I'm actually unsure what to do in that case. Are you expecting to be paid via Upwork or NewDot just to be sure?
Krishna2323 commentedon Jun 11, 2024
@MitchExpensify, through Upwork :)
MitchExpensify commentedon Jun 11, 2024
Offer sent here Fix scrollable elements in Policy pages #37782
Krishna2323 commentedon Jun 11, 2024
@MitchExpensify, accepted.
MitchExpensify commentedon Jun 11, 2024
Paid and contract ended! Thanks for your patience @Krishna2323