function "doAllSteps" and the microsteps not doable

Registered by Mirco Angelini

What can we do when a user use the "next button" (doAllSteps) but there are some microsteps not doables (of type "higlight")?
And if these microsteps are required by Plone?

Blueprint information

Status:
Complete
Approver:
None
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
Mirco Angelini
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 1.1
Started by
Mirco Angelini
Completed by
Mirco Angelini

Related branches

Sprints

Whiteboard

We have decided to insert a new type of condition: "doitmanually".
This condition we going to use into the hightlight type micro-steps.
In this way we can make a descriptive microstep required.
We are going to use this approach if we have some actions required but without an helper.

After the implementation of check we can use it to hide the "doAllStep" button for certain steps.

Implementation status:
I've create the function "checkHighlightStep" into the class "AjWindmillStep" and function "checkAllHighlightSteps" into the class "AmberjackPlone".
In this way we can check if we have some blocking mirco-step of type "highlight" into a step.
I've also add into the "open" function of the class "AmberjackControl" (amberjack.py) the call at the previous function (checkAllHighlightSteps) and a new param to be replace into the html (nextTitle) to give some help to the users.
In the end I've modified control.tpl.js to insert the title attribute into anchor tag.
We cannot use the "checkStep" to perform this check because we cannot check, at the moment, if those manuals actions are performed by the user, So we never can move to next step.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.