Adds a 'copy as cURL' button to the bottom bar in Requestor. It's currently behind a feature flag still.
Add BottomToolbar directory that houses its child components:
New: CopyAsCurl
Moved: RequestBodyCombobox
Logic & user feedback when a button is disabled (based on method and/or unsupported types)
[!note]
I didn't bother with memoizing any of the logic implemented in CopyAsCurl, as every single interaction will result in a rerender - unless we memoize each prop individually, which introduces quite some overhead with negligible performance gains.
Adds a 'copy as cURL' button to the bottom bar in Requestor. It's currently behind a feature flag still.
BottomToolbar
directory that houses its child components:CopyAsCurl
RequestBodyCombobox
Can do: https://github.com/user-attachments/assets/c2fe3a08-b39e-4b02-9ee6-b1bb9d9fe4f0
No can do: https://github.com/user-attachments/assets/a19a7b31-7c59-414d-9a8c-02ceade66429