Commit Graph

4872 Commits

Author SHA1 Message Date
James Gatz
950d0d3f04 Bump app version to 9.3.1 2024-06-28 16:38:09 +02:00
Mark Kim
cb25910198
chore: add request id (#7610) 2024-06-28 10:32:11 -04:00
Filipe Freire
eab0e9c675
chore: add event for workspace environment type [no-ticket] (#7602)
* chore: add event for workspace environment type [no-ticket]

* fix lint
2024-06-28 16:07:41 +02:00
James Gatz
3ab6165f52
fix(Cookie expires): Invalid date on cookie expires (#7614)
* Fix always running after-response script

* Fix invalid date in cookies
2024-06-28 16:06:05 +02:00
Hexxa
cb4ec74a2a
fix: help to handle @ when it is not encoded in url (#7609)
* fix: help to handle @ when it is not escaped in url

* test: add tests and comments
2024-06-28 21:02:59 +08:00
James Gatz
25b60b44fa Merge branch 'release/9.3.0' into develop 2024-06-27 13:41:29 +00:00
James Gatz
8d027a73be Bump app version to 9.3.0 2024-06-27 13:15:37 +02:00
Jack Kavanagh
c21698decf
upgrade inso pkgs (#7592)
* upgrade cosmiconfig

* remove one layer of indirection

* more indirection

* upgrade commander

* fix tests

* remove unusedExitoverride

* flatten

* inline

* flatten config

* fix test

* docs

* flatten logging

* dont default to script

* fix test docs and config search

* refactor exportSpec

* fixed test
2024-06-27 12:53:35 +02:00
James Gatz
9aa512ee8a
move snap and deb publish to the end (#7599) 2024-06-27 12:27:04 +02:00
James Gatz
1a80b25ce5
fix(key-value editor): Fix locked focus when the autocomplete is open and improve styling (#7597)
* Fix locked focus when the autocomplete is open and improve styling

* add await to delay snippet

* display the workspace name on global environments
2024-06-27 10:12:34 +00:00
Jack Kavanagh
46db2ed72f
snap store login (#7593)
* snap store login

* use v1

* fix

* Update .github/workflows/release-publish.yml

---------

Co-authored-by: Filipe Freire <livrofubia@gmail.com>
2024-06-27 09:56:51 +00:00
gatzjames
6fd8a1e69c Merge remote-tracking branch 'upstream/release/9.3.0-beta.7' into develop 2024-06-26 13:21:30 +02:00
jackkav
272c25a605 add note about notorize fail 2024-06-26 12:36:08 +02:00
James Gatz
c345277d72 Bump app version to 9.3.0-beta.7 2024-06-26 09:58:57 +00:00
Jack Kavanagh
72edb6a0a6
Inso-third-pass (#7588)
* inline utils and clean outputs

* improving the log output

* dx

* fix tests abstract path

* return early

* flatten options and utils

* flatten logger

* add export file and git examples

* flatten cli.ts

* use await api and flatten

* flatten cli

* fix test
2024-06-26 11:52:20 +02:00
James Gatz
aaabdfdd79
fix empty value and close combobox input on select (#7590) 2024-06-26 09:03:18 +00:00
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