Git Product home page Git Product logo

storyflows's People

Contributors

ejaxon avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

storyflows's Issues

Sequences and Steps vs. Sequences and Cards

Are steps necessary?

Or could a sequence just contain a set of cards, and the branch information for each card "step" be contained within the card itself rather than the wrapper structure of the step?

Instead of conceptualizing Flow as sets of horizontal rows, use tree structure

Define flow as a tree structure emanating from a start node with subsequent children nodes. Then we could use a really cool d3 force layout to explode the tree for editing (https://github.com/mbostock/d3/wiki/Force-Layout), and label each node with the card title (http://bl.ocks.org/mbostock/950642).

Clicking on a node would enable editing of that card.

Not really what the best UI would be for connecting card actions to target cards. Maybe just selecting a card from from a list by title for a particular action.

Generic Card Schema vs a Seperate Schema for each Card Type

I'm wondering if makes more sense to extend the the schema of each card to include a set custom attributes for each card type. So that you have some more like this:

{
"_id": "1234",
"title" : "The Card's Title",
"type": "question-and-answer-card",
"attributes": [
{ "question" : "What's up?"},
{"answers": [
  {"text" : "Not Much", "link" : "http://some-other-card"},
  {"text" : "Nothing", "link" : "http://some-other-card"}
  ]
}
],
"permalink": "link to card",
"meta" : ["content type", "preprocessors", "variables", "custom CSS" ],
"group_tag": "thing to group cards by"
}

or this...

{
"_id": "1234",
"title" : "The Card's Title",
"type": "info-card",
"attributes": [
{ "body" : "<html/>"},
{"links": [
  {"text" : "Next Action", "link" : "http://some-other-card"},
  {"text" : "Another Action", "link" : "http://some-other-card"}
  ]
}
],
"permalink": "link to card",
"meta" : ["content type", "preprocessors", "variables", "custom CSS" ],
"group_tag": "thing to group cards by"
}

Thoughts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.