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-04-09] Web - Reimbursements - There is no offline indicator message on 'Reimbursements' page #39050

Closed
1 of 6 tasks
kbecciv opened this issue Mar 27, 2024 · 13 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Engineering

Comments

@kbecciv
Copy link

kbecciv commented Mar 27, 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: 1.4.57-2
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal team

Action Performed:

  1. Create a workspace
  2. Appy offline mode
  3. Navigate to 'Reimbursements' page of the workspace

Expected Result:

'You appear to be offline.' should be displayed at the bottom of the page

Actual Result:

'You appear to be offline.' is not displayed at the bottom of the page

Workaround:

n/a

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

Bug6428613_1711540591324.Screen_Recording_2024-03-27_at_1.34.24_in_the.1.mp4

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Mar 27, 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 Mar 27, 2024

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

@ZhenjaHorbach
Copy link
Contributor

ZhenjaHorbach commented Mar 27, 2024

Proposal

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

Web - Reimbursements - There is no offline indicator message on 'Reimbursements' page

What is the root cause of that problem?

The main problem with issue is that we don't pass shouldShowOfflineIndicatorInWideScreen param

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

To fix this issue we can add this param

<WorkspacePageWithSections
shouldUseScrollView
headerText={translate('workspace.common.reimburse')}
route={route}
guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_REIMBURSE}
shouldSkipVBBACall
shouldShowLoading={false}
>

The same param we have on WorkspaceBillsPage

<WorkspacePageWithSections
shouldUseScrollView
headerText={translate('workspace.common.bills')}
route={route}
guidesCallTaskID={CONST.GUIDES_CALL_TASK_IDS.WORKSPACE_BILLS}
shouldShowOfflineIndicatorInWideScreen
>

What alternative solutions did you explore? (Optional)

NA

@habasefa
Copy link

Proposal

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

Offline indicator is not visible on widescreen Reimbursements page when offline,

What is the root cause of that problem?

A defaultModalContainer style is not being passed to ScreenWrapper.

<ScreenWrapper
includeSafeAreaPaddingBottom={false}
shouldEnablePickerAvoiding={false}
shouldEnableMaxHeight
testID={WorkspacePageWithSections.displayName}
shouldShowOfflineIndicatorInWideScreen={shouldShowOfflineIndicatorInWideScreen && !shouldShow}
>

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

Passing defaultModalContainer style to ScreenWrapper like in here:

<ScreenWrapper
includeSafeAreaPaddingBottom={false}
style={[styles.defaultModalContainer]}
testID={WorkspaceMembersPage.displayName}
shouldShowOfflineIndicatorInWideScreen
>

What alternative solutions did you explore? (Optional)

@allgandalf
Copy link
Contributor

Regression from #35399

@joekaufmanexpensify
Copy link
Contributor

cc @ruben-rebelo as you worked on that PR

@danieldoglas
Copy link
Contributor

IMO we don't need to block the deploy on this though.

@danieldoglas danieldoglas added Daily KSv2 Hourly KSv2 and removed Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment Daily KSv2 labels Mar 28, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Mar 28, 2024
@Pujan92
Copy link
Contributor

Pujan92 commented Mar 28, 2024

@danieldoglas I think @Ollyws needs to review the regression fix PR. I can review in case they are not available.

@Ollyws
Copy link
Contributor

Ollyws commented Mar 28, 2024

It's ok I can take care of it.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 2, 2024
@melvin-bot melvin-bot bot changed the title Web - Reimbursements - There is no offline indicator message on 'Reimbursements' page [HOLD for payment 2024-04-09] Web - Reimbursements - There is no offline indicator message on 'Reimbursements' page Apr 2, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 2, 2024
Copy link

melvin-bot bot commented Apr 2, 2024

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

Copy link

melvin-bot bot commented Apr 2, 2024

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

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 8, 2024
Copy link

melvin-bot bot commented Apr 9, 2024

Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO.

@melvin-bot melvin-bot bot added the Overdue label Apr 10, 2024
@danieldoglas
Copy link
Contributor

This one is done, closing it.

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 Daily KSv2 Engineering
Projects
None yet
Development

No branches or pull requests

8 participants