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-08-14] Report fields - Offline indicator appears below the content when edit to fields is disabled #45847

Closed
3 of 6 tasks
m-natarajan opened this issue Jul 20, 2024 · 22 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Jul 20, 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!


Issue found when validating #44672
Version Number: 9.0.10-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: Applause internal team
Slack conversation:

Action Performed:

Precondition:

  • Workspace is connected to Sage Intacct.
  • Workspace has List type report fields by importing Departments as report fields in Accounting > Import settings.
  1. Go to staging.new.expensify.com
  2. Go to workspace settings > Report fields.
  3. Click on the List type report field (Departments) which is imported from Sage Intacct.
  4. Go offline.

Expected Result:

Offline indicator will appear at the page bottom.

Actual Result:

Offline indicator appears below the content.
NOTE: This issue only happens when changes to report fields are disabled via connection to Accountings.

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

Bug6548205_1721491243056.ScreenRecording_07-20-2024_23-47-17_1.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @garrettmknight / @abekkala
@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 20, 2024
Copy link

melvin-bot bot commented Jul 20, 2024

Triggered auto assignment to @garrettmknight (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 20, 2024
@melvin-bot melvin-bot bot added Daily KSv2 and removed Hourly KSv2 labels Jul 20, 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 Jul 20, 2024

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

@m-natarajan
Copy link
Author

We think that this bug might be related to #wave-control

@Krishna2323
Copy link
Contributor

Krishna2323 commented Jul 20, 2024

Proposal

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

Report fields - Offline indicator appears below the content when edit to fields is disabled

What is the root cause of that problem?

shouldEnableMaxHeight isn't passed to ScreenWrapper.

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

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

Pass shouldEnableMaxHeight to ScreenWrapper.

We should also look for similar bugs in other components, I believe same bugs happens in ReportFieldsValueSettingsPage.

What alternative solutions did you explore? (Optional)

We can add offlineIndicatorStyle={styles.mtAuto} instead of shouldEnableMaxHeight.

@mountiny mountiny removed DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jul 20, 2024
@mountiny mountiny assigned mountiny and unassigned thienlnam Jul 20, 2024
@mountiny
Copy link
Contributor

Not a blocker as this feature is behind beta

@mountiny
Copy link
Contributor

@waterim @rushatgabhane @shubham1206agra who can handle the PR for this given its coming from the report fields configuration project?

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

melvin-bot bot commented Jul 24, 2024

@garrettmknight, @rushatgabhane, @mountiny, @shubham1206agra Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@garrettmknight
Copy link
Contributor

@waterim @rushatgabhane @shubham1206agra bump on the question above.

@melvin-bot melvin-bot bot removed the Overdue label Jul 24, 2024
@garrettmknight garrettmknight removed the Bug Something is broken. Auto assigns a BugZero manager. label Jul 24, 2024
@garrettmknight garrettmknight removed their assignment Jul 24, 2024
@garrettmknight garrettmknight added the Bug Something is broken. Auto assigns a BugZero manager. label Jul 24, 2024
Copy link

melvin-bot bot commented Jul 24, 2024

Triggered auto assignment to @abekkala (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.

@garrettmknight
Copy link
Contributor

@abekkala I'm heading OOO until August 5th. I'll pick this back up if it's still going when I get back. Thanks for your help!

@garrettmknight garrettmknight self-assigned this Jul 24, 2024
@shubham1206agra
Copy link
Contributor

I will take this on today.

@mountiny
Copy link
Contributor

@shubham1206agra keep us updated, thanks! @rushatgabhane will you be able to review?

@rushatgabhane
Copy link
Member

yes

@melvin-bot melvin-bot bot added the Overdue label Jul 26, 2024
@abekkala
Copy link
Contributor

@shubham1206agra do you have an update?

@melvin-bot melvin-bot bot removed the Overdue label Jul 29, 2024
@shubham1206agra
Copy link
Contributor

Just finished investigating this issue. The problem was with how flex is working, not shouldEnableMaxHeight. I will raise the PR in few minutes.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Jul 29, 2024
@shubham1206agra
Copy link
Contributor

PR is up for review.

@garrettmknight
Copy link
Contributor

We're on staging! @abekkala I'll take this one back over, thanks for the help!

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Aug 7, 2024
@melvin-bot melvin-bot bot changed the title Report fields - Offline indicator appears below the content when edit to fields is disabled [HOLD for payment 2024-08-14] Report fields - Offline indicator appears below the content when edit to fields is disabled Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Aug 7, 2024
Copy link

melvin-bot bot commented Aug 7, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.17-2 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-08-14. 🎊

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

Copy link

melvin-bot bot commented Aug 7, 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:

@mountiny
Copy link
Contributor

mountiny commented Aug 8, 2024

I think we can close this one as payments will be handled together for the project

@mountiny mountiny closed this as completed Aug 8, 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. Engineering Weekly KSv2
Projects
Status: Done
Development

No branches or pull requests

8 participants