Conversation
3faa634 to
0582b91
Compare
bjester
left a comment
There was a problem hiding this comment.
Code review looks good-- left some comments. Let me know if it's ready for testing
contentcuration/contentcuration/frontend/shared/data/resources.js
Outdated
Show resolved
Hide resolved
contentcuration/contentcuration/frontend/shared/data/serverSync.js
Outdated
Show resolved
Hide resolved
2508621 to
0517ace
Compare
bjester
left a comment
There was a problem hiding this comment.
Left more code comments. I'll do some manual QA now
contentcuration/contentcuration/frontend/shared/data/resources.js
Outdated
Show resolved
Hide resolved
contentcuration/contentcuration/frontend/shared/data/serverSync.js
Outdated
Show resolved
Hide resolved
|
I saw this error while creating a new channel |
|
Seems the edit modal |
Ah yeah, we'll need to update that check to filter out 'applied' changes. |
Thanks, I'll track this down. |
|
Hrm, where were you creating a channel from? I just tried it myself, and didn't replicate this error. |
I created it from the channels list page. Perhaps that error occurred prior to actually creating it. I can try again later |
82d56cc to
92ac31f
Compare
… frontend rather than substantive channel changes.
The publish button should be properly toggling now, and all content nodes in the frontend are properly flagged as published and unchanged. I did this by switching to tracking for edits since the last publish (except in the case of ricecooker channels, where I fall back to the changed attribute).
This was very reproducible and was a result of my poor decision to use dot paths in the materialized paths of our nested metadata labels. This confuses Dexie which also uses dot paths, but for describing nested keyPaths for changes. I have monkey patched Dexie to add specific excludes for our metadata labels to prevent this from causing an issue.
This was a bug I introduced while refactoring the bookmark code - there was an error in the In addition, I have done some testing of this across two browsers, and it seems like the change application logic across browsers is working as intended - I did this after the issues that @marcellamaki had reported, to ensure that the fix I applied to Dexie was universal. I retested this after the upgrade to Dexie 3.2 and the fix persisted. |
|
Ran the python tests manually. |
Summary
Description of the change(s) you made
Manual verification steps performed
Reviewer guidance
How can a reviewer test these changes?
Please test the basic flow for now.
Are there any risky areas that deserve extra testing?
EVERYTHING!
References
Fixes #3034
Fixes #2828
Fixes #3101
Comments
Contributor's Checklist
PR process:
CHANGELOGlabel been added to this PR. Note: items with this label will be added to the CHANGELOG at a later timedocslabel has been added if this introduces a change that needs to be updated in the user docs?requirements.txtfiles also included in this PRStudio-specifc:
notranslateclass been added to elements that shouldn't be translated by Google Chrome's automatic translation feature (e.g. icons, user-generated text)pages,components, andlayoutsdirectories as described in the docsTesting:
Reviewer's Checklist
This section is for reviewers to fill out.
yarnandpip)