Skip to content

Add 'Download' button to Performance Bar

Will Chandler requested to merge wc-perf-bar-download into master

What does this MR do?

Adds a new Download button in the Performance Bar, allowing admins to easily access its raw JSON. The downloaded file will be named after the first added to the perf bar as this is typically the most recognizable url.

The truncatedUrl method is moved out of the request selector and into a static method on the performance bar store. This allows us to create the truncated url when the request is received so it can be accessed easily from both request_selector.vue and in performance_bar_app.vue.

Screenshots

perf_bar_download-720

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Works in Chrome, FF, and Safari. IE or Edge unavailable on my machine.

Closes #28222 (closed)

/cc @smcgivern, @lbot

Edited by Will Chandler

Merge request reports