Skip to content
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

On edge click, the focused groupped highlight is laggy #658

Closed
baptisteArno opened this issue Jul 31, 2023 · 0 comments
Closed

On edge click, the focused groupped highlight is laggy #658

baptisteArno opened this issue Jul 31, 2023 · 0 comments
Labels
Bug 🐛 Something isn't working

Comments

@baptisteArno
Copy link
Owner

On a large flow when trying to focus group or edge, it's laggy.

Here is a flow example that causes a performance problem:

{"id":"b6xxf01k07yfaqhsiwurxatr","version":"3","createdAt":"2023-06-24T13:22:39.946Z","updatedAt":"2023-06-24T13:31:20.251Z","icon":"data:image/svg+xml;utf8,<svg fill='%23A87964' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 512'><!--! Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. --><path d='M58.9 42.1c3-6.1 9.6-9.6 16.3-8.7L320 64 564.8 33.4c6.7-.8 13.3 2.7 16.3 8.7l41.7 83.4c9 17.9-.6 39.6-19.8 45.1L439.6 217.3c-13.9 4-28.8-1.9-36.2-14.3L320 64 236.6 203c-7.4 12.4-22.3 18.3-36.2 14.3L37.1 170.6c-19.3-5.5-28.8-27.2-19.8-45.1L58.9 42.1zM321.1 128l54.9 91.4c14.9 24.8 44.6 36.6 72.5 28.6L576 211.6v167c0 22-15 41.2-36.4 46.6l-204.1 51c-10.2 2.6-20.9 2.6-31 0l-204.1-51C79 419.7 64 400.5 64 378.5v-167L191.6 248c27.8 8 57.6-3.8 72.5-28.6L318.9 128h2.2z'/></svg>","name":"Product recommendation #2 copy copy","folderId":null,"groups":[{"id":"b0aom1tv4pf6w0tikkx15gtx","title":"Start","blocks":[{"id":"li6nyybzaojujnz241jv5rr1","type":"start","label":"Start","groupId":"b0aom1tv4pf6w0tikkx15gtx","outgoingEdgeId":"c7n16kwa531ukzjin3m5br28"}],"graphCoordinates":{"x":-449.37,"y":-76.18}},{"id":"cs8ttrqyfrhsmre5q6mn3y74","title":"Group #1","blocks":[{"id":"ub5tforva9nlqky5lbrfrsdb","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Ok {{Name}}"}]}]},"groupId":"cs8ttrqyfrhsmre5q6mn3y74"},{"id":"jaj0pyfmlf4hb4suglr3v0be","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Because all products are not available everywhere, I need to know..."}]}]},"groupId":"cs8ttrqyfrhsmre5q6mn3y74"},{"id":"x6lj1mhze2xtc0h3ln42xg84","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Where do you live?"}]}]},"groupId":"cs8ttrqyfrhsmre5q6mn3y74"},{"id":"lwtynqjykiem5zdtns3fwhu2","type":"choice input","items":[{"id":"b6mg694wlrmx4k1fgc46co57","type":0,"blockId":"lwtynqjykiem5zdtns3fwhu2","content":"North America"},{"id":"fpey0ohbvgvg7b86y4ol8wr7","type":0,"blockId":"lwtynqjykiem5zdtns3fwhu2","content":"Europe"}],"groupId":"cs8ttrqyfrhsmre5q6mn3y74","options":{"variableId":"vma96g9rw8oaosc0ei2iacqig","buttonLabel":"Send","isSearchable":false,"isMultipleChoice":false,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"i65rncwhizv0uc88pkxhfc6i"}],"graphCoordinates":{"x":368.12890625,"y":175.3978125}},{"id":"hcy5gbcreiicho7egdanjn6w","title":"Group #2","blocks":[{"id":"mu6ygqqpi48dacy1n4xj6x4y","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Let's determine what Näak's products suit you best. 💪"}]}]},"groupId":"hcy5gbcreiicho7egdanjn6w"},{"id":"w9rc4yf0ytnzqy16r938h094","type":"text","content":{"richText":[{"type":"p","children":[{"text":"What's your name?"}]}]},"groupId":"hcy5gbcreiicho7egdanjn6w"},{"id":"xobx3g928f9zj220n5qe1ih6","type":"text input","groupId":"hcy5gbcreiicho7egdanjn6w","options":{"isLong":false,"labels":{"button":"Send","placeholder":"Type your answer..."},"variableId":"vp1r2yrb6xgmi2aq3x6x73vaz"},"outgoingEdgeId":"b3p2fef3t2auev1zcskq0093"}],"graphCoordinates":{"x":-6.711562499999999,"y":193.56609375}},{"id":"m1mczc3hkyd5jjff468n6wsk","title":"Group #3","blocks":[{"id":"xpbrytz3gucp0xzf1qs8mlwe","type":"text","content":{"richText":[{"type":"p","children":[{"text":"What's your sport?"}]}]},"groupId":"m1mczc3hkyd5jjff468n6wsk"},{"id":"iohra5yx6d0fgfo3de2czoa9","type":"choice input","items":[{"id":"oy7vw1ud500ec7fod6vy3r95","type":0,"blockId":"iohra5yx6d0fgfo3de2czoa9","content":"Option1"},{"id":"c6izw2k4cxgsq1ce26jj0jkl","type":0,"blockId":"iohra5yx6d0fgfo3de2czoa9","content":"2"},{"id":"gap70u4844tfq0rcpo0llhzs","type":0,"blockId":"iohra5yx6d0fgfo3de2czoa9","content":"3"},{"id":"m6f6mne52f0b0wtd71rxls21","type":0,"blockId":"iohra5yx6d0fgfo3de2czoa9","content":"4"},{"id":"l9lkdqoadyms5fdcsn7ym78y","type":0,"blockId":"iohra5yx6d0fgfo3de2czoa9","content":"5"}],"groupId":"m1mczc3hkyd5jjff468n6wsk","options":{"buttonLabel":"Send","isSearchable":false,"isMultipleChoice":false,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"yus9niigow92nf2j4repo57r"}],"graphCoordinates":{"x":721.01,"y":174.45}},{"id":"z4p54sh48pej7a0853ry9rli","title":"Group #4","blocks":[{"id":"ahuasm8oa058gl4np96qadox","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Nice! 😎"}]}]},"groupId":"z4p54sh48pej7a0853ry9rli"},{"id":"phbeq3fg1jp2ktmz2blr6bzf","type":"text","content":{"richText":[{"type":"p","children":[{"text":"What's your gender?"}]}]},"groupId":"z4p54sh48pej7a0853ry9rli"},{"id":"mfz600vwgfjcisahf5tdnz7l","type":"choice input","items":[{"id":"zv2np66vgqoruntfh9h9vidx","type":0,"blockId":"mfz600vwgfjcisahf5tdnz7l","content":"♂️ Men"},{"id":"w5e2h4n10u1l2pap1vtm68ma","type":0,"blockId":"mfz600vwgfjcisahf5tdnz7l","content":"♀️ Women"},{"id":"m1t9qrfs4z998ogqd4ttueus","type":0,"blockId":"mfz600vwgfjcisahf5tdnz7l","content":"Other"}],"groupId":"z4p54sh48pej7a0853ry9rli","options":{"buttonLabel":"Send","isSearchable":false,"isMultipleChoice":false,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"fjy7uvg14ia3jnhgs0sxaoyy"}],"graphCoordinates":{"x":1071.26,"y":174.08}},{"id":"zhl6pnoffc5lslepxvyvacka","title":"Group #5","blocks":[{"id":"pksck9ppag8q24ou26ewgodw","type":"text","content":{"richText":[{"type":"p","children":[{"text":"How can Näak help you achieve your goals?"}]}]},"groupId":"zhl6pnoffc5lslepxvyvacka"},{"id":"cx2v8nfb4kxvk58bbu6w85uy","type":"picture choice input","items":[{"id":"fmhwukhd2112743tgrmv85st","type":3,"title":"Energy","blockId":"cx2v8nfb4kxvk58bbu6w85uy","pictureSrc":"https://images.unsplash.com/photo-1615845522103-82f98cd2a9de?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0MjU2MDR8MHwxfHNlYXJjaHw5fHxlbmR1cmFuY2V8ZW58MHwwfHx8MTY4NTM2MzY3Nnww&ixlib=rb-4.0.3&q=80&w=1080"},{"id":"hkzoroc6mf9tt9g2uxppweay","type":3,"title":"Hydration","blockId":"cx2v8nfb4kxvk58bbu6w85uy","pictureSrc":"https://images.unsplash.com/photo-1536044635785-467d51fc5880?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0MjU2MDR8MHwxfHNlYXJjaHwxMnx8ZHJpbmslMjBzcG9ydHxlbnwwfDB8fHwxNjg1MzYzNzIxfDA&ixlib=rb-4.0.3&q=80&w=1080"},{"id":"nn5629jaux41qo0fhl1yj3zi","type":3,"title":"Recovery","blockId":"cx2v8nfb4kxvk58bbu6w85uy","pictureSrc":"https://images.unsplash.com/photo-1531403939386-c08a16cd7eef?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w0MjU2MDR8MHwxfHNlYXJjaHw3fHxzdHJldGNofGVufDB8MHx8fDE2ODUzNjM2OTl8MA&ixlib=rb-4.0.3&q=80&w=1080"}],"groupId":"zhl6pnoffc5lslepxvyvacka","options":{"variableId":"vgz8fr5u7q0p4jdef1krz2vm3","buttonLabel":"Send","isMultipleChoice":true,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"cldzi3g3dq159cr0p8gbx4as"}],"graphCoordinates":{"x":1412.34,"y":174.77}},{"id":"v1n04knsgkkgqf0s3qcuzwef","title":"Group #6","blocks":[{"id":"ife4ujh1l5ljpp3x4gnram1z","type":"text","content":{"richText":[{"type":"p","children":[{"text":"What protein source are you interested in?"}]}]},"groupId":"v1n04knsgkkgqf0s3qcuzwef"},{"id":"ogy9ng7q9jglxg2ivb39tzeh","type":"choice input","items":[{"id":"exj60v3j83wx9yjbdsm8gwzj","type":0,"blockId":"ogy9ng7q9jglxg2ivb39tzeh","content":"Cricket-based"},{"id":"kvqeznudz85jbqwxzfpwz8z8","type":0,"blockId":"ogy9ng7q9jglxg2ivb39tzeh","content":"Plant-based"}],"groupId":"v1n04knsgkkgqf0s3qcuzwef","options":{"variableId":"vlgo7i0r514jkd9a9f24otm4m","buttonLabel":"Send","isSearchable":false,"isMultipleChoice":true,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"esqw9aglg40wrki4170o6i4g"}],"graphCoordinates":{"x":1745.61,"y":183.87}},{"id":"bgshmlrmcogsmbbu5r57x0wy","title":"Group #7","blocks":[{"id":"muy0ptwahuy20bhs5b9npz2m","type":"text","content":{"richText":[{"type":"p","children":[{"text":"What are your favorite flavours?"}]}]},"groupId":"bgshmlrmcogsmbbu5r57x0wy"},{"id":"p71conb1ln7f3m41ca6pxetz","type":"choice input","items":[{"id":"t7fkowjzn7eygfn6q1r4a8l9","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Chocolate"},{"id":"b1a0qlhtirnxqaqudskc4hnb","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Vanilla"},{"id":"vef4uodxrj05lp2i5k3uhdd5","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Berries"},{"id":"oyyx5j4j5fee37rc47adb5m8","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Caramel"},{"id":"myapux2pojdtbdy0gyc47rhq","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Nuts"},{"id":"aegltvuw163qqx88rwzjrg3v","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Coffee"},{"id":"zql5o66rry2ab3ofxa1y8kll","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Lime"},{"id":"ecvbkdakesh18zn5bfkylvt1","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Watermelon"},{"id":"b1xcrk5tv1b1rkjy40uhp44d","type":0,"blockId":"p71conb1ln7f3m41ca6pxetz","content":"Maple Syrup"}],"groupId":"bgshmlrmcogsmbbu5r57x0wy","options":{"variableId":"vhbd5800sc98l1lk8wf7fe742","buttonLabel":"Next","isSearchable":false,"isMultipleChoice":true,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"cvp9q2xekniuq6ryz7891y3z"}],"graphCoordinates":{"x":2077.77,"y":182.75}},{"id":"hssj33p8lt6hy5z9ar3fwbrv","title":"Group #8","blocks":[{"id":"bwqiy7w4x6egwozthsvraeup","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Great choice 😋"}]}]},"groupId":"hssj33p8lt6hy5z9ar3fwbrv"},{"id":"n6ns6i9z8qyk83wg5f8bn2j8","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Do you have any dietary restrictions?"}]}]},"groupId":"hssj33p8lt6hy5z9ar3fwbrv"},{"id":"cbcz08dj67rkx8k1cbj2ybz8","type":"choice input","items":[{"id":"u9gi0gnaza6ottid74l82wlm","type":0,"blockId":"cbcz08dj67rkx8k1cbj2ybz8","content":"Non GMO"},{"id":"yr7q8fcyi6l1sw83t37fjosj","type":0,"blockId":"cbcz08dj67rkx8k1cbj2ybz8","content":"No palm oil"},{"id":"gckqnnt2but4d6wwsfia3035","type":0,"blockId":"cbcz08dj67rkx8k1cbj2ybz8","content":"Gluten free"},{"id":"m3qdwzep7uugpejvga0yqorg","type":0,"blockId":"cbcz08dj67rkx8k1cbj2ybz8","content":"Nut free"}],"groupId":"hssj33p8lt6hy5z9ar3fwbrv","options":{"variableId":"vz4fqc40gkk99h0qeus2tjwhx","buttonLabel":"Send","isSearchable":false,"isMultipleChoice":false,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"vg0xdkf5jvkr4qkibcnkdw3j"}],"graphCoordinates":{"x":2424.83,"y":184.48}},{"id":"xm18ld1r1iy4xzcmbo8kxpaa","title":"Group #9","blocks":[{"id":"fynckthiy3zq7selucjvp44q","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Alright {{Name}}, I think we know exactly what you need."}]}]},"groupId":"xm18ld1r1iy4xzcmbo8kxpaa"},{"id":"pbn0oib7yt3uspici7to3i9f","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Sign up to our email list to receive a copy of your product recommendations."}]}]},"groupId":"xm18ld1r1iy4xzcmbo8kxpaa"},{"id":"rez1phkqpkeoj7u2kzmde653","type":"text","content":{"richText":[{"type":"p","children":[{"text":"We will also send a little gift 🎁"}]}]},"groupId":"xm18ld1r1iy4xzcmbo8kxpaa"},{"id":"vdzzxwdocfxdvqnqwwvjymzw","type":"email input","groupId":"xm18ld1r1iy4xzcmbo8kxpaa","options":{"labels":{"button":"Send","placeholder":"Type your email..."},"retryMessageContent":"This email doesn't seem to be valid. Can you type it again?"},"outgoingEdgeId":"rtl7gm0uauorn4lzdxze7st3"}],"graphCoordinates":{"x":2766.01,"y":187.64}},{"id":"mz7hx2zcl93mfl4072188onv","title":"If cricket","blocks":[{"id":"l16y2qzslakgl2up4jybj5m4","type":"Condition","items":[{"id":"yffl8ja17g5fr9rpi4d0cl36","type":1,"blockId":"l16y2qzslakgl2up4jybj5m4","content":{"comparisons":[{"id":"g995jwhkyj8e5tv4ci7gd5fi","value":"Cricket-based","variableId":"vlgo7i0r514jkd9a9f24otm4m","comparisonOperator":"Contains"},{"id":"qjhmaage7fe1i5e0nscr0954","value":"Europe","variableId":"vma96g9rw8oaosc0ei2iacqig","comparisonOperator":"Equal to"}],"logicalOperator":"AND"},"outgoingEdgeId":"p4zafysi69qhfjz9sa18cfjb"}],"groupId":"mz7hx2zcl93mfl4072188onv","outgoingEdgeId":"xx2h8g37grlakc692ce96iev"}],"graphCoordinates":{"x":3107.95,"y":187.35}},{"id":"ovu75341eaqmo4lkdii1kmup","title":"No cricket in Europe","blocks":[{"id":"c3m4f1kcyf3dnsdlykjrxytm","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Unfortunately, cricket-based products are not available in Europe. 😢"}]}]},"groupId":"ovu75341eaqmo4lkdii1kmup"},{"id":"pxb59zd4bjqmva9er47l6x15","type":"text","content":{"richText":[{"type":"p","children":[{"text":"We'll make sure to let you know once it's available!"}]}]},"groupId":"ovu75341eaqmo4lkdii1kmup","outgoingEdgeId":"sa8mwdjnyiwqcmgthmkolpzc"}],"graphCoordinates":{"x":3452.46,"y":113.36}},{"id":"qc0pbs2mzap9tb7z9kr8wn4y","title":"If Energy","blocks":[{"id":"okl6akklm8djknl7lofqr3cm","type":"Condition","items":[{"id":"vyjgfexvyrijez06kpxi1mva","type":1,"blockId":"okl6akklm8djknl7lofqr3cm","content":{"comparisons":[{"id":"w3ii2flw8vz608pm45j92nli","value":"Energy","variableId":"vgz8fr5u7q0p4jdef1krz2vm3","comparisonOperator":"Contains"}],"logicalOperator":"AND"},"outgoingEdgeId":"s39fq8x9k35f4bl2fgoixooo"}],"groupId":"qc0pbs2mzap9tb7z9kr8wn4y","outgoingEdgeId":"ltcebvyrbxtpjk9k72u1cxs5"}],"graphCoordinates":{"x":3646.4,"y":447.89}},{"id":"r0mtxq1m17f517h1p7wxyhmp","title":"If hydration","blocks":[{"id":"styhci2fh3yi17b7cmv3x8cc","type":"Condition","items":[{"id":"okd2sbmr1mgoubpf7kdjr9ey","type":1,"blockId":"styhci2fh3yi17b7cmv3x8cc","content":{"comparisons":[{"id":"w3ii2flw8vz608pm45j92nli","value":"Hydration","variableId":"vgz8fr5u7q0p4jdef1krz2vm3","comparisonOperator":"Contains"}],"logicalOperator":"AND"},"outgoingEdgeId":"cqqna1kxuj675o81b3ounv8m"}],"groupId":"r0mtxq1m17f517h1p7wxyhmp","outgoingEdgeId":"qn633y57yv7yyv5x48ghpkro"}],"graphCoordinates":{"x":4165.91,"y":568.07}},{"id":"lbs85gfdjs7ro9enk6zqa58p","title":"If recovery","blocks":[{"id":"m8o93n92t5wcy5bi8tgauc5f","type":"Condition","items":[{"id":"yw3cil1rvf3iduc0mko0c8og","type":1,"blockId":"m8o93n92t5wcy5bi8tgauc5f","content":{"comparisons":[{"id":"w3ii2flw8vz608pm45j92nli","value":"Recovery","variableId":"vgz8fr5u7q0p4jdef1krz2vm3","comparisonOperator":"Contains"}],"logicalOperator":"AND"},"outgoingEdgeId":"gj5b3ywal8ckuai72498i738"}],"groupId":"lbs85gfdjs7ro9enk6zqa58p"}],"graphCoordinates":{"x":5063.87,"y":680.32}},{"id":"tjt2c1inwdf9rr91yr0krrkh","title":"Energy","blocks":[{"id":"v4tvmb615jdg52vofgzlz7ai","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Let's talk about "},{"bold":true,"text":"Energy. ⚡"}]}]},"groupId":"tjt2c1inwdf9rr91yr0krrkh"},{"id":"vxadalubq6hnsywwt7w9tzoc","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Here is a selection for you based on your answers."}]}]},"groupId":"tjt2c1inwdf9rr91yr0krrkh"},{"id":"qn7v6dwrazd4mcni9hoqavwo","type":"picture choice input","items":[{"id":"b73i2mabrfbt49aidfgrc4uz","type":3,"blockId":"qn7v6dwrazd4mcni9hoqavwo"}],"groupId":"tjt2c1inwdf9rr91yr0krrkh","options":{"buttonLabel":"Send","searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"v0yzbarwmtffygegp1lrlqy1"}],"graphCoordinates":{"x":3982.87,"y":-178.6}},{"id":"ikft907e9ueedb0f539ig0yp","title":"Hydration","blocks":[{"id":"qsd35sfqjq1eskoovubrjc7k","type":"text","content":{"richText":[{"type":"p","children":[{"text":"About "},{"bold":true,"text":"Hydration. 💧"}]}]},"groupId":"ikft907e9ueedb0f539ig0yp"},{"id":"eobb04nb37ezx24go2iipm85","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Here is a selection for you based on your answers."}]}]},"groupId":"ikft907e9ueedb0f539ig0yp"},{"id":"pgh6mzmfhtu9tlmdtyqj2dcq","type":"Condition","items":[{"id":"ea8k8142u6trxyiw42vsk68e","type":1,"blockId":"pgh6mzmfhtu9tlmdtyqj2dcq","content":{"comparisons":[{"id":"ysu7q0adna5tyhaghtq9qzrj","value":"Watermelon","variableId":"vhbd5800sc98l1lk8wf7fe742","comparisonOperator":"Contains"},{"id":"j7sune97lh32xukeil8poeif","value":"Lime","variableId":"vhbd5800sc98l1lk8wf7fe742","comparisonOperator":"Does not contain"}],"logicalOperator":"AND"},"outgoingEdgeId":"knzpkrvi7pquig2cqqrl2bjh"},{"id":"quu5q3gunsf67kta1bn93ai3","type":1,"blockId":"pgh6mzmfhtu9tlmdtyqj2dcq","content":{"comparisons":[{"id":"l5qe72trkq1y93rto05fastv","value":"Lime","variableId":"vhbd5800sc98l1lk8wf7fe742","comparisonOperator":"Contains"},{"id":"o0e9hftzq0v8vfdaxw2nxp5m","value":"Watermelon","variableId":"vhbd5800sc98l1lk8wf7fe742","comparisonOperator":"Does not contain"}],"logicalOperator":"AND"},"outgoingEdgeId":"jwzbhj1f4un1xrqaneg4grgf"}],"groupId":"ikft907e9ueedb0f539ig0yp"}],"graphCoordinates":{"x":4510.13,"y":-301.67}},{"id":"sppymis83ncmr5goj7bmc9ay","title":"Recovery","blocks":[{"id":"xbbsd6xsl44fukz2ygdpjbd1","type":"text","content":{"richText":[{"type":"p","children":[{"bold":true,"text":"Recovery 🧘‍♂️ "},{"text":"is crucial to perform at your highest level on the field."}]}]},"groupId":"sppymis83ncmr5goj7bmc9ay"},{"id":"cgb8mt2krmq3mdddwjehtrzu","type":"text","content":{"richText":[{"type":"p","children":[{"text":"Here is a selection for you based on your answers."}]}]},"groupId":"sppymis83ncmr5goj7bmc9ay"},{"id":"icy9olg5ifc27pl004vwhw0m","type":"Condition","items":[{"id":"jv7vv5vviqlgltgq6g18ltl6","type":1,"blockId":"icy9olg5ifc27pl004vwhw0m","content":{"comparisons":[{"id":"ysu7q0adna5tyhaghtq9qzrj","value":"Nuts","variableId":"vhbd5800sc98l1lk8wf7fe742","comparisonOperator":"Contains"},{"id":"c9a2qyrlijb6wjqvzi1ecfi2","value":"Nut free","variableId":"vz4fqc40gkk99h0qeus2tjwhx","comparisonOperator":"Does not contain"}],"logicalOperator":"AND"},"outgoingEdgeId":"hwql1ice4zis5kcbs8k5cl7d"}],"groupId":"sppymis83ncmr5goj7bmc9ay","outgoingEdgeId":"cs3llkficvm6x6w94um26541"}],"graphCoordinates":{"x":5422.94,"y":362.82}},{"id":"fkjjnzvs2y7s5b5xkkazboxz","title":"","blocks":[{"id":"mtj2j6zgnp50wpw9ewuwui5u","type":"picture choice input","items":[{"id":"s9nop23fmq55jilo9mntgpn8","type":3,"title":"Protein Nut Butter","blockId":"mtj2j6zgnp50wpw9ewuwui5u","pictureSrc":"https://cdn.shopify.com/s/files/1/0704/1744/9254/products/naak-breakfast-340g-protein-nut-butter-peanut-40637318365488_600x.png?v=1678033822","description":"- 500mg super fats: promote heart and gut health\n- 640mg BCAAs: reduce muscle damage & soreness\n- 120mg electrolytes: replenish minerals lost in sweat\n- 4.3g protein: build & repair muscle post-workout"},{"id":"snr3wam9c0p1f191rf2587wz","type":3,"blockId":"mtj2j6zgnp50wpw9ewuwui5u","pictureSrc":"https://cdn.shopify.com/s/files/1/0704/1744/9254/products/naak-protein-powder-1-bag-2-75-serving-protein-powder-vanilla-29774755954774_600x.png?v=1677355777"}],"groupId":"fkjjnzvs2y7s5b5xkkazboxz","options":{"buttonLabel":"Send","searchInputPlaceholder":"Filter the options..."}}],"graphCoordinates":{"x":5792.49,"y":315.42}},{"id":"g8pl7o9gr4z0m303s2j4rsqx","title":"","blocks":[{"id":"zkpdlwf71pzmxxp88qsqf9bf","type":"picture choice input","items":[{"id":"v3p21ohm33k1l3ha6gaok7o6","type":3,"title":"Protein Powder","blockId":"zkpdlwf71pzmxxp88qsqf9bf","pictureSrc":"https://cdn.shopify.com/s/files/1/0704/1744/9254/products/naak-protein-powder-1-bag-2-75-serving-protein-powder-vanilla-29774755954774_600x.png?v=1677355777","description":"- 25g complete protein: build & repair muscle post-workout\n- 4g BCAAs: reduce muscle damage & soreness\n- 430mg electrolytes: replenish minerals lost in sweat\n- 1g carbohydrates: no added sugar"}],"groupId":"g8pl7o9gr4z0m303s2j4rsqx","options":{"buttonLabel":"Add to cart","isMultipleChoice":true,"searchInputPlaceholder":"Filter the options..."}}],"graphCoordinates":{"x":5794.16,"y":793.22}},{"id":"zmfz3wgegin17br57289inh8","title":"","blocks":[{"id":"jbqtw6gienleaxaklynrgr3u","type":"picture choice input","items":[{"id":"v8lasim92j6xhylhvh9ba9gt","type":3,"title":"Watermelon Energy Drink Mix","blockId":"jbqtw6gienleaxaklynrgr3u","pictureSrc":"https://cdn.shopify.com/s/files/1/0704/1744/9254/products/naak-energy-drink-mix-1-sac-3-50-portion-energy-drink-mix-watermelon-eu-29868346605654_600x.png?v=1677355821","description":"- 250 calories: get all your calories in a liquid form\n- 55g carbohydrates: simple and complex natural carbohydrates\n- 650mg electrolytes: replenish minerals lost in sweat\n- 1300mg BCAAs: prevent muscle breakdown during exercise\n- 8g protein: all essential amino acids to reduce muscle fatigue"}],"groupId":"zmfz3wgegin17br57289inh8","options":{"buttonLabel":"Next","isMultipleChoice":true,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"jndy6t313796b34y6u3n5k7i"}],"graphCoordinates":{"x":4880.1,"y":-380.87}},{"id":"kxw3n2glafzyzaoi2w5pbk0w","title":"","blocks":[{"id":"l174mks65gy9sjwku3hxbapw","type":"picture choice input","items":[{"id":"wu714uwncdmwvcy2ch61tk2z","type":3,"title":"Lime Energy Drink Mix","blockId":"l174mks65gy9sjwku3hxbapw","pictureSrc":"https://cdn.shopify.com/s/files/1/0704/1744/9254/products/naak-energy-drink-mix-1-sac-3-50-portion-energy-drink-mix-lime-eu-29868312887382_600x.png?v=1677355814","description":"- 250 calories: get all your calories in a liquid form\n- 55g carbohydrates: simple and complex natural carbohydrates\n- 650mg electrolytes: replenish minerals lost in sweat\n- 1300mg BCAAs: prevent muscle breakdown during exercise\n- 8g protein: all essential amino acids to reduce muscle fatigue"}],"groupId":"kxw3n2glafzyzaoi2w5pbk0w","options":{"buttonLabel":"Next","isMultipleChoice":true,"searchInputPlaceholder":"Filter the options..."},"outgoingEdgeId":"zb26cu2jyu9g2ig9znhu73us"}],"graphCoordinates":{"x":4883.2,"y":-88.97}}],"variables":[{"id":"vp1r2yrb6xgmi2aq3x6x73vaz","name":"Name"},{"id":"vhbd5800sc98l1lk8wf7fe742","name":"Flavour"},{"id":"vma96g9rw8oaosc0ei2iacqig","name":"Continent"},{"id":"vlgo7i0r514jkd9a9f24otm4m","name":"Protein source"},{"id":"vgz8fr5u7q0p4jdef1krz2vm3","name":"Goals"},{"id":"vz4fqc40gkk99h0qeus2tjwhx","name":"Diet restrictions"}],"edges":[{"id":"c7n16kwa531ukzjin3m5br28","to":{"groupId":"hcy5gbcreiicho7egdanjn6w"},"from":{"blockId":"li6nyybzaojujnz241jv5rr1","groupId":"b0aom1tv4pf6w0tikkx15gtx"}},{"id":"b3p2fef3t2auev1zcskq0093","to":{"groupId":"cs8ttrqyfrhsmre5q6mn3y74"},"from":{"blockId":"xobx3g928f9zj220n5qe1ih6","groupId":"hcy5gbcreiicho7egdanjn6w"}},{"id":"i65rncwhizv0uc88pkxhfc6i","to":{"groupId":"m1mczc3hkyd5jjff468n6wsk"},"from":{"blockId":"lwtynqjykiem5zdtns3fwhu2","groupId":"cs8ttrqyfrhsmre5q6mn3y74"}},{"id":"fjy7uvg14ia3jnhgs0sxaoyy","to":{"groupId":"zhl6pnoffc5lslepxvyvacka"},"from":{"blockId":"mfz600vwgfjcisahf5tdnz7l","groupId":"z4p54sh48pej7a0853ry9rli"}},{"id":"esqw9aglg40wrki4170o6i4g","to":{"groupId":"bgshmlrmcogsmbbu5r57x0wy"},"from":{"blockId":"ogy9ng7q9jglxg2ivb39tzeh","groupId":"v1n04knsgkkgqf0s3qcuzwef"}},{"id":"cvp9q2xekniuq6ryz7891y3z","to":{"groupId":"hssj33p8lt6hy5z9ar3fwbrv"},"from":{"blockId":"p71conb1ln7f3m41ca6pxetz","groupId":"bgshmlrmcogsmbbu5r57x0wy"}},{"id":"vg0xdkf5jvkr4qkibcnkdw3j","to":{"groupId":"xm18ld1r1iy4xzcmbo8kxpaa"},"from":{"blockId":"cbcz08dj67rkx8k1cbj2ybz8","groupId":"hssj33p8lt6hy5z9ar3fwbrv"}},{"id":"cldzi3g3dq159cr0p8gbx4as","to":{"groupId":"v1n04knsgkkgqf0s3qcuzwef"},"from":{"blockId":"cx2v8nfb4kxvk58bbu6w85uy","groupId":"zhl6pnoffc5lslepxvyvacka"}},{"id":"rtl7gm0uauorn4lzdxze7st3","to":{"groupId":"mz7hx2zcl93mfl4072188onv"},"from":{"blockId":"vdzzxwdocfxdvqnqwwvjymzw","groupId":"xm18ld1r1iy4xzcmbo8kxpaa"}},{"id":"sa8mwdjnyiwqcmgthmkolpzc","to":{"groupId":"qc0pbs2mzap9tb7z9kr8wn4y"},"from":{"blockId":"pxb59zd4bjqmva9er47l6x15","groupId":"ovu75341eaqmo4lkdii1kmup"}},{"id":"xx2h8g37grlakc692ce96iev","to":{"groupId":"qc0pbs2mzap9tb7z9kr8wn4y"},"from":{"blockId":"l16y2qzslakgl2up4jybj5m4","groupId":"mz7hx2zcl93mfl4072188onv"}},{"id":"s39fq8x9k35f4bl2fgoixooo","to":{"groupId":"tjt2c1inwdf9rr91yr0krrkh"},"from":{"itemId":"vyjgfexvyrijez06kpxi1mva","blockId":"okl6akklm8djknl7lofqr3cm","groupId":"qc0pbs2mzap9tb7z9kr8wn4y"}},{"id":"ltcebvyrbxtpjk9k72u1cxs5","to":{"groupId":"r0mtxq1m17f517h1p7wxyhmp"},"from":{"blockId":"okl6akklm8djknl7lofqr3cm","groupId":"qc0pbs2mzap9tb7z9kr8wn4y"}},{"id":"v0yzbarwmtffygegp1lrlqy1","to":{"groupId":"r0mtxq1m17f517h1p7wxyhmp"},"from":{"blockId":"qn7v6dwrazd4mcni9hoqavwo","groupId":"tjt2c1inwdf9rr91yr0krrkh"}},{"id":"cqqna1kxuj675o81b3ounv8m","to":{"groupId":"ikft907e9ueedb0f539ig0yp"},"from":{"itemId":"okd2sbmr1mgoubpf7kdjr9ey","blockId":"styhci2fh3yi17b7cmv3x8cc","groupId":"r0mtxq1m17f517h1p7wxyhmp"}},{"id":"qn633y57yv7yyv5x48ghpkro","to":{"groupId":"lbs85gfdjs7ro9enk6zqa58p"},"from":{"blockId":"styhci2fh3yi17b7cmv3x8cc","groupId":"r0mtxq1m17f517h1p7wxyhmp"}},{"id":"jndy6t313796b34y6u3n5k7i","to":{"groupId":"lbs85gfdjs7ro9enk6zqa58p"},"from":{"blockId":"jbqtw6gienleaxaklynrgr3u","groupId":"zmfz3wgegin17br57289inh8"}},{"id":"gj5b3ywal8ckuai72498i738","to":{"groupId":"sppymis83ncmr5goj7bmc9ay"},"from":{"itemId":"yw3cil1rvf3iduc0mko0c8og","blockId":"m8o93n92t5wcy5bi8tgauc5f","groupId":"lbs85gfdjs7ro9enk6zqa58p"}},{"id":"hwql1ice4zis5kcbs8k5cl7d","to":{"groupId":"fkjjnzvs2y7s5b5xkkazboxz"},"from":{"itemId":"jv7vv5vviqlgltgq6g18ltl6","blockId":"icy9olg5ifc27pl004vwhw0m","groupId":"sppymis83ncmr5goj7bmc9ay"}},{"id":"cs3llkficvm6x6w94um26541","to":{"groupId":"g8pl7o9gr4z0m303s2j4rsqx"},"from":{"blockId":"icy9olg5ifc27pl004vwhw0m","groupId":"sppymis83ncmr5goj7bmc9ay"}},{"id":"knzpkrvi7pquig2cqqrl2bjh","to":{"groupId":"zmfz3wgegin17br57289inh8"},"from":{"itemId":"ea8k8142u6trxyiw42vsk68e","blockId":"pgh6mzmfhtu9tlmdtyqj2dcq","groupId":"ikft907e9ueedb0f539ig0yp"}},{"id":"jwzbhj1f4un1xrqaneg4grgf","to":{"groupId":"kxw3n2glafzyzaoi2w5pbk0w"},"from":{"itemId":"quu5q3gunsf67kta1bn93ai3","blockId":"pgh6mzmfhtu9tlmdtyqj2dcq","groupId":"ikft907e9ueedb0f539ig0yp"}},{"id":"zb26cu2jyu9g2ig9znhu73us","to":{"groupId":"lbs85gfdjs7ro9enk6zqa58p"},"from":{"blockId":"l174mks65gy9sjwku3hxbapw","groupId":"kxw3n2glafzyzaoi2w5pbk0w"}},{"id":"p4zafysi69qhfjz9sa18cfjb","to":{"groupId":"ovu75341eaqmo4lkdii1kmup"},"from":{"itemId":"yffl8ja17g5fr9rpi4d0cl36","blockId":"l16y2qzslakgl2up4jybj5m4","groupId":"mz7hx2zcl93mfl4072188onv"}},{"id":"yus9niigow92nf2j4repo57r","to":{"groupId":"z4p54sh48pej7a0853ry9rli"},"from":{"blockId":"iohra5yx6d0fgfo3de2czoa9","groupId":"m1mczc3hkyd5jjff468n6wsk"}}],"theme":{"chat":{"inputs":{"color":"#ffffff","backgroundColor":"#1B1A1A","placeholderColor":"#9095A0"},"buttons":{"color":"#010000","backgroundColor":"#FFEF02"},"roundness":"medium","hostAvatar":{"url":"http://localhost:9000/typebot/public/typebots/cli8tguel00011anqcst3166d/hostAvatar?v=1685368734687","isEnabled":true},"hostBubbles":{"color":"#ffffff","backgroundColor":"#1B1A1A"},"guestBubbles":{"color":"#010000","backgroundColor":"#FFFFFF"}},"general":{"font":"Open Sans","background":{"type":"Color","content":"#010000"}}},"selectedThemeTemplateId":"typebot-dark","settings":{"general":{"rememberUser":{"isEnabled":false},"isBrandingEnabled":true,"isInputPrefillEnabled":true,"isHideQueryParamsEnabled":true},"metadata":{"description":"Build beautiful conversational forms and embed them directly in your applications without a line of code. Triple your response rate and collect answers that has more value compared to a traditional form."},"typingEmulation":{"speed":300,"enabled":true,"maxDelay":1.5}},"publicId":null,"customDomain":null,"workspaceId":"freeWorkspace","resultsTablePreferences":null,"isArchived":false,"isClosed":false}
CleanShot.2023-06-24.at.15.35.16.mp4

Originally posted by @baptisteArno in #575 (comment)

@baptisteArno baptisteArno added the Bug 🐛 Something isn't working label Jul 31, 2023
@baptisteArno baptisteArno added Refactor ⚙️ Code base related improvements and removed Bug 🐛 Something isn't working labels Aug 11, 2023
@baptisteArno baptisteArno added Bug 🐛 Something isn't working and removed Refactor ⚙️ Code base related improvements labels Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐛 Something isn't working
Projects
Status: Deployed 🎉
Development

No branches or pull requests

1 participant