-
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 2021-11-04] [n6-hold bonus with payment reminder] Report a bug, doesn't work as expected. #4545
Comments
Triggered auto assignment to @mateocole ( |
ProposalThe below lines invoke the action to open the App/src/pages/settings/AboutPage.js Lines 67 to 69 in 83dd58e
Simple solution:We can straightaway call |
Alright, to clean this up a little. It sounds like there might be two things being asked here.
For this specific issue, can this be reorganized to fit scenario 1 as that would be the specific bug? |
Yes, I understood this.
What do you mean here, I'm not following @mateocole |
First-time navigation is working but the second time there is an issue. Not going back does not seem the root cause of it. Did you find why it is not working for the second time? |
Yes, of course, We don't allow to navigate to reportId which is already active, that is Concierge. @parasharrajat |
The intended action would be to direct you to concierge to report the bug. This would not be relative to this issue as it would be a separate proposal as that would be changing the intended action, if I am understanding the suggestion correctly. Said differently, I think the focus of the this issue should be to focus on fixing the bug that does not redirect back to concierge. |
If we focus on navigating to Concierge for reporting bugs, then yes, @mateocole my suggestion could be a separate proposal. |
Yes, But you open the about page again. You are on /settings/about page. and thus navigating to the Report route should work. for example, you can navigate to settings/payments page and then settings/about-page , then back to settings/payments.
Could you please link me to where are we doing that? This seems like more of an issue with calling both |
Calling
There is no issue with implementation, cases are handled well. |
@parasharrajat do you get it now? Here we can make some kind of exception for |
dismissingModals will happen anyway abruptly, we could just do it proactively, there's nothing wrong with that! |
Definitely navigating two times is an issue.
Mostly navigate should handle this. Navigate method is adjusted many times to make it work as it does now. You can look into the history of it. So if we found an issue with it my suggestion is we improve it.
First time it work as it should and we can navigate to |
Sure @parasharrajat , as i said earlier Thanks for inputs, I'll look through the history. What do you think about this Please post your thoughts this it will be help ful. Thanks |
Sounds very complicated. Not sure how feasible it would be. |
@Santhosh-Sellavel any update on solutoins? |
@mateocole What's your thought on this solution |
@mateocole Please review. Proposal
To fix it we have to think about the modals and other app architecture. We should pop the top Stack router and then close the modal. App/src/libs/Navigation/CustomActions.js Line 27 in 083405a
to if (activeReportID === params.reportID) {
if (state.type !== 'drawer') {
navigationRef.current.dispatch(() => {
// If there are multiple routes then we can pop back to the first route
if (state.routes.length > 1) {
return StackActions.popToTop();
}
// Otherwise, we are already on the last page of a modal so just do nothing here
// as goBack() will navigate us
// back to the screen we were on before we opened the modal.
return StackActions.pop(0);
});
Navigation.goBack();
}
return DrawerActions.closeDrawer();
} It fixes the core issue throughout the app Also, this action is doing two things that it should not and we should break this into two actions. I will refactor this CustomAction to two separate actions to correctly reflects what's happening here. |
@parasharrajat Does this solution work mate? |
@MitchExpensify or @AndrewGable As posted in #expensify-open-source here
I believe I should be compensated for reporting this issue. Thanks! |
Thanks for the catch @Santhosh-Sellavel ! Offer sent so I can pay you for the reporting of the issue |
Hi @parasharrajat, I've placed this issue on hold as per this update, as we are prioritising issues related to a feature release scheduled for 9/24. As an apology for the delay, we will add a $100 bonus as a thank you for waiting. |
Not overdue |
On hold |
Please refer to this post for updated information on the |
on hold |
On Hold |
@MitchExpensify Should not be on hold any more. N6 is over. |
thats correct @parasharrajat, taking off hold! |
Not overdue, awaiting payment |
Paid @Santhosh-Sellavel $250 for reporting |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Report a bug
3.
Concierge
chat will be opened now.Concierge
is not open instead navigate back to the Settings pageFor new users it's bit more iritating. They would never know conciegre help. Because the new user will have only concierge active by default.
Expected Result:
I believe
Report a bug
should open theConcierge
chat every time if that's the desired action.Actual Result:
It's not opened instead navigated back to the Settings page.
Simulator.Screen.Recording.-.iPhone.12.-.2021-08-11.at.18.08.56.mp4
Workaround:
Yes, the user could manually close the settings page.
Suggestions
IMO Just opening the concierge does not look like the user can report bugs in concierge chat. We can show some additional messages like you can start reporting by just adding certain placeholder text in chat input. Ex What can I help you with?, Tell us your problem, etc.
Platform:
All of the following
Where is this issue occurring?
Version Number:
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
View all open jobs on Upwork
The text was updated successfully, but these errors were encountered: