Commit Graph

775 Commits

Author SHA1 Message Date
Jack Kavanagh
77d2a5d6b2
remove SpecInfo type (#4255)
* remove SpecInfo

* Update packages/insomnia-app/app/ui/components/modals/generate-config-modal.tsx

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-11-29 17:28:25 +00:00
Sergiy
1d3cbd3816
fonts settings UI changed (#4186)
* fonts settings UI changed

* Update tooltip messaging

* removed fontsMono and font-scanner dependency

* remove font-scanner dep

Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2021-11-25 10:26:29 +00:00
Opender Singh
f3c6ae19a5
Remove prop drilling to code-editor (#4243) 2021-11-25 04:26:08 +00:00
Falon Darville
fb957e3346
rm version divider from Collection dropdown (#4239) 2021-11-23 14:54:40 -08:00
Opender Singh
bf1a6f37bf
Update response history timing verbiage (#4240) 2021-11-23 12:43:45 +01:00
James Gatz
9845ddfdd4
fix nedb flakiness with the created-at property (#4231) 2021-11-19 11:25:08 +01:00
Dimitri Mitropoulos
a72afb60d5
reverts sort order callback behavior (#4229) 2021-11-19 13:48:24 +13:00
Jack Kavanagh
d4df5ea5f7
Extend config generator plugin API and modal to handle documentation links (#4204)
* first pass

* capitalise Swagger and OpenAPI in an error message

* use docs from plugin scope

* extract variables

* check only OpenAPI spec version

* feedback

* fix config mapping

* refactor _generate

* remove bool casts

* revert refactor

* consume docs link

Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-11-18 10:54:19 +01:00
Dimitri Mitropoulos
962b71d1c1
adds hotkey support to graphql editor for prettifying (#4222) 2021-11-18 03:26:26 +00:00
James Gatz
0648989abf
fix(import): Importing from the projects view should respect the forc… (#4058) 2021-11-17 10:44:19 +01:00
Carlos Giraldo
23d17bcbb2
Add support for HTTP/V2PriorKnowledge (#4194) 2021-11-16 19:48:16 +00:00
Dimitri Mitropoulos
8598ed752c
fixes defaultTabBehavior for OneLineEditor (#4215) 2021-11-15 13:16:25 -05:00
Filipe Freire
42f8e0d349
fix: #4182 pull snapshot icon (#4211) 2021-11-11 12:52:34 +00:00
James Gatz
4c906ccae5
allow for an empty string as a workspace name in the header (#4197) 2021-11-10 15:11:04 +00:00
Giuseppe B
f1216cb564
[Feature] The proxy configuration values are now hidden by default (#4036)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-11-10 09:29:53 -05:00
Dimitri Mitropoulos
8e21f26175
fix: consistently use index (#4196) 2021-11-10 06:11:31 +00:00
Dimitri Mitropoulos
f5230610e3
fixes CodeMirror opacity for disabled (or not) GraphQL body text (#4188) 2021-11-09 21:12:41 +00:00
Dimitri Mitropoulos
fd9fcf5031
fix: show JSON preview if content type is text/plain but body is valid json (#4171)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-11-08 16:39:26 -05:00
Falon Darville
88d473117d
Update Dark Colorblind theme (#4179) 2021-11-04 11:45:30 -07:00
Jack Kavanagh
28378dc3fd
spike: use babel preset typescript to transpile app (#4142)
* use babel-preset-typescript

* run type-check in release process
2021-11-03 08:06:52 +00:00
Dimitri Mitropoulos
5c02273757
Reduce AppBar sizing and add Project Name to breadcrumbs (#4159) 2021-11-03 11:10:53 +13:00
James Gatz
0f134ea553
fix(workspace-card-dropdown): restore the use the get-workspace-name … (#4150) 2021-10-26 10:37:45 +13:00
Dimitri Mitropoulos
6f7da8f284 hides ad in account tab when disablePaidFeatureAds is true (#4137) 2021-10-21 21:58:35 +13:00
Mika Andrianarijaona
a23e82dd6e
fix (style): set drag-sidebar z-index to 999 (#4059)
Co-authored-by: Mika Andrianarijaona <mikaoelitiana@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-18 01:14:11 +00:00
Dimitri Mitropoulos
cabaa7ebdf
removes analytics onboarding if incognito mode is (already) on (#4115) 2021-10-14 17:11:01 -04:00
Dimitri Mitropoulos
177d6adf38
Insomnia Config, controlled settings (#4031)
Co-authored-by: Opender Singh <opender94@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-10-14 10:59:45 -04:00
Vincenzo De Petris
cbc1cfc8b8
Environments order (#4048) 2021-10-13 19:10:48 +00:00
Dimitri Mitropoulos
e793e6f166
unifies getting of workspace name in displayment (#4060) 2021-10-07 12:38:11 +00:00
Opender Singh
615287ccfc
Create single inso executable using pkg (#4049)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-10-06 22:01:43 +00:00
Falon Darville
cdf95f64d6
Add Dark Colorblind core theme (#4081) 2021-10-06 19:11:17 +00:00
Opender Singh
e704f796f8
Attach sync button and button from component library to themes properly (#4070) 2021-10-04 11:35:53 +02:00
Ismael Arias
d237b2c907
Implemented Prettier for GraphQL formatting (#4022)
* Implemented Prettier for GraphQL formatting (#3242)

* package bump and linting

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2021-10-01 12:31:02 +02:00
James Gatz
fc32856e55
Use forwardRef for the Pane components (#4053)
* Use forwardRef for the Pane components

* Update packages/insomnia-app/app/ui/containers/app.tsx

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-29 09:44:28 +02:00
Dimitri Mitropoulos
d53ef39c9b
use named exports for all (remaining) react components (#4050) 2021-09-27 15:47:22 +02:00
Matthias Ramsauer
7a8510f89c
Add export as HAR format for single requests (#2715)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-22 13:35:34 +00:00
Dimitri Mitropoulos
376700826e
fixes all react/prefer-stateless-function warnings (#4019) 2021-09-15 16:16:04 -04:00
Timothy Lim
58ce5ec39e
Allow Autocomplete to be properly registered as a Shortcut (#2726)
* Allow autocomplete to be registered

* On shortcut update refresh pane to enable shortcuts to register correctly

* Improve types and add explanation about keyname order

* bind code-editor to hotkeyregistry via redux so that it updates keymaps on change

* remove force refresh via key and convert to named export

* send hotkeyregistry in environment autocomplete options

* use autocomplete delay from settings

* Use Pick<T>

Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-15 15:01:35 +02:00
James Gatz
45f683f992
Use the database change listener in the global tests (#4017)
* Use the database change listener instead of waiting for an amount of time

* Fire the actions after registering the handler
2021-09-13 19:42:12 +02:00
John
7e7d235fec
Added nested keys check after root keys check for environment editor. (#2685)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-10 19:25:32 +00:00
Timothy Lim
6b20648b5b
Show Client Certificate paths (#2714)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-10 17:53:25 +00:00
Dimitri Mitropoulos
02c65a852d
implements sort order for projects (#3953)
Co-authored-by: Opender Singh <opender94@gmail.com>
2021-09-09 21:42:57 +00:00
Julien Giovaresco
d4da3ad9d4
Unescape xml links before opening it (#2725)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-09 15:02:42 +00:00
Timothy Lim
614957c2b2
Fix tag editor preview issue due to blackslash (#2708)
Co-authored-by: Timothy Lim <tim.lim@intercom.io>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2021-09-09 10:42:04 -04:00
Isaac Moore
cb17482c76
Improve visibilty of the drag pane when viewed vertically (#2713)
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-09 07:30:06 +00:00
Julien Giovaresco
4cbd5fa816
Fix select all with large response (#2694)
* 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>
2021-09-09 13:35:01 +12:00
Eiman
972770731c
Add a keyboard shortcut for beautify request body (#2733) 2021-09-08 14:46:03 -04:00
James Gatz
381cf74a19
Improve codemirror typings (#3993)
Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
2021-09-08 15:38:07 +00:00
Opender Singh
cf2387bbcd
Fix raw response viewer line padding (#4013) 2021-09-08 12:33:06 +00:00
Sarah Ridge
68f1beaedd
Fix Swagger UI colors for better Accessibility (#3887)
Co-authored-by: Eric Reynolds <eric.reynolds@konghq.com>
Co-authored-by: Opender Singh <opender.singh@konghq.com>
2021-09-08 03:49:35 +00:00
Mike Clifford
fec22b782f
Add space between words in concatenated sentence (#4009) 2021-09-07 11:48:24 +00:00