4084: Rework refresh event handling:
authorPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 22 Oct 2014 19:30:55 +0000 (15:30 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 22 Oct 2014 19:30:55 +0000 (15:30 -0400)
commit47221ee04bee623850c559274b5ff64fe3068ae6
tree7d8f5516805c78372367bf5b1ead7df8c782cf4e
parentedac8924047fea353d579b5c4af91530ba54b053
4084: Rework refresh event handling:
* Tabs no longer refresh on log events by default
* Added explicit 'arv-refresh-on-log-event' class to refresh panes
* Pipeline log updates correctly from websockets again
* Pipeline log now inspects pipeline updates and looks at components to update its list of events to listen for, no longer relies on contents of #Components tab
* Pipeline log styling preserves whitespace, so the LobSTR can show up correctly
* Log events now pass JSON object as event data, not the raw text
apps/workbench/app/assets/javascripts/event_log.js
apps/workbench/app/assets/javascripts/pipeline_instances.js
apps/workbench/app/assets/javascripts/tab_panes.js
apps/workbench/app/assets/stylesheets/jobs.css.scss
apps/workbench/app/views/application/_content.html.erb
apps/workbench/app/views/pipeline_instances/_show_components.html.erb
apps/workbench/app/views/pipeline_instances/_show_components_running.html.erb
apps/workbench/app/views/pipeline_instances/_show_log.html.erb
apps/workbench/app/views/pipeline_instances/show.html.erb