-
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
[HOLD for payment 2024-06-28] [HOLD for payment 2024-06-24] [$250] [TS Migration] Define a concise way to access or default to an inexistent record #39125
Comments
ProblemCurrently we have been defaulting nullable entity IDs to either SolutionStandartise the default values of all Onyx entity IDs. Personally I think we should default all nullable entity IDs to
|
@fabioh8010 this makes sense to me, but I think we need to bring this up to slack for broader agreement, can you post the proposal to open source channel before proceeding? |
@mountiny Sure, I can post! But could you make this issue External? It was marked as External initially. |
Job added to Upwork: https://www.upwork.com/jobs/~0127e590dfa2accb42 |
Triggered auto assignment to @johncschuster ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Define a concise way to access or default to an inexistent record What is the root cause of that problem?Coming from TS Migration Issue, As discussed in the comment here - #39125 (comment), we need to look for properties that ends with What changes do you think we should make in order to solve the problem?We need to standartise the default values of all Onyx entity IDs. we need to change the property to Just an example situtaion : Here in the Line 135 in 944751f
we have managerID?: number; . So if I search for managerID in the codebase I can find out that it is used hereReportPreview.tsx :
we are using const managerID = iouReport?.managerID ?? 0; and defining it as 0 , so we need to update it to -1
What alternative solutions did you explore? (Optional)N/A |
Posted here. |
|
@godofoutcasts94 Thanks for your proposal! It's a bit copy & pastey as it stands, so could I ask you to provide an example of a change you would make so that I can make sure you understand the issue. Thanks! |
@kubabutkiewicz We can also ask for a full regression test when opening the PR, would be good to have it. |
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.84-3 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 2024-06-24. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.85-7 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 2024-06-28. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Discussing in Slack to make sure I'm understanding the correct payment date |
@jjcoffee do we need a regression test for this? If so, can you propose the steps? |
Payment Summary:Contributor: @kubabutkiewicz - does not require payment |
@johncschuster No I don't think so, since this is an app-wide change. |
Awesome. Thank you! |
Follow up issue for TS migration project. Coming from this spreadsheet
Any more details for this one cc @blazejkustra @fabioh8010
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @johncschusterThe text was updated successfully, but these errors were encountered: