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-02-09] Expense - Submit button is green in the main chat and gray in the expense report #35569

Closed
6 tasks done
lanitochka17 opened this issue Feb 1, 2024 · 14 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Weekly KSv2

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 1, 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: 1.3.45-0
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:

  • User is an employee of Collect workspace
  • Schedule submit is turned off
  1. Go to workspace chat
  2. Create a manual expense
  3. Note that the submit button is green in the expense preview in the workspace chat
  4. Click on the expense preview

Expected Result:

The submit button in the expense report is green

Actual Result:

The submit button in the expense report is gray.

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

Add any screenshot/video evidence

Bug6363753_1706801157550.20240201_083255.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 labels Feb 1, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 1, 2024
Copy link
Contributor

github-actions bot commented Feb 1, 2024

👋 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 Feb 1, 2024

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

@lanitochka17
Copy link
Author

We think that this bug might be related to #wave6
CC @greg-schroeder

@luacmartins
Copy link
Contributor

@Expensify/design can you confirm if they should be all green please?

@shawnborton
Copy link
Contributor

cc @trjExpensify @JmillsExpensify

I would think they would both be the same color right? I could have sworn that we make the button NOT green if scheduled submit is on. Basically if it will auto submit for you, we don't highlight the button in green.

@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

yeah both should be same colour, green if you are the submitter, gray if scheduled submit is on or you are not the submitter.

@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

I think it might require same fix as here #35562 (comment)

@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

Yep adding chatReportID to the memo should fix this too #35563 (comment)

@rlinoz will add it I believe

@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

can be discussed in this thread https://expensify.slack.com/archives/C03TQ48KC/p1706800895520479

@trjExpensify
Copy link
Contributor

yeah both should be same colour, green if you are the submitter, gray if scheduled submit is on or you are not the submitter.

Correct, agreed!

@luacmartins
Copy link
Contributor

Nice, thanks for the discussion! So it seems like @rlinoz will be fixing this!

@francoisl francoisl added the Reviewing Has a PR in review label Feb 1, 2024
@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Feb 1, 2024
@mountiny
Copy link
Contributor

mountiny commented Feb 1, 2024

fix cped

@mountiny mountiny closed this as completed Feb 1, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Hourly KSv2 labels Feb 2, 2024
@melvin-bot melvin-bot bot changed the title Expense - Submit button is green in the main chat and gray in the expense report [HOLD for payment 2024-02-09] Expense - Submit button is green in the main chat and gray in the expense report Feb 2, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Feb 2, 2024
Copy link

melvin-bot bot commented Feb 2, 2024

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