You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[WAITING ON DOMINICTB][HOLD for payment 2024-08-01] [$250] Report field - List field shows "dropdown" as selected when different initial value is default #44843
👋 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:
Identify the pull request that introduced this issue and revert it.
@stitesExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
changed the title [-][HOLD for payment 2024-08-01] [$250] Report field - List field shows "dropdown" as selected when different initial value is default[/-][+][WAITING ON DOMINICTB][HOLD for payment 2024-08-01] [$250] Report field - List field shows "dropdown" as selected when different initial value is default[/+]on Aug 2, 2024
Activity
melvin-bot commentedon Jul 4, 2024
Triggered auto assignment to @jliexpensify (
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 commentedon Jul 4, 2024
Triggered auto assignment to @stitesExpensify (
DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.github-actions commentedon Jul 4, 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:
kavimuru commentedon Jul 4, 2024
@stitesExpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors.
kavimuru commentedon Jul 4, 2024
We think this bug might be related to #wave-collect - Release 1
dominictb commentedon Jul 4, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
The List type report field shows "dropdown" as the initial list value.
What is the root cause of that problem?
we already have the logic to merge the reportField from policy and report in
App/src/libs/ReportUtils.ts
Line 2580 in f73cdc4
But we're not setting the optimistic data for report.fieldList in
App/src/libs/actions/Policy/ReportFields.ts
Line 154 in f73cdc4
so the reportFiled in this case will be the reportField from policy
App/src/components/ReportActionItem/MoneyReportView.tsx
Line 68 in f73cdc4
and it has
value: dropdownWhat changes do you think we should make in order to solve the problem?
We can get the report by policyID and expense type.
then set the optimistic data for
reportFieldof report same as what BE return (without value key)We can check the bug for other field type (text, date) as well.
What alternative solutions did you explore? (Optional)
We can remove the
value: dropdownin reportField of policy optimisticallyResult
46 remaining items
jliexpensify commentedon Aug 1, 2024
bump @dominictb what's your Upworks profile? Could you also add your Upworks name to your GH profile please?
Alternatively, you can apply here: https://www.upwork.com/jobs/~0162c3c8677de552d3
melvin-bot commentedon Aug 1, 2024
Payment Summary
Upwork Job
BugZero Checklist (@jliexpensify)
jliexpensify commentedon Aug 2, 2024
Bump @dominictb to provide me with your upworks profile
Bump @rushatgabhane for checklist
rushatgabhane commentedon Aug 2, 2024
@jliexpensify regression steps to add -
rushatgabhane commentedon Aug 2, 2024
no separate payment required for report fields
[-][HOLD for payment 2024-08-01] [$250] Report field - List field shows "dropdown" as selected when different initial value is default[/-][+][WAITING ON DOMINICTB][HOLD for payment 2024-08-01] [$250] Report field - List field shows "dropdown" as selected when different initial value is default[/+]dominictb commentedon Aug 2, 2024
@jliexpensify Sorry for the delay, here's my Upwork profile https://www.upwork.com/freelancers/~01f70bed1934fd35d5
jliexpensify commentedon Aug 2, 2024
Thanks @dominictb , invited you.
dominictb commentedon Aug 2, 2024
@jliexpensify I accepted it thanks 🙏
jliexpensify commentedon Aug 2, 2024
Paid, and job closed.