Skip to content
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

Backend: When a component is edited, all parent Units must show changes #1707

Open
Tracked by #1697
bradenmacdonald opened this issue Mar 4, 2025 · 0 comments
Open
Tracked by #1697

Comments

@bradenmacdonald
Copy link
Contributor

bradenmacdonald commented Mar 4, 2025

1. When a component is edited via the normal Content Libraries APIs, we need to check if it's part of any units, and if so then update the search index to show that those units now contain unpublished changes.

Note: the units themselves may not have unpublished changes, but they contain unpublished changes. The Learning Core low-level APIs distinguish between these two states, but our search index and UI don't need to distinguish between them.

2. When a component is deleted via the REST API, the "component count" for any units containing that component should be decreased in the search index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In grooming
Development

No branches or pull requests

1 participant