2
0

♻️ Simplify text bubble content shape

Remove html and plainText field because it was redundant

Closes #386
This commit is contained in:
Baptiste Arnaud
2023-04-13 17:04:21 +02:00
parent 2cbf8348c3
commit e0a9824913
70 changed files with 545 additions and 1030 deletions

View File

@ -29,11 +29,9 @@
"id": "cl1267q2c000e2e6dynjeg83n",
"type": "text",
"content": {
"html": "<div>Welcome 👋</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Welcome 👋" }] }
],
"plainText": "Welcome 👋"
]
},
"groupId": "az9nafw4tu9b6dyh3cvutlek"
},
@ -41,11 +39,9 @@
"id": "cl1267y1u000f2e6d4rlglv6g",
"type": "text",
"content": {
"html": "<div>What&#x27;s your name?</div>",
"richText": [
{ "type": "p", "children": [{ "text": "What's your name?" }] }
],
"plainText": "What's your name?"
]
},
"groupId": "az9nafw4tu9b6dyh3cvutlek"
},
@ -74,11 +70,9 @@
"id": "cl1266v6f000a2e6db7wj3ux7",
"type": "text",
"content": {
"html": "<div>Welcome {{Name}} 👋</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Welcome {{Name}} 👋" }] }
],
"plainText": "Welcome {{Name}} 👋"
]
},
"groupId": "s3hgjtmb1bzq6ip2bm9w1r53"
},
@ -86,7 +80,6 @@
"id": "cl126hb9m000l2e6d5qk3mohn",
"type": "text",
"content": {
"html": "<div>I&#x27;m super pumped that you&#x27;ve decided to try out Typebot 😍</div>",
"richText": [
{
"type": "p",
@ -96,8 +89,7 @@
}
]
}
],
"plainText": "I'm super pumped that you've decided to try out Typebot 😍"
]
},
"groupId": "s3hgjtmb1bzq6ip2bm9w1r53"
},
@ -105,7 +97,6 @@
"id": "cl126hpw1000m2e6dneousygl",
"type": "text",
"content": {
"html": "<div>You are small steps away from meaningful, hyper-personalized experience for your users</div>",
"richText": [
{
"type": "p",
@ -115,8 +106,7 @@
}
]
}
],
"plainText": "You are small steps away from meaningful, hyper-personalized experience for your users"
]
},
"groupId": "s3hgjtmb1bzq6ip2bm9w1r53"
},
@ -124,7 +114,6 @@
"id": "cl126guhd000k2e6d6ypkex9z",
"type": "text",
"content": {
"html": "<div>Let&#x27;s get you set up for your Typebot journey.</div>",
"richText": [
{
"type": "p",
@ -132,8 +121,7 @@
{ "text": "Let's get you set up for your Typebot journey." }
]
}
],
"plainText": "Let's get you set up for your Typebot journey."
]
},
"groupId": "s3hgjtmb1bzq6ip2bm9w1r53"
},
@ -141,14 +129,12 @@
"id": "cl126ixp9000q2e6dslh0zypi",
"type": "text",
"content": {
"html": "<div>Do you work for a specific company?</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "Do you work for a specific company?" }]
}
],
"plainText": "Do you work for a specific company?"
]
},
"groupId": "s3hgjtmb1bzq6ip2bm9w1r53"
},
@ -198,7 +184,6 @@
"id": "cl126krck00112e6d1m6ctxpn",
"type": "text",
"content": {
"html": "<div>What type of bots are you planning to build with Typebot?</div>",
"richText": [
{
"type": "p",
@ -208,8 +193,7 @@
}
]
}
],
"plainText": "What type of bots are you planning to build with Typebot?"
]
},
"groupId": "m8k3pv1rjckh3arxgitwo43i"
},
@ -309,7 +293,6 @@
"id": "cl126p76d001k2e6dbhnf2ysq",
"type": "text",
"content": {
"html": "<div>Thank you for answering those questions!</div>",
"richText": [
{
"type": "p",
@ -317,8 +300,7 @@
{ "text": "Thank you for answering those questions!" }
]
}
],
"plainText": "Thank you for answering those questions!"
]
},
"groupId": "cnf2ljrlt875d005783ju7hc"
},
@ -335,11 +317,9 @@
"groupId": "cnf2ljrlt875d005783ju7hc",
"type": "text",
"content": {
"html": "<div>See you soon 🚀</div>",
"richText": [
{ "type": "p", "children": [{ "text": "See you soon 🚀" }] }
],
"plainText": "See you soon 🚀"
]
}
}
],
@ -353,11 +333,9 @@
"id": "cl127yxym000b2e6d9hksxo6h",
"type": "text",
"content": {
"html": "<div>What else?</div>",
"richText": [
{ "type": "p", "children": [{ "text": "What else?" }] }
],
"plainText": "What else?"
]
},
"groupId": "hduy797g246pj8qnhsxy5kt5"
},