Open maebeale opened 5 years ago
🙋
FYI, none of the react buttons on /[lifecycle phase]/new
currently do anything (in case that part was confusing).
@amygori hey there! hope all's well!!! we've got a hack night meetup tomorrow eve to help with this project, and this might end up on the radar to tackle -- unless you might have time for this issue within the next week or two?
To walk to the "next" lifecycle phase upon completion of the existing one, there should be dynamic buttons at the bottom of each of those pages (that depend on permissions and availability) to complete, solicit, or exit that phase.
Once a current_user finishes one phase (e.g. Assembly), they should have 3 options:
The Box knows which is the next step (
aasm_state
field managed viaaasm
gem andaasm do
block inbox.rb
), so the buttons could be one partial that goes on all the lifecycle /new pages that dynamically renders/calls the right "next" step.