Commit graph

16 commits

Author SHA1 Message Date
Sean McGivern
22d6ad7550 Show if the host is a canary host in the perf bar
If the request came from a canary host, show this in the performance bar
by:

1. Adding a bird emoji.
2. Colouring the hostname yellow.
2018-10-12 12:37:18 +01:00
Simon Knox
a18074691a Make perfbar z-index above modal background 2018-10-04 21:07:24 +10:00
Annabel Dunstone Gray
0459c78fe5
Remove jquery.scss; Combine multiple duplicate grays into global gray variables; Remove unused styles in common.scss 2018-09-11 08:06:42 -05:00
Adriel Santiago
5d2b2ad362 Resolve "Copy to Clipboard tooltip appears under modal" 2018-08-13 15:45:16 +00:00
Simon Knox
05a66a09e8 Resolve "SQL Queries are not shown from the Performance Bar in Safari" 2018-06-28 21:56:31 +00:00
Annabel Gray
4d098451c3 Resolve "Performance bar Gitaly modal is hard to read" 2018-06-14 16:34:58 +00:00
Sean McGivern
e3a59a931a Fix text colour in performance bar request selector 2018-06-07 15:42:06 +01:00
Pirate Praveen
c1b416e19f
remove peek performance_bar
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-04-26 09:03:30 +02:00
Filipa Lacerda
757da4dd33 Merge branch 'performance-bar-vue-resource' into 'master'
Add Vue resource interceptor to performance bar

See merge request gitlab-org/gitlab-ce!17915
2018-03-23 16:07:04 +00:00
Phil Hughes
58fe13ec9c Merge branch 'master' into '44453-performance-bar-modalbox'
# Conflicts:
#   app/assets/javascripts/performance_bar/components/detailed_metric.vue
2018-03-22 10:17:02 +00:00
Phil Hughes
fc32b57384
Add Vue resource interceptor to performance bar 2018-03-21 17:16:25 +00:00
Phil Hughes
7d651ad1de
removed check for host
changed wrapper to container with correct widths
2018-03-21 16:49:57 +00:00
Filipa Lacerda
7224b8cea6
Adds a bigger width to the performance bar modal box and breaks the content 2018-03-20 17:26:30 +00:00
Sean McGivern
a200619d14 Show Ajax requests in performance bar
But first, rewrite the performance bar in Vue:

1. Remove the peek-host gem and replace it with existing code. This also allows
   us to include the host in the JSON response, rather than in the page HTML.
2. Leave the line profiler parts as here-be-dragons: nicer would be a separate
   endpoint for these, so we could use them on Ajax requests too.
3. The performance bar is too fiddly to rewrite right now, so apply the same
   logic to that.

Then, add features! All requests made through Axios are able to be tracked. To
keep a lid on memory usage, only the first two requests for a given URL are
tracked, though. Each request that's tracked has the same data as the initial
page load, with the exception of the performance bar and the line profiler, as
explained above.
2018-03-19 19:06:09 +00:00
Rémy Coutable
acc0d84845 Moves the Performance Bar to the top instead of being at the bottom 2017-07-31 08:07:51 +00:00
Rémy Coutable
18326c2080 Improve & fix the performance bar UI and behavior 2017-07-06 19:37:31 +00:00
Renamed from vendor/assets/stylesheets/peek.scss (Browse further)