Commit Graph

2344 Commits

Author SHA1 Message Date
rickythefox
9a5701bad3
Fix size of query bulk editor (#5795) 2023-02-22 16:14:33 +00:00
Filipe Freire
3847bf5962 Bump app version to 2023.1.0-beta.3 and lerna package versions 2023-02-16 11:09:22 +00:00
Filipe Freire
de552f2675 v3.13.0-beta.3 2023-02-16 11:09:00 +00:00
Filipe Freire
60fb2140a7
Fix dropdown closing early issue (#5778) 2023-02-16 11:03:55 +00:00
Filipe Freire
f7802bbba6 Bump app version to 2023.1.0-beta.2 and lerna package versions 2023-02-10 13:46:38 +00:00
Filipe Freire
b58cd4313e v3.13.0-beta.2 2023-02-10 13:46:22 +00:00
ltressens
c60a27813a
Closes #5722 : if redirectUrl is unset, do not match on it, but still match on it if set (#5763)
* If redirectUrl is unset, do not match on it, but still match on it if set. Also check that 'code' and 'error' are not part of parameters name, but the full name of the parameter in URI

* fix linter error
2023-02-10 13:41:14 +00:00
Filipe Freire
9b7d92b445
fix #5759 - show the selected websocket event (#5768)
* fix #5759 - show the selected websocket event

* edit
2023-02-10 10:58:18 +00:00
Jack Kavanagh
50f3f2d2dd
remove the kong/protobuf.js fork (#5760) 2023-02-07 15:58:29 +00:00
Filipe Freire
9af4e30066 Bump app version to 2023.1.0-beta.1 and lerna package versions 2023-02-02 14:49:29 +00:00
Filipe Freire
786e0ed8d5 v3.13.0-beta.1 2023-02-02 14:49:14 +00:00
James Gatz
4521d8059d
Update workspace grid in project view (#5745)
* update workspaces grid in project view

* fix search icon placement and empty pane styles
2023-02-02 14:45:08 +00:00
Filipe Freire
a1b1d06437 Bump app version to 2023.1.0-beta.0 and lerna package versions 2023-01-27 15:00:35 +00:00
Filipe Freire
349da16eee v3.13.0-beta.0 2023-01-27 15:00:19 +00:00
Jack Kavanagh
42fb46f56c
fix dropdown issue (#5734) 2023-01-27 14:56:36 +00:00
James Gatz
4e18e50471
Project sidebar UX improvements (#5726)
* add organization dropdown

* Fix props of the list component

* Convert styles to styled components

* Fix issue with grpc test

* Fix issue with the height

* Fix side bar height

* fix sidebar height and align list items vertically

Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com>
2023-01-27 14:53:25 +00:00
Pavlos Koutoglou
87c5986c20
Fix scroll issue with dropdown menu (#5731)
* Fix scroll issue with dropdown menu

* Decrease the size of the dropdown menu
2023-01-27 09:45:50 +00:00
Filipe Freire
34f22bb648
fix windows pdf request smoke test flake (#5729) 2023-01-27 09:28:00 +00:00
Filipe Freire
25a283ade5
bump playwright to 1.30 (#5724)
* bump playwright to 1.30

* fix version
2023-01-26 17:48:07 +00:00
Jack Kavanagh
019a85318c
proto refactor: remove manager (#5727)
* simplify pass 1: unnest proto manager

* extract recursive proto list from redux

* simplify

* remove unused tests

* unnest proto file list

* flatten proto components
2023-01-26 17:34:33 +01:00
Filipe Freire
e4e092e3e0
Fix INS-2291 weird ui for some dropdown options (#5720)
* Fix INS-2291 weird ui for some dropdown options

* Fix issue with sync-dropdown

Co-authored-by: Pavlos Koutoglou <pkoutoglou@gmail.com>
2023-01-26 09:16:21 +00:00
Filipe Freire
bfb2821993
Environment Editor PreRelease Smoke Tests (#5502)
* Create initial test file and fixture

* fix create environment dropdown minor bug

* Add tests, datatestid & edit fixture
2023-01-26 08:39:32 +00:00
kreosus
c462410474
Copy as curl visual (#5723) 2023-01-26 08:26:20 +00:00
Filipe Freire
4a46d0f71e
Fix INS-2275 db not defined creating team branch (#5719) 2023-01-25 15:42:51 +00:00
PatrickMurrell
18defb5719
update git.listfiles to list files in .insomnia directory (#5683)
* update git.listfiles to list files in .insomnia directory

* filter git.listfiles result instead of function call

* Update packages/insomnia/src/sync/git/git-vcs.ts with cleanup suggestions

Co-authored-by: James Gatz <jamesgatzos@gmail.com>

* fix lint

Co-authored-by: Patrick Murrell <pmurrell@lcs.com>
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-24 09:38:37 +00:00
Filipe Freire
7417acb7b9
Git Sync prerelease tests (#5705)
* WIP-clone-bad-values

* WIP

* test

* WIP-clone-bad-values

* WIP

* wip

* Git-Sync-Test

* improve a bit the locators

* Update settings.json

* fix role from button to menuitem

Co-authored-by: kreosus <kristofer.huffman@konghq.com>
2023-01-20 16:04:50 +00:00
Pavlos Koutoglou
e38ece1ab7
Feature/ins-2070-bug-updowntabshifttab-not-working (#5615)
* Update version of react-aria package

* Create dropdown hint component

* Create dropdown button component

* Create the popover component

* Create the menu item component

* Create the menu section component

* Create the menu component

* Create the dropdown related components

* Change the hotkey html tag

* Added full width option for prompt-button

* Replace the dropdown with the new

* Add some default props for dropdown

* Used themed button into dropdown button

* Added style prop for dropdown

* Remove checkmark from menu item

* Added styled props to popover

* Remove inner button from account toolbar

* Added new dropdown into cookie-list

* Revert package update

* WIP

* Delete button component and replace it's usage with dropdown button

* Fix spacing

* Added className for code-editor dropdown

* Remove the old dropdown

* Change import

* Revert some ref changes

* Added ref to dropdown

* Fixed some styles

* Fix issues like autosave and added isDisable prop

* Add title

* Remove insomnia-common imports

* Remove insomnia-common imports

* Fix code format

* Change style and fix code format

* Fix styles

* Replace dropdown import

* Fix divider style

* Fix last icon in sidebar create dropdown

* Fix issue with dropdown and the resizing screen

* Fix linter issues

* Moved the prompt button into itemContent component

* Change styled component

* Fix issue with sidebar-request-row to display the dropdown on hover

* Remove the item content in a separate component

* Remove unused css

* Destructure children props

* Fix trigger prop for grpc-method-dropdown

* Added prompt button when user delete test suite

* Hide empty dropdown items from section

* Fix linter issues

* Added Checkmark into item content

* Fix issue with linter and shortcut component

* Fixed linter issues

* Revert fragments

* Fix linter issues

* Added props for multiple select and disable

* Fix close issue with sidebar dropdown

* Update disable and stay open prop for all dropdowns

* Added aria-label for dropdown, section, items

* Added selected style for item

* Added logic for disabled items

* Fixed issue with selected items

* Fix issue with selection of grpc method dropdown

* Added aria-label to code-editor

* Fix issue with onClick and prompt

* Hide sections if it's empty

* Remove on select from item content

* Pass closeOnSelect props in the menu

* Removed dataTestId from dropdown items in request-actions

* Fix debug sidebar dropdown tests

* Change the cookie editor interactions tests

* Fix dashboard interactions tests

* Fix design-interactions tests

* Fixed grpc-interactions tests

* Fix plugins interactions tests

* Fix preferences interactions tests

* Fixed request-pane-tab tests

* Fixed app smoke tests

* Update git-sync smoke tests

* Fix space issue

* Fixed graphql smoke test

* Fixed oauth smoke test

* Fixed oauth smoke test

* Fixed websocket smoke test

* Fixed cookie-editor-interactions tests

* Remove the dropdown unit test

* Made small refactoring and remove unnecessary props

* Fix issue with grpc-method-dropdown

* Change the grpc smoke test

* Added default role props

* Update all tests that use project role

* Remove console.log

* Fix issue with themes

* REmove dropdown import from index.less file

* Remove handleClick and add some comments

* Use getItemCount from react-stately

* Remove method-dropdown css

* Fix shortcut button style

* remove extra space on sync-dropdown

* fix lint

* Remove unused prop

* Fix issue with remote workspace dropdown

* remove divider on first section if empty

* remove unused showGrpc option in method dropdown

* Fix issue with workspace-dropdown

* Fix git-sync-dropdown issues

* Fix issue with remove workspaces dropdown

* Fix sync-dropdown component

* Added disable style

* Moved server reflection and proto file outside of the dropdown

* Fix style when item is selected

* Fix issue with grpc smoke test

* Fix issue with menu props

* Disable server reflection button if url is empty

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2023-01-20 16:49:52 +02:00
Magdalena Lipka
90e014a005
use request instead or response url in url tag (#5709) 2023-01-20 11:21:08 +00:00
Filipe Freire
37999d7f2c Bump app version to 2022.7.5 and lerna package versions 2023-01-19 15:49:31 +00:00
Filipe Freire
07a41c4a01 v3.12.0 2023-01-19 15:49:16 +00:00
Jack Kavanagh
caf52b79f4
default to token and type (#5706) 2023-01-19 16:38:45 +01:00
Jack Kavanagh
9bafd223f1
oauth2: optional redirect uri fix (#5703)
* allow unset redirect uri

* fix lint

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-19 13:45:12 +00:00
ohayak
7b6e7e51ea
fix bug where every refresh token fails (#5702)
* fix bug where every refresh token fails

an error in conditions logic caused every request to refresh token to return [oauth2] Failed to refresh token url=http://localhost:8000/v1/login/token status=200

* flip condition

Co-authored-by: jackkav <jackkav@gmail.com>
2023-01-19 12:46:13 +00:00
Filipe Freire
aa0f225304
bump playwright to 1.30 canary (#5684)
* bump playwright to 1.29.2

* upgrade to canary

* set workers to 1

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2023-01-18 13:14:01 +02:00
Filipe Freire
90e7e372d2 Bump app version to 2022.7.4 and lerna package versions 2023-01-17 16:05:12 +00:00
Filipe Freire
ce9ad43590 v3.11.0 2023-01-17 16:04:55 +00:00
Filipe Freire
b7028eb62a
Reproduce GraphQL unknown operation named issue (#5681)
* Add smoke check to reproduce #5665

* add debug code

* clean up

Co-authored-by: Mark Kim <mark.kim@konghq.com>
2023-01-17 10:55:39 -05:00
Jack Kavanagh
fc51f7a3cb
Handle duplicate env error / unique key constraint issue (#5674)
* pretty sure this will help

* replace all the other ensure childrens

* revert PR 4378

* ?fix? test and lint

* fix lint

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-17 14:51:32 +00:00
Jack Kavanagh
9d1873bfb3
oauth2 fix (#5691)
* only set code challenge with usePkce

* improve hash parse error message

* show implicit grant type errors in ui
2023-01-17 14:19:16 +00:00
Filipe Freire
ff7297eabb Bump app version to 2022.7.3 and lerna package versions 2023-01-16 17:13:53 +00:00
Filipe Freire
9f8269b252 v3.10.0 2023-01-16 17:13:38 +00:00
paoloflores
a315cb6ec6
remove bad CSS selectors in markdown nested lists preview (#5526) (#5630) 2023-01-16 11:26:12 +00:00
Jack Kavanagh
237c6e71ba
read ca cert in ws connection (#5662) 2023-01-13 22:30:27 +00:00
Jack Kavanagh
ca12ad1358
use active env id in response (#5669)
* use active env in response

* fix types
2023-01-13 16:30:59 +00:00
Filipe Freire
7168d01cf4
Add prerelease test for #5664 / INS-2267 (#5668)
* Add prerelease tests for #5664 / INS-2267

* Add note on how to run non recurring tests

* improve copy
2023-01-13 17:17:01 +01:00
Jack Kavanagh
5cecdf0a0b
interpolate reflection url and metadata (#5663) 2023-01-13 11:15:37 +00:00
Filipe Freire
2db95b4e67 Bump app version to 2022.7.2 and lerna package versions 2023-01-12 12:02:34 +00:00
Filipe Freire
190216b710 v3.9.0 2023-01-12 12:02:13 +00:00
PatrickMurrell
ffd847f1df
remove check for password in git sync (#5655)
Co-authored-by: Patrick Murrell <pmurrell@lcs.com>
2023-01-12 11:57:14 +00:00
Jack Kavanagh
c4d2939e7a
Refactor/oauth2 (#5571)
* get-token

* named export

* another pass

* exporting const breaks types in a good way

* flatten optional params

* remove silly db functions

* remove junk function in db models

* flatten grant auth code

* simplify responseToObject

* improve response to object typing

* use union type for auth keys

* remove authkey constants

* some hacking

* another pass

* unpacking

* obscure auth object

* fix auth code types

* fix grant implicit types

* remove oauth2 token from redux store

* fix oauth method args

* extract network from grant auth code

* extract send from grant password

* extract grant implicit

* extract client creds

* flatten param generator

* extract nuller

* flatten refresh token

* flatten refresh token

* fix types

* remove tests

* fix test flake

* fix gql body test import

* fix typos

* fix grant auth

* fix token clear

* fix token state

* fix auth header logic

* fix types

* fix

* simplification pass

* fix code verifier

* flatten implicit grant type

* fix typo

* use consistent url parsers

* flatten grant auth code

* fix typo

* type oauth2

* improve helper and tidy

* fix type

* tidy

* tidy

* tidy up

* remove some constants
2023-01-12 11:36:51 +00:00
Jack Kavanagh
d86330445e
fix cookie setter (#5656) 2023-01-12 10:57:55 +00:00
Jack Kavanagh
3765ad2373
use electron-build notarize config (#5635)
* use electron-build notarize config

* update electron-builder.config

* Re-add snapcraft fix done in #5555

* update electron-builder

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-12 10:42:13 +00:00
kreosus
08edada6b8
Debug head test (#5638)
* Created Debug Head tests

* Added Open Generate code and copy as curl test

* delete duplicate debug-head file

* trying to add data-testid

* add todo messages

* revert datatestid for codemirror

* revert datatestid for codemirror

* fix

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-11 16:06:46 +00:00
Amy Wang
ba86acea67
Update wording about certificates not being synced for clarity (#5647) 2023-01-11 12:05:34 +00:00
Jack Kavanagh
4eae103503
Refactor/decouple-db-and-request (#5572)
* move certs out of actually send

* extract fetcher

* extract interpolate try catch

* extract plugin transformer

* remove delay hack

* extract response transform

* extract url transformer

* extract cookies

* move custom logic into tranformer function

* decouple cancellation logic

* add bytes read

* only render can cancel requests

* order by usage

* fix tests

* use abort controller for cancellation

* raise methods to fix inso

* fix

* comments

* base env and rename cancel file

* fix import order
2023-01-11 09:58:26 +00:00
Jack Kavanagh
bdce88d4d3
catch error emitted by setting lintOptions (#5650) 2023-01-11 10:39:53 +01:00
Jack Kavanagh
18771f7a94
GQL third pass (#5641)
* fallback to {} and only auto prettify

* tolerate operation name change

* fallback to first element on change

* handle empty query

* update operation names on empty query

* update the ast when we update the query

* remove log

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2023-01-10 14:41:06 +00:00
Amy Wang
4899ccdc37
Remove support email (#5622)
* Remove extra support channels from readme.

* Remove support email from contributing recommendations

* Remove support email from error modals

* Fix linting on imports

* remove unused mailto

* Make link active

* Fix linting error in Readme

Co-authored-by: jackkav <jackkav@gmail.com>
2023-01-09 16:13:29 -05:00
Filipe Freire
7ff7886801 Bump app version to 2022.7.1 and lerna package versions 2023-01-09 14:07:27 +00:00
Filipe Freire
ad878f9474 v3.8.0 2023-01-09 14:07:11 +00:00
Filipe Freire
575d4cf907
fix/revert snapcraft and macos package (#5633)
* Revert "Fix INS-2242, add afterPack workaround for electron-builder (#5627)"

This reverts commit 33aa835c26.

* Revert "Fix #5531 bump snapcraft base to core22 (#5555)"

This reverts commit 856c859679.

* Revert "use same prettify mechanic for both editors (#5616)"

This reverts commit 21c78170b2.
2023-01-09 14:03:50 +00:00
Filipe Freire
33aa835c26
Fix INS-2242, add afterPack workaround for electron-builder (#5627) 2023-01-06 16:09:21 +00:00
Jack Kavanagh
a410dfdb10
fix 248k sentry errors (#5624)
* quick and dirty

* fix lint

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-06 15:51:31 +00:00
James Gatz
9a4e5caa86
Fix/git sync issues (#5626)
* Display the push/pull/checkout errors correctly

* use branch name to refresh the workspace

* fix checkout

* fetch the staged changes inside the modal

* fix password login with git
2023-01-06 15:36:43 +00:00
Jack Kavanagh
21c78170b2
use same prettify mechanic for both editors (#5616) 2023-01-05 14:10:26 +00:00
Jack Kavanagh
9e1e05a8c3
use libcurl (#5611) 2023-01-05 10:08:53 +00:00
kreosus
6dffc7fcf2
Preferences prelease test (#5603)
* Added Open Generate code and copy as curl test

* Improvements to the Generate code test

* added tests for preferences

* fixed selectors

* fixed test selectors

* removed extra whitespace

* fix lint

* Improve a bit the preferences tests

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2023-01-04 17:10:31 +00:00
Filipe Freire
856c859679
Fix #5531 bump snapcraft base to core22 (#5555)
* Fix #5531 bump snapcraft base to core22

* lint package.json
2023-01-04 10:40:21 +00:00
G. S. Varma
dadf2f5b76
Fixes misleading tooltip info :: UX (#5589) 2023-01-02 22:37:47 +01:00
Filipe Freire
45704e43f1
Fix inso cli lint fail on relative path INS-2219 (#5541)
* Investigating inso cli lint spec error INS-2219

* force absolute path

* Revert "Investigating inso cli lint spec error INS-2219"

This reverts commit eb7a3fd7c3.

* fix tests

* fix test

* fix path in test

* fix test

* fix test
2022-12-16 15:25:46 +00:00
Jack Kavanagh
1750486b12
initialise operations (#5539) 2022-12-16 10:23:34 +00:00
Jack Kavanagh
e0ded77871
send request metadata with reflection request (#5535)
* send request metadata with reflection request

* use the same grpc transform options in reflection
2022-12-16 01:44:12 +01:00
Filipe Freire
f4482bde0e
trying to fix build (#5534)
* trying to fix build

* fix buildgst!
2022-12-15 19:14:24 +00:00
Filipe Freire
9644f9a7b6 Merge branch 'release/2022.7.0' into develop 2022-12-15 15:14:08 +00:00
James Gatz
f7beb00379
Add routes for git operations (#5523)
* Add repo-clone-modal

* remove unused var

* remove disabled uri input

* clone/setup git repository

* git branches

* log modal and branches modal

* git staging modal

* delete unused file

* remove unused test

* fix test lint

* fix e2e test

* display the correct file type in the staging modal

* fix check all checkboxes
2022-12-15 15:04:38 +00:00
Filipe Freire
25cd66fd1a Fix grpc prerelease smoke check 2022-12-15 14:28:07 +00:00
Filipe Freire
b6512c5262 Bump app version to 2022.7.0 and lerna package versions 2022-12-15 12:38:38 +00:00
Filipe Freire
592d8a3a4b v3.7.0 2022-12-15 12:38:22 +00:00
Jack Kavanagh
59ad93d2b9
Fix gRPC reflection duplicate import error (#5525)
* use fork temporarily

* package lock

* use kong fork of protobuf

* package lock

* re-add proto-loader

* package lock
2022-12-15 11:54:07 +00:00
Filipe Freire
a73028ac8d
Fix INS-2212 removing import in request pane (#5528)
* Fix INS-2212 removing import in request pane

* Fix lint
2022-12-15 11:27:18 +00:00
James Gatz
a0919a40d7
disable generating new requests only on spec errors (#5527) 2022-12-15 10:51:20 +00:00
Filipe Freire
b53187c908
Remove import for existing workspace (#5524)
* Remove import for existing workspace

* remove the new button click from all smoke tests

Co-authored-by: jackkav <jackkav@gmail.com>
2022-12-14 17:47:49 +00:00
Jack Tysoe
46bb161134
Enable automated security plugins at the service (root spec) level (#5378)
* feat(plugins): enable support for service-level security definition plugins

* feat(plugins): add tests for service-level security plugins

* fix(syntax): match regexes to last commit

* fix lint

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-12-14 15:30:56 +00:00
Jack Kavanagh
1bb9607c39
gRPC server reflection support (#5518)
* eliminate grpc paths

* add fake reflection ux

* add grpc packages

* basic ux

* first working pass

* package lock

* reset selected protofile

* fix types

* ssl

* improve naming

* remove deprecated grpc url parse

* remove broken test

* replace grpc proto PR test with reflection
2022-12-14 12:27:39 +00:00
James Gatz
5b683f05df
Use OAS ruleset from the root of the repo directory if it exists (#5520)
* read file from git path

* Fix using the default oas ruleset when none is found in the repo

* display warning and info messages from oas lint
2022-12-14 11:58:24 +00:00
Jack Kavanagh
ed34090384
Support custom spectral ruleset in inso (#5488)
* first pass

* package lock

* provided ruleset is not an object

* works

* support multiple extensions

* fix test

* lower coverage threshold

* remove unused test

* remove only
2022-12-14 12:47:28 +01:00
Jack Kavanagh
4fb50c3b81
error route: add clipboard copy (#5514)
* add clipboard copy

* make error selectable
2022-12-14 08:51:49 +00:00
Filipe Freire
ecf4c0ef65
Add server reflection to smoke test grpc server (#5517)
* Add server reflection to smoke test grpc server

* remove unnecessary proto file
2022-12-13 21:34:15 +01:00
kreosus
a1cb079012
Open generate code and copy as curl (#5499)
* Added Open Generate code and copy as curl test

* Improvements to the Generate code test
2022-12-13 17:46:54 +00:00
Jack Kavanagh
d76981ae4a
remove duplicate button (#5515) 2022-12-13 17:34:15 +00:00
Jack Kavanagh
b39ee5bc4b
toggle auto fetch (#5516)
* fix automatic fetch

* simplify gql state
2022-12-13 17:33:37 +00:00
Filipe Freire
b5130b6086 Bump app version to 2022.7.0-alpha.0 and lerna package versions 2022-12-12 17:56:28 +00:00
Filipe Freire
205d0b0d2d v3.7.0-alpha.0 2022-12-12 17:56:14 +00:00
Jack Kavanagh
bd61bcfd14
ca cert support (#5498)
* exploration of new data model

* POC second pass

* fix

* fix types

* improve layout
2022-12-09 16:30:58 +00:00
Jack Kavanagh
fad836d478
decouple grpc request from redux (#5500)
* move proto file modal under grpc request

* delete some stuff

* remove spinner from request row for now

* sync grpc state

* add change type

* clean up

* remove extra bridge method
2022-12-09 12:26:15 +01:00
Filipe Freire
792bf7034d
Add prerelease grpc smoke tests (#5480)
* Add prerelease grpc smoke tests

* Wrap up smoke tests

* small improvements

* Remove duplication
2022-12-07 10:33:15 +00:00
kreosus
4f7305084f
Pin a request (#5487)
* test to rename a request

* added Delete Request test

* added filter by folder test

* added Pin a request test

* minor improvements

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-12-06 12:01:30 +00:00
SIX Douglas
f39d47b5bd
Import multiple envs when importing OpenAPI3 (#4254)
* feat(import): import multiple envs when importing OpenAPI3

When the OpenApi file to import contains multiple servers, import each one as an environment.

Closes #3627

* feat(import): import multiple envs when importing OpenAPI3

When the OpenApi file to import contains multiple servers, import each one as an environment.

Closes #3627

* fix lint and tests & rebase with latest develop

Co-authored-by: SIX Douglas <douglas.six@ext.adeo.com>
Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2022-12-05 11:31:43 +00:00
Jack Kavanagh
cfc1ac09aa
Refactor/pre request routing (#5481)
* improve prop typings

* tidy up error a little
2022-12-05 12:18:30 +01:00
Filipe Freire
a2a6b4bce8
Bump to Electron 22 (#5479)
* Bump to Electron 22

* fix type-check
2022-12-02 14:06:50 +00:00