-
Notifications
You must be signed in to change notification settings - Fork 103
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
SDA-4220 (Implement API for call notification) #1891
Conversation
Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com>
Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com>
Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com>
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.
Impressive work! 👏
Minor comments to support some unexpected behaviours and give more flexibility
parseInt(String(y), 10), | ||
); | ||
} catch (err) { | ||
console.warn( |
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.
console.warn( | |
logger.warn( |
let containerCssClass = `container ${themeClassName} `; | ||
containerCssClass += customCssClasses.join(' '); | ||
|
||
const acceptText = acceptButtonText |
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.
What about giving full flexibility on the wording? --> sent through the API?
Logic could be implemented on client side, giving more flexibility.
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.
Yes, acceptButtonText
if present will be used as the button text else it takes the chat type to construct the text
@@ -1,10 +1,71 @@ | |||
<html> | |||
<head> | |||
<style> | |||
body { |
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.
❤️
Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com>
…hange Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com>
* SDA-4420 - Implement API for call notification Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com> * SDA-4420 - Add unit tests Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com> * SDA-4420 - Fix caller name style Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com> * SDA-4420 - Change to logger Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com> * SDA-4420 - update call toast position based on notification setting change Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com> --------- Signed-off-by: Kiran Niranjan <kiran.niranjan@symphony.com>
Description
Implement call notification API
Demo
IM
ROOM
Extreme
Redesigned Demo Page 😀