-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Deprecates CONTENT_OBJECT_TAGS_CHANGED in favor of CONTENT_OBJECT_ASSOCIATIONS_CHANGED [FC-0062] #66
Conversation
6e0b50b
to
6c30e2a
Compare
@bradenmacdonald Do we need to deprecate the old event before changing it here? It's unlikely that anyone is using |
@pomegranited They might be in the future too (between now and whenever they upgrade to Sumac), so I think we should deprecate it. We could emit both events for a while; it doesn't really cost us anything to emit |
and ContentObjectChangedData, which has a field for indicating what has changed.
6c30e2a
to
a4aba00
Compare
a4aba00
to
9fbf1e4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Thank you for your work, @pomegranited!
I have nothing to note here.
- I tested this using the instructions from Store content object collections in search index [FC-0062] edx-platform#680 (review)
- I read through the code
-
I checked for accessibility issues - Includes documentation
ef00ede
into
yusuf-musleh/content-library-collections-signals
…CT_ASSOCIATIONS_CHANGED #66 * feat: adds event CONTENT_OBJECT_ASSOCIATOONS_CHANGED and ContentObjectChangedData, which has a field for indicating what has changed. * chore: updates changelog
* feat: Add Content Library Collections signals * fix: use collection_key (str) instead of id (int) * docs: update CHANGELOG * feat: Deprecates CONTENT_OBJECT_TAGS_CHANGED in favor of CONTENT_OBJECT_ASSOCIATIONS_CHANGED open-craft#66 * feat: adds event CONTENT_OBJECT_ASSOCIATOONS_CHANGED and ContentObjectChangedData, which has a field for indicating what has changed. * chore: updates changelog * fix: fix conflicts in CHANGELOG * fix: use content_library subdomain for new events * fix: add library collection events to changelog --------- Co-authored-by: Jillian Vogel <[email protected]> Co-authored-by: Navin Karkera <[email protected]>
Description:
Deprecates the
CONTENT_OBJECT_TAGS_CHANGED
event in favor of the newCONTENT_OBJECT_ASSOCIATIONS_CHANGED
event.This new name and data structure better reflect the additional use of this event, which is triggered when a ContentObject's tags or Collections change.
ISSUE: openedx/modular-learning#230
Private-ref: FAL-3787
Dependencies: openedx#386
OK to merge this change into that PR so we can get them CC reviewed together.
Merge deadline: ASAP
Installation instructions: List any non-trivial installation instructions.
Testing instructions:
Unit tests should be sufficient to verify this change, but see open-craft:edx-platform#680 for detailed testing instructions.
Merge checklist:
Post merge:
finished.
Author concerns:
CONTENT_OBJECT_TAGS_CHANGED
is removed after Sumac.