Git Product home page Git Product logo

taskhelper's People

Contributors

gilesp avatar hdpe avatar kash456 avatar martinamel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

taskhelper's Issues

page items values don't get unset if the conditional flow through a task changes

If you have a task definition with a conditional flow and the user first takes on path through the flow but then back tracks and changes the flow condition, meaning they take the alternative path, then the page items from the first path are still set.

This can cause problems with data connectors that don't expect both sets of page items to be passed through.

One possible solution for this would be to maintain a queue of pages encountered when passing through the task - pushing pages onto the queue when the Next button is pressed and popping them off when the Previous button is pressed. At the end of the task, the list would contain only the pages making up the final workflow. Data items belonging to pages not on that list would then not be submitted to the data connector.

This approach means that the user can change their mind about the task workflow as many times as they like and still have access to data items for each page (so they won't lose information if they backtrack then come back down the same route) but only the final workflow page items will get submitted.

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.