diff options
author | Sean McGivern <sean@gitlab.com> | 2018-03-06 17:02:18 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2018-03-13 15:58:00 +0300 |
commit | d30576c5a7197b167d1f2c472361dd4ce77b8262 (patch) | |
tree | 46de5962c850ad92d3f0c63e49db538a8c1e329a /app/views/peek | |
parent | 1bab4dcffc73f8a2aca90d363a6365e71722c535 (diff) |
Add Gitaly call details to the performance bar
The same as the SQL queries, show the details of Gitaly calls in the performance
bar, as a modal that can be opened in the same way.
Diffstat (limited to 'app/views/peek')
-rw-r--r-- | app/views/peek/views/_gitaly.html.haml | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/app/views/peek/views/_gitaly.html.haml b/app/views/peek/views/_gitaly.html.haml index a7d040d6821..5e7d1565825 100644 --- a/app/views/peek/views/_gitaly.html.haml +++ b/app/views/peek/views/_gitaly.html.haml @@ -1,7 +1,16 @@ - local_assigns.fetch(:view) %strong - %span{ data: { defer_to: "#{view.defer_key}-duration" } } ... - \/ - %span{ data: { defer_to: "#{view.defer_key}-calls" } } ... - Gitaly + %a.js-toggle-modal-peek-gitaly + %span{ data: { defer_to: "#{view.defer_key}-duration" } }... + \/ + %span{ data: { defer_to: "#{view.defer_key}-calls" } }... +#modal-peek-gitaly-details.modal{ tabindex: -1 } + .modal-dialog.modal-full + .modal-content + .modal-header + %button.close.btn.btn-link.btn-sm{ type: 'button', data: { dismiss: 'modal' } } X + %h4 + Gitaly requests + .modal-body{ data: { defer_to: "#{view.defer_key}-details" } }... +Gitaly |