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-11-07] Report fields - "Enabled/Disabled" does not align with header "Status" in list value page #51457

Open
5 of 8 tasks
izarutskaya opened this issue Oct 25, 2024 · 16 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

@izarutskaya
Copy link

izarutskaya commented Oct 25, 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: 9.0.54-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes in Hybrid iOS
Email or phone of affected tester (no customers): applausetester+kh2010001@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team

Action Performed:

Precondition:

  • Workspace has list type report field with some list values.
  1. Go to staging.new.expensify.com
  2. Go to workspace settings > Report fields.
  3. Click on the list type report field.
  4. Click List values.

Expected Result:

"Enabled/Disabled" will align with header "Status".

Actual Result:

"Enabled/Disabled" does not align with header "Status" in list value page.

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6645373_1729849785470.list.mp4
Bug6645373_1729849785460!list_2

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @johncschuster
@izarutskaya izarutskaya added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 25, 2024
Copy link

melvin-bot bot commented Oct 25, 2024

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

Copy link

melvin-bot bot commented Oct 25, 2024

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

Copy link

melvin-bot bot commented Oct 25, 2024

💬 A slack conversation has been started in #expensify-open-source

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.

@izarutskaya
Copy link
Author

We think this issue might be related to the #wave-control

@izarutskaya
Copy link
Author

Production

bandicam.2024-10-25.13-00-16-098.mp4

@Krishna2323
Copy link
Contributor

Krishna2323 commented Oct 25, 2024

Edited by proposal-police: This proposal was edited at 2024-10-25 11:35:49 UTC.

Proposal


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

Report fields - "Enabled/Disabled" does not align with header "Status" in list value page

What is the root cause of that problem?

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


  • Wrap status text in a view and pass style={[StyleUtils.getMinimumWidth(60)]}.
  • Same as we do in workspace tags page and other similar pages.
    const getCustomListHeader = () => {
    const header = (
    <View style={[styles.flex1, styles.flexRow, styles.justifyContentBetween, canSelectMultiple && styles.ml3]}>
    <View>
    <Text style={[styles.searchInputStyle]}>{translate('common.name')}</Text>
    </View>
    <View style={[StyleUtils.getMinimumWidth(60)]}>
    <Text style={[styles.searchInputStyle, styles.textAlignCenter]}>{translate('statusPage.status')}</Text>
    </View>
    </View>
    );
  • We should also check other missing styles and make them consistent and we should also check other similar components to fix the same bug.

What alternative solutions did you explore? (Optional)

Result

@MarioExpensify
Copy link
Contributor

Hardly a deploy blocker. Will check if we have any recent PR affecting this and revert it if needed. If not we'll move with an External task.

@MarioExpensify MarioExpensify removed the DeployBlockerCash This issue or pull request should block deployment label Oct 25, 2024
@Krishna2323
Copy link
Contributor

@MarioExpensify, I think this is the offending PR.

@ChavdaSachin
Copy link
Contributor

Coming from my PR, I can raise a quick fix here.

@ChavdaSachin
Copy link
Contributor

We have created a new component CustomListHeader in this PR which I missed to apply on ReportFieldsListValuePage and WorkspaceViewTagsPage, applying the same will solve the issue.

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Oct 25, 2024
@ChavdaSachin
Copy link
Contributor

Fix is ready, thanks @Krishna2323 for pointing out.

@MarioExpensify
Copy link
Contributor

MarioExpensify commented Oct 28, 2024

Thank you @ChavdaSachin for quickly hopping in! And thanks @Krishna2323 for finding which was the affecting commit.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Oct 31, 2024
@melvin-bot melvin-bot bot changed the title Report fields - "Enabled/Disabled" does not align with header "Status" in list value page [HOLD for payment 2024-11-07] Report fields - "Enabled/Disabled" does not align with header "Status" in list value page Oct 31, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Oct 31, 2024
Copy link

melvin-bot bot commented Oct 31, 2024

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

Copy link

melvin-bot bot commented Oct 31, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.55-10 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-11-07. 🎊

Copy link

melvin-bot bot commented Oct 31, 2024

@MarioExpensify @johncschuster The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

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
None yet
Development

No branches or pull requests

5 participants