Skip to content

Commit

Permalink
♻️ Simplify text bubble content shape
Browse files Browse the repository at this point in the history
Remove html and plainText field because it was redundant

Closes #386
  • Loading branch information
baptisteArno committed Apr 13, 2023
1 parent 2cbf834 commit e0a9824
Show file tree
Hide file tree
Showing 70 changed files with 545 additions and 1,030 deletions.
48 changes: 12 additions & 36 deletions apps/builder/public/bots/onboarding-dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,19 @@
"id": "cl1267q2c000e2e6dynjeg83n",
"type": "text",
"content": {
"html": "<div>Welcome 👋</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Welcome 👋" }] }
],
"plainText": "Welcome 👋"
]
},
"groupId": "clcueadzi00063b6sch7b1f32"
},
{
"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": "clcueadzi00063b6sch7b1f32"
},
Expand Down Expand Up @@ -95,19 +91,16 @@
"id": "cl1266v6f000a2e6db7wj3ux7",
"type": "text",
"content": {
"html": "<div>Welcome {{Name}} 👋</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Welcome {{Name}} 👋" }] }
],
"plainText": "Welcome {{Name}} 👋"
]
},
"groupId": "clcueadzi00073b6sqz8n5vxp"
},
{
"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",
Expand All @@ -117,16 +110,14 @@
}
]
}
],
"plainText": "I'm super pumped that you've decided to try out Typebot 😍"
]
},
"groupId": "clcueadzi00073b6sqz8n5vxp"
},
{
"id": "cl126hpw1000m2e6dneousygl",
"type": "text",
"content": {
"html": "<div>You are small steps away from meaningful, hyper-personalized experience for your users</div>",
"richText": [
{
"type": "p",
Expand All @@ -136,40 +127,35 @@
}
]
}
],
"plainText": "You are small steps away from meaningful, hyper-personalized experience for your users"
]
},
"groupId": "clcueadzi00073b6sqz8n5vxp"
},
{
"id": "cl126guhd000k2e6d6ypkex9z",
"type": "text",
"content": {
"html": "<div>Let&#x27;s get you set up for your Typebot journey.</div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "Let's get you set up for your Typebot journey." }
]
}
],
"plainText": "Let's get you set up for your Typebot journey."
]
},
"groupId": "clcueadzi00073b6sqz8n5vxp"
},
{
"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": "clcueadzi00073b6sqz8n5vxp"
},
Expand Down Expand Up @@ -219,7 +205,6 @@
"id": "cl126krck00112e6d1m6ctxpn",
"type": "text",
"content": {
"html": "<div>What type of bots are you planning to build with Typebot?</div>",
"richText": [
{
"type": "p",
Expand All @@ -229,8 +214,7 @@
}
]
}
],
"plainText": "What type of bots are you planning to build with Typebot?"
]
},
"groupId": "clcueadzi00093b6s82ivles8"
},
Expand Down Expand Up @@ -330,16 +314,14 @@
"id": "cl126p76d001k2e6dbhnf2ysq",
"type": "text",
"content": {
"html": "<div>Thank you for answering those questions!</div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "Thank you for answering those questions!" }
]
}
],
"plainText": "Thank you for answering those questions!"
]
},
"groupId": "clcueadzi000a3b6spk404zpz"
},
Expand All @@ -355,7 +337,6 @@
"id": "cl126txta001y2e6dtxrbsnek",
"type": "text",
"content": {
"html": "<div>You can reach out to me using the contact bubble on the bottom right corner 🤓</div>",
"richText": [
{
"type": "p",
Expand All @@ -365,23 +346,20 @@
}
]
}
],
"plainText": "You can reach out to me using the contact bubble on the bottom right corner 🤓"
]
},
"groupId": "clcueadzi000a3b6spk404zpz"
},
{
"id": "cl12buyly00172e6991bz38ch",
"type": "text",
"content": {
"html": "<div>Let&#x27;s create your first typebot...</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "Let's create your first typebot..." }]
}
],
"plainText": "Let's create your first typebot..."
]
},
"groupId": "clcueadzi000a3b6spk404zpz"
}
Expand All @@ -396,11 +374,9 @@
"id": "cl127yxym000b2e6d9hksxo6h",
"type": "text",
"content": {
"html": "<div>What else?</div>",
"richText": [
{ "type": "p", "children": [{ "text": "What else?" }] }
],
"plainText": "What else?"
]
},
"groupId": "clcueadzi000b3b6sv6936vs4"
},
Expand Down
48 changes: 12 additions & 36 deletions apps/builder/public/bots/onboarding.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,23 +50,19 @@
"id": "cl1267q2c000e2e6dynjeg83n",
"type": "text",
"content": {
"html": "<div>Welcome 👋</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Welcome 👋" }] }
],
"plainText": "Welcome 👋"
]
},
"groupId": "clcueadzi00063b6sch7b1f32"
},
{
"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": "clcueadzi00063b6sch7b1f32"
},
Expand Down Expand Up @@ -95,19 +91,16 @@
"id": "cl1266v6f000a2e6db7wj3ux7",
"type": "text",
"content": {
"html": "<div>Welcome {{Name}} 👋</div>",
"richText": [
{ "type": "p", "children": [{ "text": "Welcome {{Name}} 👋" }] }
],
"plainText": "Welcome {{Name}} 👋"
]
},
"groupId": "clcueadzi00073b6sqz8n5vxp"
},
{
"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",
Expand All @@ -117,16 +110,14 @@
}
]
}
],
"plainText": "I'm super pumped that you've decided to try out Typebot 😍"
]
},
"groupId": "clcueadzi00073b6sqz8n5vxp"
},
{
"id": "cl126hpw1000m2e6dneousygl",
"type": "text",
"content": {
"html": "<div>You are small steps away from meaningful, hyper-personalized experience for your users</div>",
"richText": [
{
"type": "p",
Expand All @@ -136,40 +127,35 @@
}
]
}
],
"plainText": "You are small steps away from meaningful, hyper-personalized experience for your users"
]
},
"groupId": "clcueadzi00073b6sqz8n5vxp"
},
{
"id": "cl126guhd000k2e6d6ypkex9z",
"type": "text",
"content": {
"html": "<div>Let&#x27;s get you set up for your Typebot journey.</div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "Let's get you set up for your Typebot journey." }
]
}
],
"plainText": "Let's get you set up for your Typebot journey."
]
},
"groupId": "clcueadzi00073b6sqz8n5vxp"
},
{
"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": "clcueadzi00073b6sqz8n5vxp"
},
Expand Down Expand Up @@ -219,7 +205,6 @@
"id": "cl126krck00112e6d1m6ctxpn",
"type": "text",
"content": {
"html": "<div>What type of bots are you planning to build with Typebot?</div>",
"richText": [
{
"type": "p",
Expand All @@ -229,8 +214,7 @@
}
]
}
],
"plainText": "What type of bots are you planning to build with Typebot?"
]
},
"groupId": "clcueadzi00093b6s82ivles8"
},
Expand Down Expand Up @@ -330,16 +314,14 @@
"id": "cl126p76d001k2e6dbhnf2ysq",
"type": "text",
"content": {
"html": "<div>Thank you for answering those questions!</div>",
"richText": [
{
"type": "p",
"children": [
{ "text": "Thank you for answering those questions!" }
]
}
],
"plainText": "Thank you for answering those questions!"
]
},
"groupId": "clcueadzi000a3b6spk404zpz"
},
Expand All @@ -355,7 +337,6 @@
"id": "cl126txta001y2e6dtxrbsnek",
"type": "text",
"content": {
"html": "<div>You can reach out to me using the contact bubble on the bottom right corner 🤓</div>",
"richText": [
{
"type": "p",
Expand All @@ -365,23 +346,20 @@
}
]
}
],
"plainText": "You can reach out to me using the contact bubble on the bottom right corner 🤓"
]
},
"groupId": "clcueadzi000a3b6spk404zpz"
},
{
"id": "cl12buyly00172e6991bz38ch",
"type": "text",
"content": {
"html": "<div>Let&#x27;s create your first typebot...</div>",
"richText": [
{
"type": "p",
"children": [{ "text": "Let's create your first typebot..." }]
}
],
"plainText": "Let's create your first typebot..."
]
},
"groupId": "clcueadzi000a3b6spk404zpz"
}
Expand All @@ -396,11 +374,9 @@
"id": "cl127yxym000b2e6d9hksxo6h",
"type": "text",
"content": {
"html": "<div>What else?</div>",
"richText": [
{ "type": "p", "children": [{ "text": "What else?" }] }
],
"plainText": "What else?"
]
},
"groupId": "clcueadzi000b3b6sv6936vs4"
},
Expand Down
Loading

4 comments on commit e0a9824

@vercel
Copy link

@vercel vercel bot commented on e0a9824 Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

docs – ./apps/docs

docs.typebot.io
docs-typebot-io.vercel.app
docs-git-main-typebot-io.vercel.app

@vercel
Copy link

@vercel vercel bot commented on e0a9824 Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on e0a9824 Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

viewer-v2 – ./apps/viewer

bii.bj
1stop.au
yobot.me
klujo.com
me.cr8.ai
wachat.io
247987.com
8jours.top
aginap.com
ai.mprs.in
bee.cr8.ai
bot.aws.bj
bot.bbc.bj
cat.cr8.ai
finplex.be
nepkit.com
pig.cr8.ai
sat.cr8.ai
wachap.app
wachats.me
wsapio.com
bot.aipr.kr
bot.joof.it
bull.cr8.ai
docs.cr8.ai
minipost.uk
mole.cr8.ai
team.cr8.ai
wolf.cr8.ai
ai.meant.com
bot.grace.bj
cinecorn.com
help.taxt.co
kusamint.com
rhino.cr8.ai
sheep.cr8.ai
snake.cr8.ai
svhm.mprs.in
tiger.cr8.ai
video.cr8.ai
yoda.riku.ai
zebra.cr8.ai
bergamo.store
bot.krdfy.com
bot.tvbeat.it
cgcassets.com
cnvhub.com.br
facelabko.com
abbonamento.bwell.it
assistent.m-vogel.de
bium.gratirabbit.com
bot.ansuraniphone.my
bot.barrettamario.it
bot.cotemeuplano.com
bot.leadbooster.help
bot.mycompay.reviews
chat.hayurihijab.com
type.dericsoncalari.com.br
bot.pinpointinteractive.com
bot.polychromes-project.com
bot.seidinembroseanchetu.it
chat.semanalimpanome.com.br
designguide.techyscouts.com
liveconvert2.kandalearn.com
presente.empresarias.com.mx
register.algorithmpress.com
sell.sellthemotorhome.co.uk
anamnese.odontopavani.com.br
austin.channelautomation.com
bot.marketingplusmindset.com
bot.seidibergamoseanchetu.it
desabafe.sergiolimajr.com.br
download.venturemarketing.in
piazzatorre.barrettamario.it
type.cookieacademyonline.com
upload.atlasoutfittersk9.com
bot.brigadeirosemdrama.com.br
forms.escoladeautomacao.com.br
onboarding.libertydreamcare.ie
type.talitasouzamarques.com.br
agendamento.sergiolimajr.com.br
anamnese.clinicamegasjdr.com.br
bookings.littlepartymonkeys.com
bot.comercializadoraomicron.com
elevateyourmind.groovepages.com
viewer-v2-typebot-io.vercel.app
yourfeedback.comebackreward.com
bot.cabin-rentals-of-georgia.net
gerador.verificadordehospedes.com
personal-trainer.barrettamario.it
preagendamento.sergiolimajr.com.br
studiotecnicoimmobiliaremerelli.it
download.thailandmicespecialist.com
register.thailandmicespecialist.com
bot.studiotecnicoimmobiliaremerelli.it
pesquisa.escolamodacomproposito.com.br
anamnese.clinicaramosodontologia.com.br
chrome-os-inquiry-system.itschromeos.com
viewer-v2-git-main-typebot-io.vercel.app
main-menu-for-itschromeos.itschromeos.com

@vercel
Copy link

@vercel vercel bot commented on e0a9824 Apr 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

builder-v2 – ./apps/builder

builder-v2-git-main-typebot-io.vercel.app
builder-v2-typebot-io.vercel.app
app.typebot.io

Please sign in to comment.