Skip to content

[HOLD for payment 2024-04-09] Web - Reimbursements - There is no offline indicator message on 'Reimbursements' page #39050

Closed

Description

@kbecciv

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

Activity

  1. added
    DeployBlockerCash
    on Mar 27, 2024
  2. github-actions commented on Mar 27, 2024

    @github-actions
    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.
  3. melvin-bot commented on Mar 27, 2024

    @melvin-bot

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

  4. ZhenjaHorbach commented on Mar 27, 2024

    @ZhenjaHorbach
    Contributor

    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

  5. habasefa commented on Mar 27, 2024

    @habasefa

    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)

  6. allgandalf commented on Mar 27, 2024

    @allgandalf
    Contributor

    Regression from #35399

  7. joekaufmanexpensify commented on Mar 27, 2024

    @joekaufmanexpensify
    Contributor

    cc @ruben-rebelo as you worked on that PR

  8. danieldoglas commented on Mar 28, 2024

    @danieldoglas
    Contributor

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

  9. added
    Daily
    and removed
    Hourly
    DeployBlockerCash
    Daily
    on Mar 28, 2024
  10. 5 remaining items

  11. Ollyws commented on Mar 28, 2024

    @Ollyws
    Contributor

    It's ok I can take care of it.

  12. added
    Weekly
    Awaiting Payment
    and removed
    Weekly
    on Apr 2, 2024
  13. 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[/+] on Apr 2, 2024
  14. removed
    Reviewing
    on Apr 2, 2024
  15. melvin-bot commented on Apr 2, 2024

    @melvin-bot

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

  16. melvin-bot commented on Apr 2, 2024

    @melvin-bot

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

  17. added
    Daily
    and removed
    Weekly
    on Apr 8, 2024
  18. melvin-bot commented on Apr 9, 2024

    @melvin-bot

    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.

  19. danieldoglas commented on Apr 11, 2024

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

Metadata

Metadata

Assignees

Labels

Awaiting PaymentDailyEngineering

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions