Mass Update Refactor - #1940
Conversation
…endpoint for ranked resources
|
Merge conflict attempting to merge this into staging. Please fix manually. |
|
I see you added the "On Staging" label, I'll get this merged to the staging branch! |
|
Merge conflict attempting to merge this into staging. Please fix manually. |
|
I see you added the "On Staging" label, I'll get this merged to the staging branch! |
0101276 to
e45f3d3
Compare
andrewroth
left a comment
There was a problem hiding this comment.
That's all for this one -- other changes in here have already been suggested in the other PRs
|
Merge conflict attempting to merge this into staging. Please fix manually. |
|
Merge conflict attempting to merge this into staging. Please fix manually. |
|
Hello @andrewroth I have reviewed the 3 PRs (#1910, #1915, #1940) and believe I have rectified the issues highlighted in your comments. The relevant commit hash for those changes is Since this PR (#1940) contains the latest combined implementation, I believe we should be able to merge it and close the other two. Regarding the migration safety checks: my understanding is that there are currently no You may notice the failed Feel free to reach out with any questions or if some additional changes are needed here! Thank you |
@andrewroth do you know if you have capacity to look at @JasonBennett41's work this week and get this merged? Thanks! |
|
Thanks @JasonBennett41 — I went back through my comments on all three PRs
Taking your word on the empty production tables — that closes my questions about Three small things before this goes in:
|
|
Merge conflict attempting to merge this into staging. Please fix manually. |
|
@andrewroth Okay sweet. Thank you for your help catching these issues, can't believe I missed the incorrect constants for the default orders. My latest commit should resolve these remaining items, I'm going to merge master in now and make sure the github checks pass 👍🏽 |
|
Merge conflict attempting to merge this into staging. Please fix manually. |
|
Merge conflict attempting to merge this into staging. Please fix manually. |
|
@andrewroth Okay, all checks passing 👍🏽 |
This PR was branched off of #1915 which is still pending review along with #1910. This means the blame for some of the modifications in 'Files Changed' is on the preceding PRs. Once the preceding PRs are approved, will probably have to merge master into this branch again.
Changes:
mass_updateactions for ResourceScoresController & ResourceDefaultOrdersControllermass_update_rankedaction in ResourceScoresControllerfeatured&default_orderin ResourcesControllerunique_position_per_language_and_resource_typevalidation in ResourceDefaultOrder modelMAX_FEATURED_ORDER_POSITIONto align with frontend expectations in ResourceScore modelfeatured_has_order_assignedvalidation tofeatured_and_featured_order_consistency-- a bidirectional equivalent -- in ResourceScore model