dunlop

Installation

gem 'dunlop', github: 'companytools/dunlop', branch: :master

Then

bundle update

Then

bundle exec rails generate dunlop:install
bundle exec rake db:migrate
bundle exec rake db:seed

ISSUES

  • js-routes not updated after generator command rake tmp:clear needed

TODO

  • badge display multiple records, with doorkliklink, don't show more than n=100
  • I behaves like a dunlop application spec
  • ChangeEvent .. change_event
  • Make it behaves like a workflow step specs pass if only one workflow step is associated
  • Workflow step filtering: q%5Bworkflow_instance_batch_id_eq%5D=1&q%5Bworkflow_step%5D%5Bowner_initialization%5D=overdue
  • Display badges from homepage are not looking to good from t2_vula
  • Handle display badge clicks with too large contents
  • Add admin vinkje to users management
  • Add reverse overdue handling
  • Implement whenever:install on base install and runner "SourceFile.load_scheduled!" for source_file install generator
  • Separate Real (user) notes from log notes

Generators

  • WorkflowInstanceScrubber in dunlop:install:workflow
  • spec/rails_helper.rb as complete drop in replacement
  • replace parent workflow instance with first generated scenario if defined:
    • factory :workflow_instance_for_workflow_step_test, parent: :workflow_instance do
    • with
    • factory :workflow_instance_for_workflow_step_test, parent: :workflow_instance_#scenario do
    • Also check for this by scenario_rename action/generator

Application creation log

rails g dunlop:scenario scenario1 --workflow_steps=all
rails g dunlop:workflow_step owner_initialization \
  --scenarios=all \
  --attributes=checked:boolean plan_date:date my_identifier window_from:integer window_to:integer number_of_visits:integer my_fraction:float my_explanation:text