-
Notifications
You must be signed in to change notification settings - Fork 2
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
Bug/sc 33809/an author can add other learning objects #1876
Bug/sc 33809/an author can add other learning objects #1876
Conversation
src/app/onion/learning-object-builder/components/scaffold/add-child/add-child.component.ts
Outdated
Show resolved
Hide resolved
src/app/onion/learning-object-builder/components/scaffold/add-child/add-child.component.ts
Outdated
Show resolved
Hide resolved
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.
This looks really good!
registerChange() { | ||
this.needsChange$.next(); | ||
} |
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.
Where is this called in the service?
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.
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.
I would see who is subscribed to this and then make the call.
This fixes an author being able to add learning objects as children that are not owned by that author. This also fixes the search mechanism that was not returning any learning objects. I also consolidated the search.service.ts files into one file instead of 2.
Story: https://app.shortcut.com/clarkcan/story/33809/an-author-can-add-other-learning-objects-as-children
Video:
Screen.Recording.2024-10-09.at.2.24.35.PM.mov