-
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
[$125] Report Fields - Report field list is not grayed out when toggled on or off offline #56172
Comments
Triggered auto assignment to @VictoriaExpensify ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-01-31 18:29:09 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Report field list is not grayed out when toggled on or off offline What is the root cause of that problem?In App/src/libs/actions/Policy/ReportField.ts Line 383 in 632a035
Then in
Then again in the setting page App/src/pages/workspace/reportFields/ReportFieldsValueSettingsPage.tsx Lines 118 to 123 in 632a035
All of this causes the fields to not gray out when toggled on or off What changes do you think we should make in order to solve the problem?
valueIndexes.forEach((valueIndex) => {
updatedReportField.disabledOptions[valueIndex] = !enabled;
const shouldResetDefaultValue = !enabled && reportField.defaultValue === reportField.values.at(valueIndex);
if (shouldResetDefaultValue) {
updatedReportField.defaultValue = '';
}
updatedReportField.pendingAction = CONST.RED_BRICK_ROAD_PENDING_ACTION.UPDATE;
});
If same exists for add and delete, then fix those too What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A offline bug What alternative solutions did you explore? (Optional) |
So, I think we probably should fix this for consistency. But it seems like a pretty low priority because it doesn't really have an impact on the way a customer uses the platform. I'm going to decrease the bounty on this one. If I have misunderstood something to do with the complexity or significance of this issue, please let me know and I can reassess. |
Job added to Upwork: https://www.upwork.com/jobs/~021886363521787391290 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @getusha ( |
Upwork job price has been updated to $125 |
i can handle internal review on this one when it's ready! |
@getusha did you have a chance to review the existing proposal? thanks! |
@VictoriaExpensify I think $250 is fine for this, because if we delete in offline mode there values are not striked off or removed, this causes deleted values to persist / get removed completely, so I think the original $250 is just fine, what do you think ? |
@dangrous, @VictoriaExpensify, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Reviewing |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@dangrous, @VictoriaExpensify, @getusha Whoops! This issue is 2 days overdue. Let's get this updated quick! |
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.93-1
Reproducible in staging?: Yes
Reproducible in production?: Yes
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: Mac 14.5/ Chrome
App Component: Workspace Settings
Action Performed:
Expected Result:
List is grayed out when editing the status offline. Same in other place like categories and tags
Actual Result:
List is not grayed out when Toggled on or off the status offline.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6729647_1738338476472.Screen_Recording_2025-01-31_at_6.32.46_in_the_evening.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @getushaThe text was updated successfully, but these errors were encountered: