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

[HOLD for payment 2024-03-05] [$250] 2 bottom banners for offline status are displayed #36458

Closed
3 of 6 tasks
m-natarajan opened this issue Feb 14, 2024 · 30 comments
Closed
3 of 6 tasks
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 Feb 14, 2024

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: v1.4.41-2
Reproducible in staging?: y
Reproducible in production?: N
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:
Slack conversation:

Action Performed:

Pre-requisite: the user must be logged in and have created a workspace.

  1. Go to Workspace > Bank account.
  2. Initiate the add BA flow until you reach the Personal info double check page.
  3. Disable the internet connection.

Expected Result:

Only 1 bottom banner for offline status should be displayed.

Actual Result:

2 bottom banners for offline status are displayed

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

Bug6378792_1707870839263!IMG_2949

Bug6378792_1707870839278!IMG_E2942

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~016e92a84369a21d16
  • Upwork Job ID: 1757589397607944192
  • Last Price Increase: 2024-02-14
  • Automatic offers:
    • akinwale | Contributor | 0
    • abzokhattab | Contributor | 0
Issue OwnerCurrent Issue Owner: @johncschuster
@m-natarajan m-natarajan added DeployBlockerCash This issue or pull request should block deployment 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 Feb 14, 2024
@melvin-bot melvin-bot bot changed the title 2 bottom banners for offline status are displayed [$500] 2 bottom banners for offline status are displayed Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

Job added to Upwork: https://www.upwork.com/jobs/~016e92a84369a21d16

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

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

Copy link

melvin-bot bot commented Feb 14, 2024

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

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

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

Copy link

melvin-bot bot commented Feb 14, 2024

Auto-assign attempt failed, all eligible assignees are OOO.

@abzokhattab
Copy link
Contributor

abzokhattab commented Feb 14, 2024

Proposal

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

2 bottom banners for offline status are displayed

What is the root cause of that problem?

the offline message is shown twice because we have two ScreenWrapper instances

  1. inside the PersonalInfo
  2. inside the ConfirmationUBO

so whenever the network is offline, the offline indicator shows in each component causing it to be shown twice

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

  1. we can remove the ScreenWrapper inside the ConfirmationUBO and move the top padding styles.pt0 inside the underlying ScrollView styles
  2. Or we can add shouldShowOfflineIndicator={false} inside the screen wrapper of theConfirmationUBO component which will disable the offline indicator

Additionally, we need to disable the confirm button in case the network is offline

            isDisabled={isOffline}

@mountiny mountiny self-assigned this Feb 14, 2024
@mountiny mountiny added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 14, 2024
@mountiny
Copy link
Contributor

This is minor design bug not a blocker

@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 14, 2024
@mountiny
Copy link
Contributor

cc @shubham1206agra too

Copy link

melvin-bot bot commented Feb 14, 2024

📣 @akinwale 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@mountiny mountiny changed the title [$500] 2 bottom banners for offline status are displayed [$150] 2 bottom banners for offline status are displayed Feb 14, 2024
Copy link

melvin-bot bot commented Feb 14, 2024

Upwork job price has been updated to $150

@MrMuzyk
Copy link
Contributor

MrMuzyk commented Feb 15, 2024

Double check spacing around submit button. If it works then I'm fine with such solution

@mountiny
Copy link
Contributor

Yeah lets remove the second wrapper and fix any misalignments if that happens

@akinwale
Copy link
Contributor

@abzokhattab Let's go with the solution to remove the second wrapper and check the layout and spacing according to #36458 (comment).

🎀👀🎀 C+ reviewed.

Copy link

melvin-bot bot commented Feb 15, 2024

Triggered auto assignment to @techievivek, see https://stackoverflow.com/c/expensify/questions/7972 for more details.

@mountiny mountiny assigned abzokhattab and unassigned techievivek Feb 15, 2024
@mountiny
Copy link
Contributor

sorry for the ping @techievivek

Copy link

melvin-bot bot commented Feb 15, 2024

📣 @abzokhattab 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!

Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑‍💻
Keep in mind: Code of Conduct | Contributing 📖

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Feb 17, 2024
@mountiny
Copy link
Contributor

mountiny commented Mar 4, 2024

Payment for @akinwale will be handled here #22901 (comment)

@mountiny mountiny changed the title [$250] 2 bottom banners for offline status are displayed [HOLD for payment 2024-03-05] [$250] 2 bottom banners for offline status are displayed Mar 4, 2024
@mountiny mountiny added the Awaiting Payment Auto-added when associated PR is deployed to production label Mar 4, 2024
@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Mar 10, 2024
@abzokhattab
Copy link
Contributor

Just a kindly reminder for the payment of this issue @mountiny

@mountiny mountiny added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. Reviewing Has a PR in review labels Mar 15, 2024
Copy link

melvin-bot bot commented Mar 15, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Mar 18, 2024
Copy link

melvin-bot bot commented Mar 18, 2024

@akinwale, @johncschuster, @mountiny, @abzokhattab Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@johncschuster
Copy link
Contributor

Payment has been issued to @abzokhattab via Upwork
Coming from @mountiny's comment here, it looks like payment for @akinwale will be handled in #22901 (comment)

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

9 participants