-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Report fields and values don't get updated in Report if admin deletes them from workspace #48827
Comments
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
Triggered auto assignment to @puneetlath ( |
Edited by proposal-police: This proposal was edited at 2024-09-09 22:04:40 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Report fields and values don't get updated in Report if admin deletes them from workspace What is the root cause of that problem?We are using report Fields list here instead of policy field list App/src/pages/EditReportFieldPage.tsx Line 54 in 1b479b0
App/src/pages/EditReportFieldPage.tsx Line 156 in 063cc10
but when report fields are updated it is the policy fields lists that gets updated What changes do you think we should make in order to solve the problem?We should use policy fields for options
we can also consider updating the report fields What alternative solutions did you explore? (Optional)But we can also consider some more props other than |
ProposalPlease re-state the problem that we are trying to solve in this issue.Report fields and values don't get updated in Report if admin deletes them from workspace What is the root cause of that problem?When updating the report field, we only modify policy.reportField. However, on the EditReportFieldPage, we prioritize using report.reportField, which remains unchanged. App/src/pages/EditReportFieldPage.tsx Line 54 in 1b479b0
What changes do you think we should make in order to solve the problem?App/src/pages/EditReportFieldPage.tsx Line 54 in 1b479b0
Update to Additionally, we only show the search bar when the list is empty. ![]() We should display the empty view with the Edit button only for admins, similar to how we implemented it on the category page App/src/pages/iou/request/step/IOURequestStepCategory.tsx Lines 171 to 199 in 968b610
What alternative solutions did you explore? (Optional) |
Sorry forgot to notify Updated But note that my last update was hours before the other proposals above |
Current assignees @puneetlath and @carlosmiceli are eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
@puneetlath payment overdue |
This issue has not been updated in over 15 days. @carlosmiceli, @puneetlath, @FitseTLT, @aimane-chnaif eroding to Monthly issue. P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do! |
@puneetlath can u pls issue the payment here? Thx! |
Hm, seems there is no upwork job. @FitseTLT offer here: https://www.upwork.com/nx/wm/offer/104341899 @aimane-chnaif can you please complete the checklist? |
@puneetlath offer accepted! |
@FitseTLT has been paid. Just waiting on @aimane-chnaif. |
Offending PR with comment: #36553 (comment) Regression Test Proposal
|
@aimane-chnaif can you accept the offer: https://www.upwork.com/nx/wm/offer/104341902 |
Accepted thanks |
Paid! |
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:v9.0.30-19
**Reproducible in staging?:Y
**Reproducible in production?:Y
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:
Slack conversation:
Action Performed:
Expected Result:
Report should update to show that fields were updated/deleted.
Actual Result:
Nothing changes in the member report, despite fields and values having changed for the workspace.
Workaround:
Unknown.
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
repot.fields.error.mov
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @aimane-chnaifThe text was updated successfully, but these errors were encountered: