-
Notifications
You must be signed in to change notification settings - Fork 44
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
Update chat templates #805
Conversation
…ic-frontend into feature/chat-templates
Codecov Report
@@ Coverage Diff @@
## master #805 +/- ##
==========================================
- Coverage 72.25% 70.58% -1.68%
==========================================
Files 141 141
Lines 3385 3512 +127
Branches 665 710 +45
==========================================
+ Hits 2446 2479 +33
- Misses 698 781 +83
- Partials 241 252 +11
Continue to review full report at Codecov.
|
const dialogMessage = ' It will stop showing when you are drafting a customized message.'; | ||
|
||
const defaultTypeAttribute = { | ||
type: 'TEXT', | ||
// type: 'TEXT', |
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.
is this needed or can be removed easily?
src/containers/Form/FormLayout.tsx
Outdated
@@ -216,6 +222,38 @@ export const FormLayout: React.SFC<FormLayoutProps> = ({ | |||
return null; | |||
} | |||
|
|||
const getMediaId = (payload: 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.
I think this is not something we should include in FormLayout.tsx. Maybe in parent or maybe we create another (generic) wrapper around FormLayout that deals with media. Let me know your thoughts.
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.
@rathorevaibhav I have fixed this, please review.
…to feature/chat-templates
Summary
Test Plan