-
Notifications
You must be signed in to change notification settings - Fork 24
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
Issue #40 feat: Audio Upload Implementation #86
Issue #40 feat: Audio Upload Implementation #86
Conversation
package.json
Outdated
@@ -49,13 +49,16 @@ | |||
"jquery": "^3.5.1", | |||
"jquery.fancytree": "^2.37.0", | |||
"karma-mocha-reporter": "^2.2.5", | |||
"katex": "^0.11.1", |
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.
Why do we need katex
library for this?
@simran142002 Please check the circle-ci issue and fix the same. |
}) | ||
export class AssetsBrowserComponent implements OnInit, OnChanges, OnDestroy { | ||
@ViewChild('editor') public editorRef: ElementRef; | ||
@Output() videoDataOutput = new EventEmitter<any>(); |
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.
Remove videoDataOutput
variable if you not using it.
bf20b25
to
da8eb99
Compare
@simran142002 Please check and fix the code smells. |
export class AssetsBrowserComponent implements OnInit, OnChanges, OnDestroy { | ||
@ViewChild('editor') public editorRef: ElementRef; | ||
@Output() videoDataOutput = new EventEmitter<any>(); | ||
@Output() editorDataOutput = new EventEmitter<any>(); |
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.
@simran142002 Still I can see there some variables are not being used by the component. Please check and remove the same.
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.
@simran142002 Why is this file needed, since we have the following file for mocking the data?
projects/questionset-editor-library/src/lib/components/assets-browser/assets-browser.component.spec.data.ts
Kudos, SonarCloud Quality Gate passed! |
Functionality:
Added Audio Upload functionality
Solution:
Sent audio as a parameter from question component to assets-browser component such that it can trigger the audio upload pop up and its corresponding mechanism
Risk level:
Issue:
#40
How to test:
nodemon server.js
npm run start