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

[PAID] [$250] Profile - Account settings icon shows green dot with no other indication #44804

Closed
6 tasks done
m-natarajan opened this issue Jul 4, 2024 · 38 comments
Closed
6 tasks done
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor

Comments

@m-natarajan
Copy link

m-natarajan commented Jul 4, 2024

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.4-0
Reproducible in staging?: y
Reproducible in production?: no
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):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:

Action Performed:

  1. Go to staging.new.expensify.com
  2. Complete onboarding (if using public domain).
  3. Go to Account settings.

Expected Result:

There should be a notice in the relevant section if the account settings icon has a green dot.

Actual Result:

There is no notice in the relevant section if the account settings icon has a green dot.

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

Bug6532539_1720046601343.green_dot.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~0190b5223d5153c89d
  • Upwork Job ID: 1808782166169156269
  • Last Price Increase: 2024-07-04
  • Automatic offers:
    • nkdengineer | Contributor | 102985244
Issue OwnerCurrent Issue Owner: @strepanier03
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. DeployBlocker Indicates it should block deploying the API labels Jul 4, 2024
Copy link

melvin-bot bot commented Jul 4, 2024

Triggered auto assignment to @madmax330 (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

Copy link

melvin-bot bot commented Jul 4, 2024

Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Jul 4, 2024
Copy link
Contributor

github-actions bot commented Jul 4, 2024

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@m-natarajan
Copy link
Author

@strepanier03 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

@m-natarajan
Copy link
Author

We think that this bug might be related to #vip-vsb

@madmax330
Copy link
Contributor

I also see this on my account

Screenshot 2024-07-04 at 8 33 57 AM

@nkdengineer
Copy link
Contributor

nkdengineer commented Jul 4, 2024

Proposal

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

There is no notice in the relevant section if the account settings icon has a green dot.

What is the root cause of that problem?

We're using SubscriptionUtils.hasSubscriptionGreenDotInfo to check the infoCheckingMethods

const infoCheckingMethods: CheckingMethod[] = [() => !!loginList && UserUtils.hasLoginListInfo(loginList), () => SubscriptionUtils.hasSubscriptionGreenDotInfo()];

But this function doesn't work as expected. We use !getSubscriptionStatus()?.isError so this function also returns true if isError is undefined.

return !getSubscriptionStatus()?.isError ?? false;

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

We should only return true if the isError is false

return getSubscriptionStatus()?.isError === false; 

return !getSubscriptionStatus()?.isError ?? false;

What alternative solutions did you explore? (Optional)

NA

@madmax330
Copy link
Contributor

Thanks @nkdengineer were you able to find the PR that caused the regression?

@nkdengineer
Copy link
Contributor

@madmax330 This PR #44072 caused the regression.

Copy link

melvin-bot bot commented Jul 4, 2024

Job added to Upwork: https://www.upwork.com/jobs/~0190b5223d5153c89d

@melvin-bot melvin-bot bot changed the title Profile - Account settings icon shows green dot with no other indication [$250] Profile - Account settings icon shows green dot with no other indication Jul 4, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 4, 2024
Copy link

melvin-bot bot commented Jul 4, 2024

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

@madmax330
Copy link
Contributor

Going to assign @mananjadhav as c+ since they reviewed the offending PR

@madmax330 madmax330 assigned mananjadhav and unassigned mkhutornyi Jul 4, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 4, 2024
@mananjadhav
Copy link
Collaborator

Pending a CP validation in staging

What does this mean?

@mountiny
Copy link
Contributor

mountiny commented Jul 5, 2024

The fix has been cherry-picked to staging, and QA still has to re-test that CPed PR in staging to verify this issue if it is gone. Removing the blocker label because on the deploy checklist, the CPed PR has an unchecked box until QA verifies it was fixed

@mananjadhav
Copy link
Collaborator

Okay thanks for clarifying!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Jul 10, 2024
@melvin-bot melvin-bot bot changed the title [$250] Profile - Account settings icon shows green dot with no other indication [HOLD for payment 2024-07-17] [$250] Profile - Account settings icon shows green dot with no other indication Jul 10, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Jul 10, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.5-13 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-17. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jul 10, 2024

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:

  • [@mananjadhav] The PR that introduced the bug has been identified. Link to the PR:
  • [@mananjadhav] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mananjadhav] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@mananjadhav] Determine if we should create a regression test for this bug.
  • [@mananjadhav] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Jul 15, 2024
@melvin-bot melvin-bot bot changed the title [HOLD for payment 2024-07-17] [$250] Profile - Account settings icon shows green dot with no other indication [HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Profile - Account settings icon shows green dot with no other indication Jul 15, 2024
Copy link

melvin-bot bot commented Jul 15, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.6-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-22. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jul 15, 2024

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:

  • [@mananjadhav] The PR that introduced the bug has been identified. Link to the PR:
  • [@mananjadhav] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mananjadhav] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@mananjadhav] Determine if we should create a regression test for this bug.
  • [@mananjadhav] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jul 16, 2024
@strepanier03
Copy link
Contributor

@nkdengineer - I've paid and closed the contract in Upwork.

@mananjadhav - I'll check tomorrow for the checklist items above and once that's complete I'll post the payment summary so you can request payment.

@mananjadhav
Copy link
Collaborator

@strepanier03 No payout for me here.

@strepanier03
Copy link
Contributor

Okay, thanks for the heads up @mananjadhav 🙌.

Can you finish up the checklist items so I can make a reg test if needed and close this out?

@melvin-bot melvin-bot bot added the Overdue label Jul 22, 2024
Copy link

melvin-bot bot commented Jul 22, 2024

@mananjadhav, @madmax330, @strepanier03, @nkdengineer Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@mananjadhav
Copy link
Collaborator

@strepanier03 I don't think we need a regression test for this one. The offending PR was already tagged and I posted a comment here

@madmax330 This PR #44072 caused the regression.

Copy link

melvin-bot bot commented Jul 23, 2024

@mananjadhav, @madmax330, @strepanier03, @nkdengineer Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@strepanier03
Copy link
Contributor

Thanks for confirming @mananjadhav. Since I paid the other contract I'm closing this out. Thanks again everyone 🙌

@melvin-bot melvin-bot bot removed the Overdue label Jul 24, 2024
@strepanier03 strepanier03 changed the title [HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [$250] Profile - Account settings icon shows green dot with no other indication [PAID] [$250] Profile - Account settings icon shows green dot with no other indication Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor
Projects
None yet
Development

No branches or pull requests

8 participants