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

[Due for payment 2025-02-18] [$250] Workspace - No animation in LHN when enabling Per diem #56149

Closed
8 tasks done
mitarachim opened this issue Jan 31, 2025 · 19 comments
Closed
8 tasks done
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 External Added to denote the issue can be worked on by a contributor

Comments

@mitarachim
Copy link

mitarachim commented Jan 31, 2025

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.93-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): applausetester+9056910@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.0 / Chrome
App Component: Workspace Settings

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to Control workspace settings > More features.
  3. Enable Tags.
  4. Note that Tags appear in LHN with animation.
  5. Enable Per diem.

Expected Result:

Per diem will animate in LHN.

Actual Result:

Per diem does not animate in LHN.

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Bug6729439_1738318660456.20250131_181548.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021886940440312442170
  • Upwork Job ID: 1886940440312442170
  • Last Price Increase: 2025-02-05
  • Automatic offers:
    • ishpaul777 | Reviewer | 106012789
    • twilight2294 | Contributor | 106012790
Issue OwnerCurrent Issue Owner: @kadiealexander
@mitarachim mitarachim added Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 labels Jan 31, 2025
Copy link

melvin-bot bot commented Jan 31, 2025

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

@twilight2294
Copy link
Contributor

Proposal

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

No animation in LHN when enabling Per diem

What is the root cause of that problem?

We do not highight the per diem option:

if (featureStates?.[CONST.POLICY.MORE_FEATURES.ARE_PER_DIEM_RATES_ENABLED]) {
protectedMenuItems.push({
translationKey: 'common.perDiem',
icon: CalendarSolid,
action: singleExecution(waitForNavigate(() => Navigation.navigate(ROUTES.WORKSPACE_PER_DIEM.getRoute(policyID)))),
routeName: SCREENS.WORKSPACE.PER_DIEM,

This causes the animation to happen

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

We need to add highlight for the per diem feature:

if (featureStates?.[CONST.POLICY.MORE_FEATURES.ARE_PER_DIEM_RATES_ENABLED]) {
            protectedMenuItems.push({
                translationKey: 'common.perDiem',
                highlighted: highlightedFeature === CONST.POLICY.MORE_FEATURES.ARE_PER_DIEM_RATES_ENABLED,

What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

N/A UI bug

What alternative solutions did you explore? (Optional)

@melvin-bot melvin-bot bot added the Overdue label Feb 3, 2025
Copy link

melvin-bot bot commented Feb 4, 2025

@kadiealexander Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@twilight2294
Copy link
Contributor

@kadiealexander can you please make this external ?

@kadiealexander kadiealexander added the External Added to denote the issue can be worked on by a contributor label Feb 5, 2025
Copy link

melvin-bot bot commented Feb 5, 2025

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

@melvin-bot melvin-bot bot changed the title Workspace - No animation in LHN when enabling Per diem [$250] Workspace - No animation in LHN when enabling Per diem Feb 5, 2025
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 5, 2025
Copy link

melvin-bot bot commented Feb 5, 2025

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

@melvin-bot melvin-bot bot removed the Overdue label Feb 5, 2025
@kadiealexander kadiealexander moved this to Bugs and Follow Up Issues in [#whatsnext] #expense Feb 5, 2025
@ishpaul777
Copy link
Contributor

@twilight2294 Proposal LGTM!

🎀 👀 🎀

Copy link

melvin-bot bot commented Feb 5, 2025

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

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

melvin-bot bot commented Feb 5, 2025

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

Offer link
Upwork job

Copy link

melvin-bot bot commented Feb 5, 2025

📣 @twilight2294 🎉 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 6, 2025
@twilight2294
Copy link
Contributor

PR ready for review c.c. @ishpaul777

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Feb 11, 2025
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production labels Feb 11, 2025
@melvin-bot melvin-bot bot changed the title [$250] Workspace - No animation in LHN when enabling Per diem [Due for payment 2025-02-18] [$250] Workspace - No animation in LHN when enabling Per diem Feb 11, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 11, 2025
Copy link

melvin-bot bot commented Feb 11, 2025

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

Copy link

melvin-bot bot commented Feb 11, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.95-6 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 2025-02-18. 🎊

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

Copy link

melvin-bot bot commented Feb 11, 2025

@ishpaul777 @kadiealexander @ishpaul777 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]

Copy link

melvin-bot bot commented Feb 14, 2025

@rlinoz @kadiealexander @ishpaul777 @twilight2294 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Feb 17, 2025
@kadiealexander
Copy link
Contributor

kadiealexander commented Feb 18, 2025

Payments due:

@ishpaul777 please complete the checklist

@melvin-bot melvin-bot bot added the Overdue label Feb 20, 2025
@kadiealexander
Copy link
Contributor

@ishpaul777 bump on the checklist!

@melvin-bot melvin-bot bot removed the Overdue label Feb 21, 2025
@ishpaul777
Copy link
Contributor

ishpaul777 commented Feb 21, 2025

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production (eg. bug slipped through the normal regression and PR testing process on staging)
  • 2b. Reported on staging (eg. found during regression or PR testing)
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

    Link to comment: https://github.com/Expensify/App/pull/55478/files#r1965962312

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

    Link to discussion: Not CRITICAL

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again. - we don't need regression because its very easy to spot issue does not block any functionality and one time fix was required which is done

@ishpaul777
Copy link
Contributor

also i was eligible for ND payment the day I was assigned to issue, I am now I process of onboarding to the new system, @kadiealexander can you please update payment summary to add via ND instead of Upwork

Image

@melvin-bot melvin-bot bot added the Overdue label Feb 24, 2025
@melvin-bot melvin-bot bot removed the Overdue label Feb 24, 2025
@github-project-automation github-project-automation bot moved this from Bugs and Follow Up Issues to Done in [#whatsnext] #expense Feb 24, 2025
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 External Added to denote the issue can be worked on by a contributor
Projects
Status: Done
Development

No branches or pull requests

5 participants