Product3 Min.

🎄 A Christmas present from Tripetto

Version 1.0.0 of the Tripetto SDK is out.

❌ This is a deprecated SDK blog article

Please note that the SDK concepts and code snippets in this article are about a deprecated version of the Tripetto SDK. In the meantime the SDK has evolved heavingly. For up-to-date SDK documentation, please have a look at the following links:

Shipping version 1.0.0

A lot of work’s gone into the initial development of our full-fledged SDK 🤯. And probably as much time was spent on countless refinements, especially in response to the valuable feedback since our Product Hunt launch. It made sense to do all of that before stabilizing. But that’s done now and version 1.0.0 is here.

We owe a very special thanks to the community for their support and sensible feedback. We’ll make sure to keep listening and improving Tripetto. And we’re really eager to hear much more from you again. Many thanks in advance.

By the way, from now on we’ll be sticking to semantic versioning for future releases.

New features

Among the extensive list of improvements are the following interesting features:

  • Storyline
    This is a new way to render building blocks to a collector UI. The storyline structure contains all key moments of a collector session and the blocks that need to be rendered. It allows for non-typical UX’s (like these!) and the following show modes.
  • Show mode
    This one’s powerful. Thanks to the mentioned storyline feature you may set the show mode of your collector implementation to paginated, continuous, or progressive. Paginated makes for a more traditional approach, rendering (groups of) questions per page and showing pages one after the other. The continuous mode renders questions one after the other on a single page and always also shows all previous questions top to bottom. The progressive mode works the same as continuous, but also renders all possibly upcoming questions as far as conditions allow their previewing.
  • Markdown support
    Almost any text in a form can now be formatted. This obviously goes for main texts and questions, but also for placeholders, help texts etc.
  • Pipe variables in text
    Any respondent’s text input can be piped to other questions and fields to offer more flexibility and cleverness to your forms. Press the @ sign right where you need this to unlock all available pipeable items. By the way, we’ll shortly drastically improve here with a more user-friendly control for this.
  • Export API
    With this feature you may export a completed form’s response data from the collector to a field set or CSV very easily.
  • Import API
    And with this one you may import a completed form’s response data back into a collector. That’s handy for data review or redaction.
  • Improved building blocks on npm
    Our updated building blocks now also include the UI-less part of the collector implementation, such as validation and conditions. So, if you use our building blocks you now only have to focus on your UI.
  • Compliance with JSON style guide
    The JSON form definitions are now all camelCase instead of PascalCase. This will break compatibility with form definitions made with previous versions of Tripetto but aligns much nicer with the relevant coding guidelines.

Upgraded examples

Our collector examples now show, for demo purposes, the visual editor for form creation (on the left) and the collector for response gathering (on the right) side by side. We’ve updated the following demo collector implementations:

Updated documentation

The documentation website has been updated with all the latest changes and demos. Shortly, it will be expanded with an SDK section and the complete function reference for the Tripetto components.

Extended license model

The license model has been updated as well. You still only pay if you are integrating the editor into business applications. The use of the stand-alone editor, the collector and the building blocks is still completely free. And we still offer a free version of the integrated editor for non-commercial personal or academic use and evaluation purposes.

But in addition to the internal and external business licenses for integrating the editor into commercial applications, we now offer an agency license. We added this especially for businesses that want to develop their own data collection applications and integrate the Tripetto editor into that.

That’s it for now. Please have a go with all of this and let us know what you think. Thanks again!

Share this article