Skip to content
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

[$500] Android - Workspace-Tapping on triangle button user directed to "Get assistance" page for an second #32845

Closed
1 of 6 tasks
kbecciv opened this issue Dec 11, 2023 · 15 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors

Comments

@kbecciv
Copy link

kbecciv commented Dec 11, 2023

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: 1.4.11.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:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Launch app
  2. Tap profile icon
  3. Tap Workspaces --- Workspace --- Settings
  4. Tap question mark on top
  5. Tap explore help document
  6. Tap Triangle icon at bottom right

Expected Result:

User must be directed to concierge page on tapping triangle button.

Actual Result:

User directed to "Get assistance" page for an second and then only directed to concierge page.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6309381_1702316337276.you.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01c891886ac837a3ba
  • Upwork Job ID: 1734270044995203072
  • Last Price Increase: 2023-12-18
@kbecciv kbecciv added External Added to denote the issue can be worked on by a contributor Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 11, 2023
@melvin-bot melvin-bot bot changed the title Android - Workspace-Tapping on triangle button user directed to "Get assistance" page for an second [$500] Android - Workspace-Tapping on triangle button user directed to "Get assistance" page for an second Dec 11, 2023
Copy link

melvin-bot bot commented Dec 11, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01c891886ac837a3ba

Copy link

melvin-bot bot commented Dec 11, 2023

Triggered auto assignment to @miljakljajic (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Dec 11, 2023
Copy link

melvin-bot bot commented Dec 11, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Copy link

melvin-bot bot commented Dec 11, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @burczu (External)

@ZhenjaHorbach
Copy link
Contributor

Proposal

Please re-state the problem that we are trying to solve in this issue.

Android - Workspace-Tapping on triangle button user directed to "Get assistance" page for an second

What is the root cause of that problem?

The issue is related to recent deep link updates

Navigation.waitForProtectedRoutes().then(() => {

Which adds a new promise which adds a delay
And instead of going first to ConciergePage where we would see the loader
We are waiting and then immediately navigated ConciergeReport without a loader

What changes do you think we should make in order to solve the problem?

To return to the old behavior
When we first navigate to ConciergePage
Then we see the loader
And after that, we see ConciergePage

We need to move logic from ConciergePage to Report

  1. Update Report (We do not add isNavigationReady from ConciergePage because we use isNavigationReady inside waitForProtectedRoutes )
                if (route === ROUTES.CONCIERGE) {
                    Navigation.goBack(ROUTES.HOME);
                    navigateToConciergeChat(true);
                    return;
                }

App/src/libs/actions/Report.ts

Lines 2014 to 2017 in 292ad52

if (route === ROUTES.CONCIERGE) {
navigateToConciergeChat(true);
return;
}

  1. Update ConciergePage (We can delete navigation logic Because we handle the navigation logic inside the Report
    useFocusEffect(() => {
        if (_.has(props.session, 'authToken')) {
            return;
        }
        Navigation.navigate();
    });

useFocusEffect(() => {
if (_.has(props.session, 'authToken')) {
// Pop the concierge loading page before opening the concierge report.
Navigation.isNavigationReady().then(() => {
Navigation.goBack(ROUTES.HOME);
Report.navigateToConciergeChat();
});
} else {
Navigation.navigate();
}
});

Screen.Recording.2023-12-12.at.22.11.49.mov

What alternative solutions did you explore? (Optional)

NA

@melvin-bot melvin-bot bot added the Overdue label Dec 14, 2023
@burczu
Copy link
Contributor

burczu commented Dec 14, 2023

Not overdue - I'll review the proposal soon.

@melvin-bot melvin-bot bot removed the Overdue label Dec 14, 2023
Copy link

melvin-bot bot commented Dec 18, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Dec 18, 2023
Copy link

melvin-bot bot commented Dec 18, 2023

@burczu, @miljakljajic Whoops! This issue is 2 days overdue. Let's get this updated quick!

@miljakljajic
Copy link
Contributor

@burczu friendly bump! :)

@melvin-bot melvin-bot bot removed the Overdue label Dec 18, 2023
@burczu
Copy link
Contributor

burczu commented Dec 19, 2023

@miljakljajic Sorry for the late answer - I've just tried to test the proposal from @ZhenjaHorbach but I could not reproduce the issue. It seems like the triangle on the help.expensify.com does not appear anymore. Could you confirm? Or maybe I'm doing it wrong? :)

Screen.Recording.2023-12-19.at.12.29.04.mov

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Dec 19, 2023

It's actually weird)
But yes
Maybe it's a web bug or new requirements
But I don't see the button either)

Screenshot 2023-12-19 at 12 34 27

@melvin-bot melvin-bot bot added the Overdue label Dec 21, 2023
@burczu
Copy link
Contributor

burczu commented Dec 22, 2023

@miljakljajic gentle bump ;)

@melvin-bot melvin-bot bot removed the Overdue label Dec 22, 2023
@burczu
Copy link
Contributor

burczu commented Dec 22, 2023

Hey @miljakljajic! I'll be OOO till January 6th, and right after that I'm leaving the C+ role and joining Waves. Could you assign another C+ engineer to handle this issue from now on? Thanks.

@burczu burczu removed their assignment Dec 22, 2023
@miljakljajic
Copy link
Contributor

Sorry to miss this! I will try to reproduce and re-assign. Have a lovely break!

@miljakljajic
Copy link
Contributor

I think we can actually close this out, it doesn't fit high on our company priorities and seems like we've updated the flow anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor Help Wanted Apply this label when an issue is open to proposals by contributors
Projects
None yet
Development

No branches or pull requests

4 participants