Commit Graph

4806 Commits

Author SHA1 Message Date
Hexxa
e410998552
refactor: enable active global environment and map it to the sdk (#7533)
* feat: refactor the environment mapping between inso and script sdk

* feat: enable global environment in the sdk

* fix: disable global cases

* refactor: pass select global env to script execution and persist it after execution

* fix: lint error

* fix: some minor fixes

* fix: undefined is persisted as globals

* chore: add some comments about the mapping rule

* refactor: enable menu items for global environment manipulation (#7589)
2024-06-26 08:41:02 +00:00
Jack Kavanagh
75dcdcc96e
9-3-quick-fixes (#7586)
* collapse init

* fix markdown icons and nunjucks

* fix context menu

* fix lint
2024-06-25 22:35:36 +02:00
James Gatz
8320c4c626
Update workpsace settings modal for environment settings (#7585) 2024-06-25 14:56:19 +00:00
James Gatz
b9883fdd14
fix(KeyValue Editor): Pressing enter on an input should update the value (#7580)
* fix onKeydown using the previous value

* use keybindingHandler for improved keyboard support
2024-06-25 16:42:36 +02:00
Hexxa
c92707b292
fix: can not undo changes after switching between requests (#7583) 2024-06-25 16:53:29 +08:00
Jack Kavanagh
b301c633f1
remove appDataDir and fix tests (#7579) 2024-06-24 13:21:21 +02:00
Jack Kavanagh
536fbcb27e
inso clean up (#7578)
* re-enable test and update snapshots

* completely remove generate config

* fix tests
2024-06-24 12:02:22 +02:00
James Gatz
fbf2b5d827
feat(Environment Picker): Simplify the UI (#7574)
* update environment picker ui

* remove write from test

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-06-21 11:09:55 +00:00
Jack Kavanagh
c7385f00be
normalise json path (#7575)
* normalise json path

* fix tests
2024-06-21 12:36:31 +02:00
Jack Kavanagh
3fec8698d1
Markdown-inlined (#7554)
* markdown

* add inline docs

* can save

* default preview mode

* simplify

* fix tests

* fix types

* full panel layout

* fix e2e test
2024-06-21 12:17:00 +02:00
Jack Kavanagh
4e333940ec
export should show on scratchpad (#7571)
* export should show on scratchpad

* flatten dropdown

* fix lint
2024-06-21 12:13:14 +02:00
Jack Kavanagh
6c35b1681c
Replace export data and more with Preferences (#7570) 2024-06-21 08:19:01 +00:00
Henry
fe5e582c2c
Update "Mock API" in README (#7572)
its past november
2024-06-21 15:38:44 +08:00
jackkav
b7a6becb0b fix develop 2024-06-20 16:41:52 +02:00
jackkav
a4d8c5b18e fix scratchpad dropdown 2024-06-20 14:42:27 +02:00
Jack Kavanagh
598a939ef7 Merge branch 'release/9.3.0-beta.6' into develop 2024-06-20 11:38:51 +00:00
Jack Kavanagh
43f0cafcf6 Bump app version to 9.3.0-beta.6 2024-06-20 10:43:20 +00:00
James Gatz
e2759d5ea3
use fetcher key to reset the fetcher result on different organizations (#7544) 2024-06-20 12:36:38 +02:00
Jack Kavanagh
8bb6b470d2
transform hyphens to underscores on import (#7564)
* make hyphens underscores

* add test

* add env test

* fix type

* only transform value not key
2024-06-20 12:36:16 +02:00
Jack Kavanagh
f10ec3167a
warnings (#7566) 2024-06-20 10:48:31 +02:00
Hexxa
9dd5bdc71a
fix: add missing methods depending on the interpolator (#7560) 2024-06-20 09:50:08 +02:00
James Gatz
42bda02eb5
fix(Sync): Do not show conflicts for empty keys (#7556)
* Remove keys that have empty values and can be undefined in a model

* only scripts can be undefined for now

* New fields are now initialized as undefined

* update tests
2024-06-19 15:59:45 +02:00
gatzjames
cd3a355594 Revert "Revert "feat(Global Environments): Introduce a new top level file type called global environments. (#7511)""
This reverts commit 8a0f455397.
2024-06-19 11:38:47 +02:00
gatzjames
8a0f455397 Revert "feat(Global Environments): Introduce a new top level file type called global environments. (#7511)"
This reverts commit f86e00b644.
2024-06-18 16:49:18 +02:00
James Gatz
f86e00b644
feat(Global Environments): Introduce a new top level file type called global environments. (#7511)
* add new workspace type 'environment'

* new route for environments and set/get for them

* update environment picker UI

* update workspace environment modal ui to match env view

* global environment request rendering

* type checks

* ui overflow fix

* update e2e

* auto-lint issue

* type-checks

* Update aria label

* create env from project view

* changes

* save

* environment picker component

* update e2e
2024-06-18 18:05:28 +08:00
Hexxa
740d9a8cf7
fix: always take the latest operation name instead of prev state's (#7553) 2024-06-18 08:13:09 +00:00
Hexxa
b8089ced6e
feat: display status of sending request steps - INS-3635 (#7382)
* feat: display status of sending request steps

* fix: activeRequest id is necessary for different cases

* chore: rephrase step name and improve its typing

* feat: show sending status for mock routes

* fix: make text vertically aligned and reformat code

* fix: spinner line height

* feat: add after-response script step to the progress

* fix: add useEffect deps

* refactor: add a function for finish last timing record and compact logic a bit

* simplify

* add tooltip

* fix timer

* use duration

* improve time tag

* refactor: replace callback with hook

* fix: add the missing hook

* rename isExecuting

* delay snippet

* works

* rename bridge methods

* remove undefined initial state

* force stop execution before cancel

* fix time tag layout

* fix hang

* simplify api

* tidy up

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-06-18 08:58:09 +02:00
Filipe Freire
fd8f12e408
spike: proxy error on login [INS-4009] (#7546)
* fix: proxy error on login [INS-4009]

* add preferences button

* change data-testid for settings in auth authorize

* Update packages/insomnia/src/ui/routes/auth.authorize.tsx

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>

* Update auth.authorize.tsx

* Update auth.authorize.tsx

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2024-06-17 12:04:36 +00:00
Jack Kavanagh
35f320e26b
consistent dropdown layout (#7536)
* folder actions

* request sections

* workspace sections

* readd icon

* default font error

* add section to create new request dropdown

* rearrange auth options

* add file import to create menu

* hints
2024-06-17 11:45:41 +00:00
Jack Kavanagh
16d19760c2
improve plugin install ux (#7542) 2024-06-17 05:59:49 +00:00
Hexxa
27e53c0311 Merge branch 'release/9.3.0-beta.5' into develop 2024-06-14 13:39:23 +00:00
Hexxa
55e7bb1a1e Bump app version to 9.3.0-beta.5 2024-06-14 10:37:51 +00:00
James Gatz
71a41d17f0
fix loading state for logout button in error page (#7545) 2024-06-14 10:13:45 +02:00
James Gatz
a79dc36450
key value editor improvements (#7541) 2024-06-13 14:03:45 +02:00
Lucas Machado
57cbdcb7c1
fix: onboarding typo (#7537)
Fixes onboarding typo in "global search" feature
2024-06-13 10:41:33 +01:00
Jack Kavanagh
21be84981e
can create local mocks in enterprise plan (#7538)
* add contact sales

* enterprise can create local mocks

* control mock server selection
2024-06-12 14:45:17 +00:00
Jack Kavanagh
4a8199f007
folder sections (#7488)
* folder section headers

* add icons
2024-06-12 10:39:20 +02:00
Jack Kavanagh
8648f49d4d
move env editor to folder tab (#7534)
* move env editor to folder tab

* remove old unused test
2024-06-12 10:05:42 +02:00
James Gatz
9db2d42feb Merge branch 'release/9.3.0-beta.4' into develop 2024-06-11 17:23:35 +00:00
James Gatz
94ed3c1782 Bump app version to 9.3.0-beta.4 2024-06-11 16:57:57 +00:00
James Gatz
cc6d669299
ui imrpovements (#7528) 2024-06-11 18:05:33 +02:00
Filipe Freire
6924e28734 Merge branch 'release/9.3.0-beta.3' into develop 2024-06-11 12:05:08 +00:00
Filipe Freire
1c66fccfa1 Bump app version to 9.3.0-beta.3 2024-06-11 11:41:27 +00:00
Filipe Freire
db2c71d0b7 Merge branch 'release/9.3.0-alpha.11' into develop 2024-06-11 11:28:48 +00:00
jackkav
49f774c11d fix prerelease test 2024-06-11 12:59:56 +02:00
Jack Kavanagh
e13c169dcd Bump app version to 9.3.0-alpha.11 2024-06-11 10:47:17 +00:00
Filipe Freire
e88b313b1d
fix: windows artifact and update code signer [INS-3993][INS-3982] (#7523) 2024-06-11 12:45:18 +02:00
Jack Kavanagh
2ff059f7a2
remove oas 2 kong (#7503)
* remove oas 2 kong

* remove old test
2024-06-11 10:38:09 +01:00
Jack Kavanagh
6cb619285f
include read only in headers count (#7521) 2024-06-11 10:08:04 +02:00
jackkav
f3be333a5a bump create branch 2024-06-10 15:16:59 +02:00