-
Notifications
You must be signed in to change notification settings - Fork 3k
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-11-14] [$250] Android -Distance - Distance tab is gray and not highlighted in green when swiping to Distance #51297
Comments
Triggered auto assignment to @yuwenmemon ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 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:
|
Demoting this as it's pretty minor. |
Job added to Upwork: https://www.upwork.com/jobs/~021848826866073504646 |
Triggered auto assignment to @mallenexpensify ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.What is the root cause of that problem?when we calculate opacity for android device, we wrongly compare with isActive prop which is meant for web platforms, on native devices we rely on
What changes do you think we should make in order to solve the problem?We should remove the const getOpacity: GetOpacity = ({routesLength, tabIndex, active, affectedTabs, position}) => {
const activeValue = active ? 1 : 0;
const inactiveValue = active ? 0 : 1;
if (routesLength > 1) {
const inputRange = Array.from({length: routesLength}, (v, i) => i);
return position?.interpolate({
inputRange,
outputRange: inputRange.map((i) => (affectedTabs.includes(tabIndex) && i === tabIndex ? activeValue : inactiveValue)),
});
}
return activeValue;
}; Screen.Recording.2024-10-23.at.3.03.21.AM.movWhat alternative solutions did you explore? (Optional) |
Edited by proposal-police: This proposal was edited at 2024-10-22 21:49:27 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Android -Distance - Distance tab is gray and not highlighted in green when swiping to Distance What is the root cause of that problem?
App/src/components/TabSelector/TabSelector.tsx Lines 73 to 75 in 65b739d
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)Result |
Reviewing 👀 |
Able to reproduce on the latest main 👍 android_native.mp4 |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Removed Help Wanted for a min... @rayane-djouah , what do you think of the proposals above? |
@twilight2294's proposal looks good to me. In #51020, we appropriately modified the 🎀👀🎀 C+ reviewed |
Current assignee @yuwenmemon is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @twilight2294 You have been assigned to this job! |
I'm back from OOO on Nov 14th, not assigning another BZ because the PR is on staging so payment will likely be the day or two after I'm back. If one is needed please add or post in #contributor-plus to ask for one to be added, thx. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.58-2 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-11-14. 🎊 For reference, here are some details about the assignees on this issue:
|
@rayane-djouah @mallenexpensify The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Regression Test Proposal
Do we agree 👍 or 👎 |
Contributor: @twilight2294 paid $250 via Upwork Test case created, thx @rayane-djouah @twilight2294 can you please accept the job and reply here once you have? |
I accepted, thanks you |
Thanks @twilight2294 , you've been paid, payment post above has been updated. |
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.52-2
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N
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): applausetester+kh1610015@applause.expensifail.com
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Distance tab will be highlighted in green when swiping to Distance tab (production behavior)
Actual Result:
Distance tab is gray and not highlighted in green when swiping to Distance tab
The tab is only green when it is tapped on
This issue also happens in Scan tab when it is swiped from Distance to Scan
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6642503_1729625702598.1729625430866_Screen_Recording_20241023_033004.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @mallenexpensifyThe text was updated successfully, but these errors were encountered: