insomnia/packages/insomnia-app/app/ui
Erik Plaggenmars 19b29023d5
Support toggling of auto beautify in editor. (#2305)
* Updated code editor to support toggling of beautify in editor.

Added a button to toggle beautify. When toggled text is 'beautified' immediately and when text is pasted into the editor or when the editor is blurred.

Removed _prettify method because it is no longer used.

* Changed toggle of auto beautify to dropdown selection.

The toggle has been replaced by a dropdown selection, the text in the beautify button will change accordingly. In manual mode, the button can still be clicked.

* Updated label of the beautify button.

* Changed caret up to cog icon + minor change to button label

* Changed cog icon to wrench icon.

Co-authored-by: Mike Ellan <52717970+sonicyeti@users.noreply.github.com>
2020-07-02 10:57:58 -04:00
..
components Support toggling of auto beautify in editor. (#2305) 2020-07-02 10:57:58 -04:00
containers POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
css Unit test improvements (#2337) 2020-07-01 15:57:42 -07:00
images Initial designer merge 2020-04-26 13:33:39 -07:00
redux POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
dnd-backend.js Version Control (beta) (#1439) 2019-04-17 17:50:03 -07:00
index.js Conditionally disable legacy sync for Insomnia Core (#2243) 2020-06-03 16:27:05 +12:00