Skip to content

[Due for payment 2025-05-22] [Payment Due 05-22-2025][$250] Reports - After refreshing Default report title RHP, More features page opens and RHP closes #62090

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

Open
4 of 8 tasks
jponikarchuk opened this issue May 15, 2025 · 26 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Weekly KSv2

Comments

@jponikarchuk
Copy link

jponikarchuk commented May 15, 2025

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 9.1.45-18
Reproducible in staging?: Yes
Reproducible in production?: Unable to check, new feature
If this was caught during regression testing, add the test name, ID and link from TestRail: #59568
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 15.4 / Chrome
App Component: Money Requests

Action Performed:

  1. Go to staging.new.expensify.com
  2. Create a new workspace.
  3. Go to Reports tab.
  4. Click Default report title.
  5. Refresh the page.

Expected Result:

App will stay in Reports page with Default report title RHP opened.

Actual Result:

App opens More features and Default report title RHP is closed.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021922998382341134185
  • Upwork Job ID: 1922998382341134185
  • Last Price Increase: 2025-05-15
  • Automatic offers:
    • ChavdaSachin | Contributor | 107319117
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @adelekennedy
@jponikarchuk jponikarchuk added DeployBlockerCash This issue or pull request should block deployment Bug Something is broken. Auto assigns a BugZero manager. labels May 15, 2025
Copy link

melvin-bot bot commented May 15, 2025

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

@melvin-bot melvin-bot bot added the Daily KSv2 label May 15, 2025
Copy link

melvin-bot bot commented May 15, 2025

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

@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels May 15, 2025
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 May 15, 2025

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

@ChavdaSachin
Copy link
Contributor

ChavdaSachin commented May 15, 2025

Proposal

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

Reports - After refreshing Default report title RHP, More features page opens and RHP closes

What is the root cause of that problem?

Missing case during migration from reportFields to reports.

In linker the report -> default report title page is associated with wrong central screen

SCREENS.WORKSPACE.RULES_CUSTOM_NAME,

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

Move it from [SCREENS.WORKSPACE.RULES] to [SCREENS.WORKSPACE.REPORT_FIELDS]

[SCREENS.WORKSPACE.REPORT_FIELDS]: [

Also we should fix the path here

        route: 'settings/workspaces/:policyID/reportFields/name',

App/src/ROUTES.ts

Lines 1821 to 1823 in 84d940b

RULES_CUSTOM_NAME: {
route: 'settings/workspaces/:policyID/rules/name',
getRoute: (policyID: string) => `settings/workspaces/${policyID}/rules/name` as const,

We should also rename the route appropriately.

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

NA

What alternative solutions did you explore? (Optional)

Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

@ChavdaSachin
Copy link
Contributor

I've verified - my solution is working perfectly. I could raise a quick PR if needed.

@Gonals Gonals added the External Added to denote the issue can be worked on by a contributor label May 15, 2025
@melvin-bot melvin-bot bot changed the title Reports - After refreshing Default report title RHP, More features page opens and RHP closes [$250] Reports - After refreshing Default report title RHP, More features page opens and RHP closes May 15, 2025
Copy link

melvin-bot bot commented May 15, 2025

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

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label May 15, 2025
Copy link

melvin-bot bot commented May 15, 2025

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

@dukenv0307
Copy link
Contributor

@ChavdaSachin's proposal looks good to me and test well.

🎀👀🎀 C+ reviewed

Copy link

melvin-bot bot commented May 15, 2025

Current assignee @Gonals is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new.

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

melvin-bot bot commented May 15, 2025

📣 @ChavdaSachin 🎉 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 📖

@Gonals
Copy link
Contributor

Gonals commented May 15, 2025

All yours, @ChavdaSachin. This is a deploy blocker, so we'll want the fix ready ASAP :)

@ChavdaSachin
Copy link
Contributor

Would be ready within an hour

@mountiny
Copy link
Contributor

@ChavdaSachin Lets get it out for a review

@ChavdaSachin
Copy link
Contributor

few minutes, capturing videos

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels May 15, 2025
@ChavdaSachin
Copy link
Contributor

Ready for review #62112

@ChavdaSachin
Copy link
Contributor

Since this was a blocker I quickly raised the fix.
But there should be followup cleanup for RulesCustomNamePage.

  1. Change the RulesCustomNamePage directory from src/pages/workspace/rules to src/pages/workspace/reportFields and rename the file appropriately.
  2. All the translations are located under workspace.rules section in en.ts and es.ts which should be migrated under workspace.reports section.
  3. Fix the page path from route: 'settings/workspaces/:policyID/rules/name', to route: 'settings/workspaces/:policyID/reportFields/name', and rename the route name from RULES_CUSTOM_NAME to REPORTS_CUSTOM_NAME

Since there were many changes here I just raised the fix to quickly tackle the blocker.

@Gonals should I make these changes in following PR or the original PR author should do the cleanup?

cc. @Gonals @dukenv0307 @mountiny

@mountiny
Copy link
Contributor

@ChavdaSachin Who worked on the original change? I think they should do this

@dukenv0307
Copy link
Contributor

@ChavdaSachin Good catch, I think we should handle it in other PRs

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label May 15, 2025
@ChavdaSachin
Copy link
Contributor

This PR originally moved the custom report name feature from workspace -> rules to workspace -> reports.

@ChavdaSachin
Copy link
Contributor

Perhaps automation failed here.
This should be ready for payment on 22-5-2025
@Gonals

@adelekennedy adelekennedy changed the title [$250] Reports - After refreshing Default report title RHP, More features page opens and RHP closes [Payment Due 05-22-2025][$250] Reports - After refreshing Default report title RHP, More features page opens and RHP closes May 19, 2025
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 20, 2025
@melvin-bot melvin-bot bot changed the title [Payment Due 05-22-2025][$250] Reports - After refreshing Default report title RHP, More features page opens and RHP closes [Due for payment 2025-05-27] [Payment Due 05-22-2025][$250] Reports - After refreshing Default report title RHP, More features page opens and RHP closes May 20, 2025
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 20, 2025
Copy link

melvin-bot bot commented May 20, 2025

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

Copy link

melvin-bot bot commented May 20, 2025

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.46-12 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-05-27. 🎊

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

Copy link

melvin-bot bot commented May 20, 2025

@dukenv0307 @adelekennedy @dukenv0307 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]

@ChavdaSachin
Copy link
Contributor

Again Melvin messed it up 🤦🏻‍♂️

@adelekennedy adelekennedy changed the title [Due for payment 2025-05-27] [Payment Due 05-22-2025][$250] Reports - After refreshing Default report title RHP, More features page opens and RHP closes [Due for payment 2025-05-22] [Payment Due 05-22-2025][$250] Reports - After refreshing Default report title RHP, More features page opens and RHP closes May 20, 2025
@adelekennedy
Copy link

I've updated the title

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 External Added to denote the issue can be worked on by a contributor Weekly KSv2
Projects
None yet
Development

No branches or pull requests

6 participants