Code Monkey home page Code Monkey logo

civicrm-simple-workflow's People

Contributors

tobiaslounsbury avatar universalhandle avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

civicrm-simple-workflow's Issues

"Add Profile to Workflow" button gets the name wrong

For example, if I add a profile named "Student Registration Form" to the workflow, the breadcrumb is named "Student Registration Form- none -- select -- select -."

It's a trivial bug. I can manually update the Breadcrumb field and upon save it displays as expected.

Billing info block in CiviCRM 4.6.8

Sometime between 4.6.3 and 4.6.8 CiviCRM added a feature to Contribution forms where a total price recalculation triggers some javascript that makes the billing info block appear/disappear on the page. This is a problem for the Workflow because it puts the billing info block on every page where a selection is made.

Refactor BAO and DAO

The BAO and DAO classes need to be refactored to conform to Civi Standards. As well as to declare Workflows as an available entity.

Modularize Progress Bar

The rendering of the progress bar needs to be refactored and modularized so that different ui's may be used/created and dropped in without needing to conform to the old format.
In this process progress completion should be stored in some sort of state object that can then be used to trigger any ui updates via hooks to whatever rending function is currently being employed. This would allow for a bound data rendering setup such as a small VueJS component, Angular implementation, or further expansion of non UL based layouts such as SVG.

Refactor Eventing System

Refactor the eventing system so that step handlers don't need to bind to an arbitrary DOM node or attempt to watch the action window at all. Workflow should handle delegating events that other steps will need so they don't have to do the hackish stuff that has been done with waiting for the creation of the action window.

Failure with CiviDiscount "Apply" button

When used in conjunction with the CiviDiscount module, when someone uses the Apply button to apply the discount and see the results, the workflow fails to reload.

When the Apply button isn't clicked, the discount still gets applied to the transaction, so for a quick workaround we will hide the Apply button.

Add Better Permission Support

Add custom Permissions that allow site admins to delegate who can edit workflows, without requiring them to grant administer civicrm to anyone who is going to modify a button label.

Add function definitions

Many of the functions in workflow_execute do not have any code comments/function documentation above them. This should be done for readability and self-documentation.

Refactor Inclusion of "built in" steps

The way we are including built in steps is a bit hackish, and should be refactored to use our own step-type hook. This will allow us to refactor the code for standalone and injected pages.

Rework use of Global Variables

The use of global and worse, semi-global variables should be fixed so that everything is encompassed under the CRM.Workflow namespace.

Add Samples and Documentation

Samples and Documentation are needed before a general release. This issue it to keep track of the fact that some good user documentation is needed.

resetUrl Errors

When an included ajax form is successfully submitted the system tries to call a snippet method resetUrl. The method causes the page to reload, thus we are calling snippet:destroy after submission. This causes the snippet not to exist and the call to resetUrl generates an error because the snippet doesn't exist.
The method of keeping the page from reloading needs to be refactored so it doesn't generate errors.

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.