mirror of
https://github.com/Kong/insomnia.git
synced 2026-10-25 08:09:06 -04:00
* Refactor to keep in state info about large & huge response This commit adds 2 properties in the ResponseViewer state: * largeResponse which will be true when a response body weight more that LARGE_RESPONSE_MB * hugeResponse which will be true when a response body weight more that HUGE_RESPONSE_MB * Prevent select-all during response focus hotkey handler on large response * Add a CopyButton in raw & source response viewer * Revert "Add a CopyButton in raw & source response viewer" This reverts commit e094be21 * Add a Copy raw response action in Preview dropdown This action allows the user to copy the raw response directly in the clipboard. It is a useful shortcut to copy huge response where select-all might freeze the application. * fix import * Fix build * remove empty line Co-authored-by: Opender Singh <opender.singh@konghq.com> Co-authored-by: James Gatz <jamesgatzos@gmail.com>