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

@@ -27,7 +27,6 @@
"type": "text",
"groupId": "kinRXxYop2X4d7F9qt8WNB",
"content": {
"html": "<div>Welcome to <span class=\"slate-bold\">AA</span> (Awesome Agency)</div>",
"richText": [
{
"type": "p",
@@ -37,8 +36,7 @@
{ "text": " (Awesome Agency)" }
]
}
],
"plainText": "Welcome to AA (Awesome Agency)"
]
}
},
{
@@ -76,14 +74,12 @@
"type": "text",
"groupId": "o4SH1UtKANnW5N5D67oZUz",
"content": {
"html": "<div>Great! Nice to meet you {{Name}}</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "Great! Nice to meet you {{Name}}" }]
}
],
"plainText": "Great! Nice to meet you {{Name}}"
]
}
},
{
@@ -91,7 +87,6 @@
"type": "text",
"groupId": "o4SH1UtKANnW5N5D67oZUz",
"content": {
"html": "<div>What&#x27;s the best email we can reach you at?</div>",
"richText": [
{
"type": "p",
@@ -99,8 +94,7 @@
{ "text": "What's the best email we can reach you at?" }
]
}
],
"plainText": "What's the best email we can reach you at?"
]
}
},
{
@@ -126,11 +120,9 @@
"type": "text",
"groupId": "q5dAhqSTCaNdiGSJm9B9Rw",
"content": {
"html": "<div>What&#x27;s your name?</div>",
"richText": [
{ "type": "p", "children": [{ "text": "What's your name?" }] }
],
"plainText": "What's your name?"
]
}
},
{
@@ -159,14 +151,12 @@
"type": "text",
"groupId": "fKqRz7iswk7ULaj5PJocZL",
"content": {
"html": "<div>What services are you interested in?</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "What services are you interested in?" }]
}
],
"plainText": "What services are you interested in?"
]
}
},
{
@@ -214,7 +204,6 @@
"type": "text",
"groupId": "7qHBEyCMvKEJryBHzPmHjV",
"content": {
"html": "<div>Can you tell me a bit more about your needs?</div>",
"richText": [
{
"type": "p",
@@ -222,8 +211,7 @@
{ "text": "Can you tell me a bit more about your needs?" }
]
}
],
"plainText": "Can you tell me a bit more about your needs?"
]
}
},
{
@@ -248,9 +236,7 @@
"type": "text",
"groupId": "vF7AD7zSAj7SNvN3gr9N94",
"content": {
"html": "<div>Perfect!</div>",
"richText": [{ "type": "p", "children": [{ "text": "Perfect!" }] }],
"plainText": "Perfect!"
"richText": [{ "type": "p", "children": [{ "text": "Perfect!" }] }]
}
},
{
@@ -258,14 +244,12 @@
"type": "text",
"groupId": "vF7AD7zSAj7SNvN3gr9N94",
"content": {
"html": "<div>We&#x27;ll get back to you at {{Email}}</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "We'll get back to you at {{Email}}" }]
}
],
"plainText": "We'll get back to you at {{Email}}"
]
}
}
],

View File

@@ -28,7 +28,6 @@
"type": "text",
"groupId": "nrFcoNFtGcGJNifcjiEFya",
"content": {
"html": "<div>As you answer this chat, you&#x27;ll see your result in the real Airtable spreadsheet</div>",
"richText": [
{
"type": "p",
@@ -38,8 +37,7 @@
}
]
}
],
"plainText": "As you answer this chat, you'll see your result in the real Airtable spreadsheet"
]
}
},
{
@@ -47,7 +45,6 @@
"type": "text",
"groupId": "nrFcoNFtGcGJNifcjiEFya",
"content": {
"html": "<div>You can think of it as a guestbook 😂</div>",
"richText": [
{
"type": "p",
@@ -55,8 +52,7 @@
{ "text": "You can think of it as a guestbook 😂" }
]
}
],
"plainText": "You can think of it as a guestbook 😂"
]
}
},
{
@@ -64,9 +60,7 @@
"type": "text",
"groupId": "nrFcoNFtGcGJNifcjiEFya",
"content": {
"html": "<div>Ready?</div>",
"richText": [{ "type": "p", "children": [{ "text": "Ready?" }] }],
"plainText": "Ready?"
"richText": [{ "type": "p", "children": [{ "text": "Ready?" }] }]
}
},
{
@@ -96,14 +90,12 @@
"type": "text",
"groupId": "9mz6QbFyQB1uMggt9YbweU",
"content": {
"html": "<div>If you have anything to say...</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "If you have anything to say..." }]
}
],
"plainText": "If you have anything to say..."
]
}
},
{
@@ -172,9 +164,7 @@
"type": "text",
"groupId": "dypuPQjb1q55tQavVzZv4e",
"content": {
"html": "<div>Cheers!</div>",
"richText": [{ "type": "p", "children": [{ "text": "Cheers!" }] }],
"plainText": "Cheers!"
"richText": [{ "type": "p", "children": [{ "text": "Cheers!" }] }]
}
}
],
@@ -189,11 +179,9 @@
"type": "text",
"groupId": "m299Kw31LhXpxZLNNb7WT5",
"content": {
"html": "<div>What&#x27;s your name?</div>",
"richText": [
{ "type": "p", "children": [{ "text": "What's your name?" }] }
],
"plainText": "What's your name?"
]
}
},
{