-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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-07-24] [$250] mWeb-In new WS, for distance rate selecting a category & opening it directs to hmm not here #44206
Comments
Triggered auto assignment to @kadiealexander ( |
@kadiealexander FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #wave-collect - Release 1 |
Job added to Upwork: https://www.upwork.com/jobs/~01bf4b3c18873471ae |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan ( |
Clone the Expensify/App repository and create a new branch from the latest main. |
📣 @Muhammad-UmairAli! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
I can't reproduce the issue. |
📣 @isogit123! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
No proposals to review |
Hi @situchan , I am working on the proposal, I will soon come up with it. Edit: Similar behavior observed when enabling any of the Untitled.video.-.Made.with.Clipchamp.4.mp4 |
📣 @jriyyya! 📣
|
Contributor details |
✅ Contributor details stored successfully. Thank you for contributing to Expensify! |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
No satisfactory proposals yet |
ProposalPlease re-state the problem that we are trying to solve in this issue.mWeb-In new WS, for distance rate selecting a category & opening it directs to hmm not here What is the root cause of that problem?We attempted to address this issue with this PR, but some of the code modifications unintentionally led to removal. The modification involved changing the name from
It happens on all platforms, but mobile internet may be slower than desktop. To effectively reproduce the issue, follow these steps:
Native android reproduction steps: Kapture.2024-07-04.at.05.20.08.mp4What changes do you think we should make in order to solve the problem?Re-apply the changes that were missing from this PR. The updated code will be in the AccessOrNotFoundWrapper.tsx file. const isFeatureEnabled = featureName ? PolicyUtils.isPolicyFeatureEnabled(policy, featureName) : true;
const [isPolicyFeatureEnabled, setIsPolicyFeatureEnabled] = useState(isFeatureEnabled);
const {isOffline} = useNetwork();
const isPageAccessible = accessVariants.reduce((acc, variant) => {
const accessFunction = ACCESS_VARIANTS[variant];
return acc && accessFunction(policy, login, report, allPolicies ?? null, iouType);
}, true);
const isPolicyNotAccessible = isEmptyObject(policy) || (Object.keys(policy).length === 1 && !isEmptyObject(policy.errors)) || !policy?.id;
const shouldShowNotFoundPage = (!isMoneyRequest && !isFromGlobalCreate && isPolicyNotAccessible) || !isPageAccessible || !isPolicyFeatureEnabled || shouldBeBlocked;
// We only update the feature state if it isn't pending.
// This is because the feature state changes several times during the creation of a workspace, while we are waiting for a response from the backend.
// Without this, we can have unexpectedly have 'Not Found' be shown.
useEffect(() => {
if (pendingField && !isOffline && !isFeatureEnabled) {
return;
}
setIsPolicyFeatureEnabled(isFeatureEnabled);
}, [pendingField, isOffline, isFeatureEnabled]); What alternative solutions did you explore? (Optional) |
Triggered auto assignment to @deetergp, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @situchan 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @wildan-m 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Issue not reproducible during KI retests. (Second week) |
@situchan The pull request is prepared for review. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-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-07-24. 🎊 For reference, here are some details about the assignees on this issue:
|
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:
|
Payouts due:
Upwork job is here. |
@situchan bump on the checklist! |
Regression Test Proposal
|
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.1
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:
Go to https://staging.new.expensify.com/
Tap profile icon -- Workspace -- New Workspace
Tap more features -- Enable distance rate
Tap Distance rates
Tap settings
Select a default category
Open the selected default category
Expected Result:
In new workspace, for distance rate selecting a default category and opening it must show the selected category
Actual Result:
In new workspace, for distance rate selecting a default category and opening it directs to hmm it's not here page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6521421_1719053584567.hmm.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @kadiealexanderThe text was updated successfully, but these errors were encountered: