How to - akos-sereg/release-timeline GitHub Wiki

Define new Classification

This is a bit tricky now, making this easier is on the short-term todo list. Considering that your new classification is called 'Prod Outage', and the id for that is 'prod_outage':

Steps:

  • Open public/ProjectPlan/web/index.html
  • Search for 'classes' array in JS codes (pattern 'var classes = [')
  • Add 'prod_outage' to the list
  • Create a CSS entry, something like

.timeline-band-events .prod_outage {
color: #ff0000;
}

  • Search for '<input type="checkbox" name="postpone"' in index.html
  • Copy/paste it and set the label/id for the checkbox (this will be used at Search tab)

<input type="checkbox" name="prod_outage" id="prod_outage" checked="checked"> Prod Outage<br/>

  • Search for dropdown identified by id='eventDetailsInsPlaceholderClass'
  • Add prod_outage/Prod Outage to the list
  • Do the same for eventDetailsPlaceholderClass as well
  1. Drink a tea, you are done.