insomnia/packages/insomnia-app/app/ui/components
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
..
base Unit test improvements (#2337) 2020-07-01 15:57:42 -07:00
codemirror Support toggling of auto beautify in editor. (#2305) 2020-07-02 10:57:58 -04:00
dropdowns Support toggling of auto beautify in editor. (#2305) 2020-07-02 10:57:58 -04:00
editors Fix for warning not displaying when using an environment variable with '-' (#2212) 2020-05-25 10:12:31 +12:00
export-requests Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
graph-ql-explorer Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
key-value-editor
modals Default to rendered request URL when name is not present (#2230) 2020-07-01 08:53:01 +12:00
settings POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
sidebar POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
spec-editor Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
tags Add fallback status messages for HTTP/2 (Closes #2273) (#2275) 2020-06-10 11:16:09 -07:00
templating Sort enviroment variables in the dropdown on edit (#2295) 2020-06-16 10:29:29 -07:00
viewers Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
activity-toggle.js Swap out switch for new activity toggle component (#2335) 2020-06-30 16:54:56 -07:00
check-for-updates-button.js
cookie-list.js POC to get Insomnia networking available outside of app (#2329) 2020-06-30 12:36:15 -07:00
error-boundary.js Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
forms.stories.js
gravatar-img.js Initial pass to combine eslint and prettier (#2166) 2020-05-15 10:54:07 +12:00
gravatar-img.stories.js Initial designer merge 2020-04-26 13:33:39 -07:00
help-tooltip.js
help-tooltip.stories.js
hotkey.js Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
html-element-wrapper.js New plugin API for showing custom UI inside a dialog (#2026) 2020-04-06 14:31:03 -07:00
keydown-binder.js
markdown-editor.js
markdown-preview.js Update Babel and ESLint and fix all related errors (#2032) 2020-04-09 10:32:19 -07:00
notice.js
notice.stories.js
page-layout.js POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
rendered-query-string.js Add Ability to Generate Plugin for Dev (#2107) 2020-05-02 11:56:39 -07:00
rendered-text.js
request-pane.js POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
request-url-bar.js
response-pane.js POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
response-timer.js
sync-pull-button.js
time-from-now.js
toast.js Default the toast Gravatar email from app config 2020-05-29 13:58:09 -07:00
tooltip.js
tooltip.stories.js
wrapper-debug.js POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
wrapper-design.js POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00
wrapper-home.js Swap out switch for new activity toggle component (#2335) 2020-06-30 16:54:56 -07:00
wrapper-onboarding.js Swap out switch for new activity toggle component (#2335) 2020-06-30 16:54:56 -07:00
wrapper-unit-test.js Unit test improvements (#2337) 2020-07-01 15:57:42 -07:00
wrapper.js POC for Unit Test UI (#2315) 2020-07-01 14:17:14 -07:00