Figure out how we could add pipeline status tooltip without adding extra API
This is a follow up from https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9362#note_26832565
For now we're cutting the scope so that we are only showing the tooltip if it's rendered by ERB.
Quoting @innerwhisper:
If I correctly understood, Vue.js
status
component use this API. And if we just exposeauto_canceled_by_id
parameter we should duplicatePipelinePresenter
's logic in Vue.js component. Is it a good way?
Well, I think that exposing it via
detailed_status
is a good idea at first sight (we will get DRY violation with presenters on Ruby level, not between Vue.js and Ruby code, so it could be solved easier). I think that I can try add newauto_canceled.rb
status. What do you think?