-
Notifications
You must be signed in to change notification settings - Fork 4
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
chore(Authoring): Convert WISE link authoring to Angular #1361
Conversation
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.
Before merge, can you remove UpgradeModule dependency in WiseAuthoringTinymceEditorComponent? It's no longer used.
I also added some code improvement suggestions inline for your consideration.
items: any[]; | ||
wiseLinkComponentId: string = ''; | ||
wiseLinkNodeId: string = ''; | ||
wiseLinkText: string = ''; | ||
wiseLinkType: string = 'link'; |
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.
Add private/protected modifiers?
return this.projectService.getComponents(nodeId); | ||
} | ||
|
||
protected createWISELink(): void { |
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.
The name create() is sufficient?
} | ||
} | ||
|
||
protected cancelWISELinkAuthoring(): void { |
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.
The name cancel() is sufficient?
Add variable modifiers, remove unused dependency, and change function names. #1360
🎉 This PR is included in version 5.107.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Changes
Converted WISELinkAuthoringController to Angular.
Test
Make sure the WISE link authoring works in the HTML component.
Closes #1360