-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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] Header is not displayed after reloading page on waypoint screen #44165
Comments
Triggered auto assignment to @strepanier03 ( |
I reported this issue |
ProposalPlease re-state the problem that we are trying to solve in this issue.The page header isn't displayed when reloading waypoint screen and go back. What is the root cause of that problem?In waypoint screen, going back will call go back with a fallback to the distance request screen. App/src/pages/iou/request/step/IOURequestStepWaypoint.tsx Lines 168 to 170 in 7512346
The
But this isn't the problem for the start page. The problem is, the user should be navigated to the IOURequestStartPage where there will be 3 tab, Manual, Scan, and Distance and the route for the Distance tab is The missing header also happens when we open the waypoint page from the confirmation screen, refresh, and go back, because the
What changes do you think we should make in order to solve the problem?We can use the same back login when selecting a waypoint (selectWaypoint) by using the backTo param and fallback to the distance tab. App/src/pages/iou/request/step/IOURequestStepWaypoint.tsx Lines 150 to 154 in 7512346
We can create a new function for go back so it's reusable. For the second issue, we need to use
This way, the backTo params of the waypoints page is the distance page with the backTo params. |
@strepanier03 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Job added to Upwork: https://www.upwork.com/jobs/~01e7345d06d12d9654 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mananjadhav ( |
@strepanier03, can I be C+ here since I reported this issue and already have context ? |
@bernhardoj Your proposal looks promising can you explain what do we mean by passing two backTo params? |
So, when we open the distance page from the confirmation page, the distance page route will have a backTo param Then, when we open the waypoint page, the backTo is currently The backTo of So, we need to keep the backTo by using getActiveRoute.
|
@ZhenjaHorbach - The C+ assigned is already actively working on this so I think we should let the assignment trump here. |
I agree 😀 |
Thank you @ZhenjaHorbach - I appreciate the understanding. In most cases we should allow the label to assign so that C+ are given as equal access to jobs as possible. In special cases we will do a manual assignment but that's generally discussed in Slack beforehand and the assignment happens before any automated assignment kicks in. |
Thanks for clarification @strepanier03. Thanks for posting the explanation @bernhardoj. Your proposal looks good to me. 🎀 👀 🎀 C+ reviewed. |
Triggered auto assignment to @grgia, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
@mananjadhav, @strepanier03, @grgia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
PR is ready cc: @mananjadhav |
|
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:
|
Payment hold expires tomorrow, will revisit then. |
@mananjadhav - Feel free to do the checklist tomorrow and I'll post the full payment summary. @ZhenjaHorbach - I sent you an offer via Upwork as well. |
Dear Expensify Team, I am Abdul Rafay Chaudhry, an expert in web and mobile development with extensive experience in React Native. I have successfully executed complex projects requiring both frontend and backend development, ensuring high reliability and security standards. Possible Issues
Example Code Implementation import React from 'react';
import { View, Text, StyleSheet } from 'react-native';
const ExpenseItem = ({ expense }) => {
return (
<View style={styles.expenseItem}>
<Text style={styles.title}>{expense.title}</Text>
<Text style={styles.amount}>{expense.amount}</Text>
<Text style={styles.date}>{expense.date}</Text>
</View>
);
};
const styles = StyleSheet.create({
expenseItem: {
padding: 10,
borderBottomWidth: 1,
borderBottomColor: '#ccc'
},
title: {
fontSize: 18,
fontWeight: 'bold'
},
amount: {
fontSize: 16,
color: 'green'
},
date: {
fontSize: 14,
color: '#888'
}
});
export default ExpenseItem;
|
📣 @CH-RAFAY! 📣
|
I think Melvin made a little mistake 😅 |
Requested in ND. |
@ZhenjaHorbach - Okay, thank you for the heads up. Melvin has been a bit off their game lately 🤔 it feels like. I'll cancel that in Upwork right away. |
Payment Summary
@JmillsExpensify - Requests incoming. |
Requested on ND. |
Payment Summary
BugZero Checklist (@JmillsExpensify)
|
$250 approved for @mananjadhav |
$250 approved for @bernhardoj |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: 9.0.0-0
Reproducible in staging?: y
Reproducible in production?: y
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: @ZhenjaHorbach
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1718901200855539
Action Performed:
Expected Result:
Header shouldn't disappear
Actual Result:
after reloading and pressing go back button, the header is not displayed
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
2024-06-20.18.31.35.mov
GBSA4059.1.MP4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @strepanier03The text was updated successfully, but these errors were encountered: