Skip to content

Commit 73d831e

Browse files
committed
New build prepping for v1.0.0
1 parent 05d1af1 commit 73d831e

7 files changed

+44
-16
lines changed

dist/conversational-form.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -4761,7 +4761,7 @@ var cf;
47614761
});
47624762
Object.defineProperty(ChatResponse.prototype, "added", {
47634763
get: function () {
4764-
return !!this.el.parentNode.parentNode;
4764+
return !!this.el || !!this.el.parentNode || !!this.el.parentNode.parentNode;
47654765
},
47664766
enumerable: true,
47674767
configurable: true
@@ -5321,12 +5321,6 @@ var cf;
53215321
// this.currentUserResponse.setToThinking??
53225322
this.currentResponse = this.responses[this.responses.length - 1];
53235323
this.onListUpdate(this.currentUserResponse);
5324-
// When editing an answer we scroll the prev response in view
5325-
setTimeout(function () {
5326-
if (typeof responseUserWantsToEdit.el.scrollIntoView !== 'function')
5327-
return;
5328-
responseUserWantsToEdit.el.scrollIntoView({ behavior: "smooth", block: "end" });
5329-
}, 800);
53305324
}
53315325
};
53325326
ChatList.prototype.onListUpdate = function (chatResponse) {

dist/conversational-form.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

landingpage/conversational-form.js

-6
Original file line numberDiff line numberDiff line change
@@ -5321,12 +5321,6 @@ var cf;
53215321
// this.currentUserResponse.setToThinking??
53225322
this.currentResponse = this.responses[this.responses.length - 1];
53235323
this.onListUpdate(this.currentUserResponse);
5324-
// When editing an answer we scroll the prev response in view
5325-
setTimeout(function () {
5326-
if (typeof responseUserWantsToEdit.el.scrollIntoView !== 'function')
5327-
return;
5328-
responseUserWantsToEdit.el.scrollIntoView({ behavior: "smooth", block: "end" });
5329-
}, 800);
53305324
}
53315325
};
53325326
ChatList.prototype.onListUpdate = function (chatResponse) {

landingpage/conversational-form.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

landingpage/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
<html><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1"><title>Conversational Form – Turn your content into conversations – by SPACE10</title><meta property="og:title" content="Conversational Form – Turn your content into conversations – by SPACE10"><meta property="og:site_name" content="Conversational Form"><meta property="og:url" content="https://space10-community.github.io/conversational-form/landingpage/"><meta property="og:description" content="Conversational Form is an open-source tool from SPACE10 that enables people to turn your content into conversations."><meta property="og:type" content="website"><meta property="og:image" content="https://space10-community.github.io/conversational-form/landingpage/cf-og.png"><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-69941652-5"></script><script>function a(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],a("js",new Date),a("config","UA-69941652-5");</script><link rel="stylesheet" href="/conversational-form/landingpage/main.d7d27bd6.css"><body> <div class="wrapper"> <header> <div> <a href="https://github.com/space10-community/conversational-form" target="_blank" class="btnRollUpAnim"> <span>GitHub</span> <span>GitHub</span> </a> </div> <div> <a href="https://space10-community.github.io/conversational-form/docs/0.9.90/getting-started/" target="_blank" class="btnRollUpAnim"> <span>Documentation</span> <span>Documentation</span> </a> </div> <div> <a href="https://space10.io/project/conversational-form/" target="_blank" class="btnRollUpAnim"> <span>About</span> <span>About</span> </a> </div> </header> <main> <h1><span>Turn your</span><br> <div class="content"> <div class="content__container"> <ul class="content__container__list"> <li class="content__container__list__item">content</li> <li class="content__container__list__item">surveys</li> <li class="content__container__list__item">sales</li> <li class="content__container__list__item">research</li> </ul> </div> </div> <span>into conversations</span> </h1> <form action="" class="form"> <input cf-questions="Conversational Form is an open-source concept from SPACE10.&&It can turn any form element on a web page into a beautiful conversational experience.&&Would you like to learn more?" cf-label="Yes" type="radio" name="getstarted" tabindex="1" value="yes"> <input cf-label="No" type="radio" name="getstarted" tabindex="2" value="no"> <fieldset cf-questions="You can also add images as responses!"> <input cf-conditional-getstarted="yes" cf-label="Future Food" type="radio" cf-image="./photo1.jpg" name="imageAnswer" tabindex="1" value="0"> <input cf-conditional-getstarted="yes" cf-label="SolarVille" type="radio" cf-image="./photo2.jpg" name="imageAnswer" tabindex="2" value="1"> <input cf-conditional-getstarted="yes" cf-label="Urban Village" type="radio" cf-image="./photo3.jpg" name="imageAnswer" tabindex="3" value="2"> </fieldset> <cf-robot-message cf-conditional-getstarted="no" cf-questions="Understood.&&If you get curious regardless, check out the documentation to start making your own conversational experiences today."></cf-robot-message> <fieldset cf-conditional-getstarted="yes" cf-questions="Nice! We've added some new features in V1.0 like smoother animations and some prebuilt themes."> <input cf-conditional-getstarted="yes" cf-label="Dark" type="radio" name="theme" tabindex="1" value="conversational-form-dark.min.css" checked=""> <input cf-conditional-getstarted="yes" cf-label="Light" type="radio" name="theme" tabindex="1" value="conversational-form.min.css"> <input cf-conditional-getstarted="yes" cf-label="Green" type="radio" name="theme" tabindex="1" value="conversational-form-green.min.css"> <input cf-conditional-getstarted="yes" cf-label="Purple" type="radio" name="theme" tabindex="1" value="conversational-form-purple.min.css"> <input cf-conditional-getstarted="yes" cf-label="Blue" type="radio" name="theme" tabindex="1" value="conversational-form-irisblue.min.css"> <input cf-conditional-getstarted="yes" cf-label="Red" type="radio" name="theme" tabindex="1" value="conversational-form-red.min.css"> </fieldset> <fieldset cf-conditional-getstarted="yes" cf-questions="Awesome. You can click the previous answer to change the theme again."> <input cf-conditional-getstarted="yes" type="radio" cf-label="Let me try that." name="changeThemeAgain" value="yes"> <input cf-conditional-getstarted="yes" type="radio" cf-label="I'm good." name="changeThemeAgain" value="no"> </fieldset> </form> <div class="cf"></div> <div class="row"> <div class="about"> <p>Conversational Form is an open-source tool from <a href="https://space10.io"><strong>SPACE10</strong></a> that enables people to turn information into conversations—be it report insights, application flows or something completely different altogether. Try Conversational Form to jumpstart a conversation and make your content more engaging today.</p> <p> <a href="https://space10-community.github.io/conversational-form/docs/1.0.0/getting-started/" target="_blank" class="button btnRollUpAnim"> <span>Documentation</span> <span>Documentation</span> </a> </p> </div> </div> </main> <footer> <p> Copyright © 2019 <a href="https://space10.io" target="_blank">SPACE10</a>.<br> All rights reserved. </p> <p> V1.0.0<br> <a href="https://space10-community.github.io/conversational-form/" target="_blank">Github</a> </p> <p> Licensed under MIT<br> Documentation CC BY 3.0 </p> </footer> </div> <script src="/conversational-form/landingpage/main.adfc4ca1.js"></script>
1+
<html><meta http-equiv="x-ua-compatible" content="ie=edge"><meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, maximum-scale=1"><title>Conversational Form – Turn your content into conversations – by SPACE10</title><meta property="og:title" content="Conversational Form – Turn your content into conversations – by SPACE10"><meta property="og:site_name" content="Conversational Form"><meta property="og:url" content="https://space10-community.github.io/conversational-form/landingpage/"><meta property="og:description" content="Conversational Form is an open-source tool from SPACE10 that enables people to turn your content into conversations."><meta property="og:type" content="website"><meta property="og:image" content="https://space10-community.github.io/conversational-form/landingpage/cf-og.png"><script async="" src="https://www.googletagmanager.com/gtag/js?id=UA-69941652-5"></script><script>function a(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],a("js",new Date),a("config","UA-69941652-5");</script><link rel="stylesheet" href="/conversational-form/landingpage/main.d7d27bd6.css"><body> <div class="wrapper"> <header> <div> <a href="https://github.com/space10-community/conversational-form" target="_blank" class="btnRollUpAnim"> <span>GitHub</span> <span>GitHub</span> </a> </div> <div> <a href="https://space10-community.github.io/conversational-form/docs/0.9.90/getting-started/" target="_blank" class="btnRollUpAnim"> <span>Documentation</span> <span>Documentation</span> </a> </div> <div> <a href="https://space10.io/project/conversational-form/" target="_blank" class="btnRollUpAnim"> <span>About</span> <span>About</span> </a> </div> </header> <main> <h1><span>Turn your</span><br> <div class="content"> <div class="content__container"> <ul class="content__container__list"> <li class="content__container__list__item">content</li> <li class="content__container__list__item">surveys</li> <li class="content__container__list__item">sales</li> <li class="content__container__list__item">research</li> </ul> </div> </div> <span>into conversations</span> </h1> <form action="" class="form"> <input cf-questions="Conversational Form is an open-source concept from SPACE10.&&It can turn any form element on a web page into a beautiful conversational experience.&&Would you like to learn more?" cf-label="Yes" type="radio" name="getstarted" value="yes"> <input cf-label="No" type="radio" name="getstarted" value="no"> <cf-robot-message name="ending" cf-conditional-getstarted="no" cf-questions="Understood.&&If you get curious regardless, check out the documentation to start making your own conversational experiences today."></cf-robot-message> <fieldset cf-questions="You can also add images as responses!"> <input cf-label="Future Food" type="radio" cf-image="./photo1.jpg" name="imageAnswer" value="0"> <input cf-label="SolarVille" type="radio" cf-image="./photo2.jpg" name="imageAnswer" value="1"> <input cf-label="Urban Village" type="radio" cf-image="./photo3.jpg" name="imageAnswer" value="2"> </fieldset> <fieldset cf-questions="Nice! We've added some new features in V1.0 like smoother animations and some prebuilt themes."> <input cf-label="Dark" type="radio" name="theme" value="conversational-form-dark.min.css" checked=""> <input cf-label="Light" type="radio" name="theme" value="conversational-form.min.css"> <input cf-label="Green" type="radio" name="theme" value="conversational-form-green.min.css"> <input cf-label="Purple" type="radio" name="theme" value="conversational-form-purple.min.css"> <input cf-label="Blue" type="radio" name="theme" value="conversational-form-irisblue.min.css"> <input cf-label="Red" type="radio" name="theme" value="conversational-form-red.min.css"> </fieldset> <fieldset cf-questions="Awesome. You can click the previous answer to change the theme again."> <input type="radio" cf-label="Let me try that." name="changeThemeAgain" value="yes"> <input type="radio" cf-label="I'm good." name="changeThemeAgain" value="no"> </fieldset> </form> <div class="cf"></div> <div class="row"> <div class="about"> <p>Conversational Form is an open-source tool from <a href="https://space10.io"><strong>SPACE10</strong></a> that enables people to turn information into conversations—be it report insights, application flows or something completely different altogether. Try Conversational Form to jumpstart a conversation and make your content more engaging today.</p> <p> <a href="https://space10-community.github.io/conversational-form/docs/1.0.0/getting-started/" target="_blank" class="button btnRollUpAnim"> <span>Documentation</span> <span>Documentation</span> </a> </p> </div> </div> </main> <footer> <p> Copyright © 2019 <a href="https://space10.io" target="_blank">SPACE10</a>.<br> All rights reserved. </p> <p> V1.0.0<br> <a href="https://space10-community.github.io/conversational-form/" target="_blank">Github</a> </p> <p> Licensed under MIT<br> Documentation CC BY 3.0 </p> </footer> </div> <script src="/conversational-form/landingpage/main.d886e8c4.js"></script>
22
</body></html>

landingpage/main.d886e8c4.js

+39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

landingpage/main.d886e8c4.js.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)