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
[C+ Checklist Needs Completion] [$1000] DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money #25428
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 / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: Dev Reproducible in staging?: dev Reproducible in production?: dev 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 Notes/Photos/Videos: Any additional supporting documentation
Please re-state the problem that we are trying to solve in this issue.
Tab change not animating when screen is swiped when on MoneyRequestPage.
What is the root cause of that problem?
The root cause is that we're having static values as background colours for the buttons, icons and text inside the tab.
What changes do you think we should make in order to solve the problem?
We need to make use of the position property here and pass that onto the TabSelector component. Inside it, we need to interpolate this position value between:
Background colour of the button in selected / un-selected state.
Text colour of the button in selected / un-selected state.
Icon colour of the button in selected / un-selected state.
These interpolated values of colours are then to be used inside TabSelectorItem component. This will result in a smooth transition which will dispel the lag effect.
What alternative solutions did you explore? (Optional)
We can also just disable the swipe on web so that the user can only switch the tab by pressing the button itself. However, I think that the solution proposed above is more elegant.
changed the title [-]DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money[/-][+][$1000] DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money[/+]on Aug 18, 2023
changed the title [-][HOLD for payment 2023-09-08] [HOLD for payment 2023-09-07] [$1000] DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money[/-][+][C+ Checklist Needs Completion] [$1000] DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money[/+]on Sep 8, 2023
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:
[@burczu / @allroundexperts] The PR that introduced the bug has been identified. Link to the PR: this is not regression
[@burczu / @allroundexperts] 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: -
[@burczu / @allroundexperts] 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: -
[@burczu / @allroundexperts] 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.
[@greg-schroeder] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:
Activity
melvin-bot commentedon Aug 17, 2023
Triggered auto assignment to @greg-schroeder (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Aug 17, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)allroundexperts commentedon Aug 17, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Tab change not animating when screen is swiped when on MoneyRequestPage.
What is the root cause of that problem?
The root cause is that we're having static values as background colours for the buttons, icons and text inside the tab.
What changes do you think we should make in order to solve the problem?
We need to make use of the position property here and pass that onto the
TabSelectorcomponent. Inside it, we need to interpolate this position value between:These interpolated values of colours are then to be used inside
TabSelectorItemcomponent. This will result in a smooth transition which will dispel the lag effect.What alternative solutions did you explore? (Optional)
We can also just disable the swipe on web so that the user can only switch the tab by pressing the button itself. However, I think that the solution proposed above is more elegant.
[-]DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money[/-][+][$1000] DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money[/+]melvin-bot commentedon Aug 18, 2023
Job added to Upwork: https://www.upwork.com/jobs/~010c514d8b4722d88a
melvin-bot commentedon Aug 18, 2023
Current assignee @greg-schroeder is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Aug 18, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @burczu (
External)greg-schroeder commentedon Aug 18, 2023
I can't repro DEV issues - I'm assuming since you made a proposal here @allroundexperts that you were able to?
67 remaining items
greg-schroeder commentedon Sep 8, 2023
Offer sent to @niravkakadiya25. @allroundexperts you can make a manual request. All that's left is the checklist.
[-][HOLD for payment 2023-09-08] [HOLD for payment 2023-09-07] [$1000] DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money[/-][+][C+ Checklist Needs Completion] [$1000] DEV:Takes time to change topbar(manual to scan, scan to manual) selection in request money[/+]allroundexperts commentedon Sep 9, 2023
Requested.
JmillsExpensify commentedon Sep 10, 2023
$1,000 payment approved via NewDot based on BZ summary.
greg-schroeder commentedon Sep 12, 2023
Bump on the checklist @burczu and then we can close this out!
burczu commentedon Sep 13, 2023
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:
melvin-bot commentedon Sep 14, 2023
@burczu @greg-schroeder @allroundexperts @thienlnam this issue is now 4 weeks old and preventing us from maintaining WAQ, can you:
Thanks!
melvin-bot commentedon Sep 14, 2023
Current assignees @burczu and @allroundexperts are eligible for the Internal assigner, not assigning anyone new.