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

support plugins custom step types #9

Open
amiturgman opened this issue Aug 12, 2016 · 1 comment
Open

support plugins custom step types #9

amiturgman opened this issue Aug 12, 2016 · 1 comment

Comments

@amiturgman
Copy link
Contributor

images, carrousel, etc..

@aribornstein
Copy link
Member

aribornstein commented Aug 24, 2016

I think this it might be more effecient to embed this in data instead of adding complexity to the step layer. Since images and carrousels and etc are just ways of abstracting text based ui

For example

  "id": "workout",
  "type": "prompt",
  "data": { 
    "type": "choice",
    "text": "What kind of workout do you do?",
    "image": "url(../img/sports.png)",
    "options":  [ "None", "Crossfit", "TRX", "Kung-Fu" ]
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants