Skip to content

Commit

Permalink
Merge pull request #2135 from glific/feature/interactive-ids
Browse files Browse the repository at this point in the history
Updated floweditor with interactive id changes
  • Loading branch information
mdshamoon authored Aug 26, 2022
2 parents 1bf943d + c63fd8d commit 60bda49
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "glific-frontend",
"version": "3.9.2",
"version": "3.9.3",
"private": true,
"dependencies": {
"@absinthe/socket": "^0.2.1",
Expand All @@ -17,7 +17,7 @@
"@date-io/date-fns": "^1.x",
"@draft-js-plugins/editor": "^4.1.2",
"@draft-js-plugins/mention": "^5.1.1",
"@glific/flow-editor": "^1.17.1-4",
"@glific/flow-editor": "^1.17.1-7",
"@jumpn/utils-graphql": "^0.6.0",
"@material-ui/core": "^4.11.3",
"@material-ui/icons": "^4.11.2",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ const ChatConversation: React.SFC<ChatConversationProps> = (props) => {
if (originalText.length > COMPACT_MESSAGE_LENGTH) {
originalText = originalText.slice(0, COMPACT_MESSAGE_LENGTH).concat('...');
}
// replace new line characters with space to come in same line
originalText = originalText.replace(/\n/g, ' ');

displayMSG = WhatsAppToJsx(originalText);
}

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1344,10 +1344,10 @@
resolved "https://registry.yarnpkg.com/@gar/promisify/-/promisify-1.1.3.tgz#555193ab2e3bb3b6adc3d551c9c030d9e860daf6"
integrity sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==

"@glific/flow-editor@^1.17.1-4":
version "1.17.1-4"
resolved "https://registry.yarnpkg.com/@glific/flow-editor/-/flow-editor-1.17.1-4.tgz#54e1af5aaf5a5f59b75cfff72b6372bde27e3b80"
integrity sha512-ms4a/oxvEl5iSfrmZigwSx87DiyDxlgcfhCmBGR9Mh/ssb8BYjX46cLvxQ0TErkiIOfB9uES/cJqbc4fqCTxww==
"@glific/flow-editor@^1.17.1-7":
version "1.17.1-7"
resolved "https://registry.yarnpkg.com/@glific/flow-editor/-/flow-editor-1.17.1-7.tgz#b0a87912cd11ee2bc9fb3f7d01978e78039d74c0"
integrity sha512-hexaBa4hSr6Ph1UAOyhXuetWVj5hikE+LkV5NXdSBUCY2kCiOEF9ng6hiDTwgEw6apkDi5t020/b8+rYtwIY3Q==
dependencies:
react "^16.8.6"
react-dom "^16.8.6"
Expand Down

0 comments on commit 60bda49

Please sign in to comment.