Commit Graph

4764 Commits

Author SHA1 Message Date
Curry Yang
03afa4d452
perf: improve performance when spec lint [INS-3724] (#7374)
* perf: spec lint

* Move ruleset loading to main

* fix: solve todo

* fix: solve todo

* feat: open nodeIntegrationInWorker option

* fix: need save spectralRun ipc

* feat: add worker plugin

* put the default ruleset handling in loadSpectralRuleset

* make sure we check for latest id

* fix: postMessage and ipc can not transfer special objects

* move logic to new place and clean up main

* fix race condition and cleanup code

* fix: worker build

* add necessary worker ternminate and more logs

* use fs require in worker

* rename file and add reject

* fix typo

* remove unused console log in loader

* leave note about GC

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
Co-authored-by: jackkav <jackkav@gmail.com>
2024-05-14 14:56:53 +08:00
oahmed-OS
bb7916c399
fix: environment edit modal save (#7371)
* fix: environment edit modal save

* add onBlur

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-05-14 06:39:50 +00:00
James Gatz
9b068f642e
fix(ui): Misalignments in the UI (#7400)
* code editor pane height

* sync dropdown height

* request pane height

* debug design height

* unit test pane height

* use line height instead

* fix annoying auto-format

* git sync alignment

* unit test ui
2024-05-13 12:58:24 +02:00
Curry Yang
b3db2aeef7
fix: extract correct position through err message (#7398) 2024-05-13 09:40:51 +02:00
Jack Kavanagh
219158fb18
fixes codemirror measure issue (#7391) 2024-05-10 10:50:20 +00:00
Filipe Freire
6331bd70ca
fix: add missing 9.1.1 changelog [no-ticket] (#7392) 2024-05-10 11:19:27 +01:00
Jack Kavanagh
ab02192849
point changelog url at releases (#7387)
* point at releases

* remove changelogUrl

* fix lint
2024-05-09 09:40:41 +00:00
James Gatz
40db09191b
fix missing session id (#7389) 2024-05-08 13:06:37 +02:00
Jack Kavanagh
cc421d1a3c
Types/ipc-channels (#7379)
* type ipc channels pass 1

* type checked
2024-05-07 16:10:13 +02:00
James Gatz
9055043a9e Merge branch 'release/9.1.1' into develop 2024-05-07 11:39:39 +00:00
Jack Kavanagh
0e49f08850 Bump app version to 9.1.1 2024-05-07 11:20:21 +00:00
James Gatz
74fdf4e540
fix(project-data): Move remote file fetching outside the main path (#7378)
* move project fetches outside the projectId loader

* update types

* use a separate loader for listing files

* feedback

* close the palette when the env changes

* cleanup and comments

* clean up naming

* filter our mock server as move target

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-05-07 12:56:14 +02:00
Jack Kavanagh
5f08604ca7
fix: should not refetch as much [INS-3817] (#7377)
* should not refetch a much

* remove graphql revalidate

* drill prop
2024-05-06 18:45:03 +02:00
jackkav
bcf5504f2a fix 2024-05-02 19:29:31 +02:00
Jack Kavanagh
5bb720f177
network-cleanup (#7355)
* tidy up

* lock
2024-05-02 13:29:16 +02:00
Jack Kavanagh
5fb3fc685d
remove read only pairs from all kvp editors (#7351)
* remove read only pairs from all kvp edits

* move const
2024-05-01 16:07:23 +00:00
Jack Kavanagh
f7b9302e1b
reduce reload noise coming from learning feature (#7346)
* quick hack

* only refetch once a day
2024-05-01 17:50:24 +02:00
Jack Kavanagh
0aaa36d0c2
unify all app requests behind a common api convention (#7338)
* spike

* cleanup

* remove axios

* remove file

* proxy settings

* actual proxy

* proxy and net.fetch

* refresh lock

* layout

* use vscode style content security protocol

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-05-01 17:49:58 +02:00
jackkav
9fb181ad45 bump changelog 2024-04-30 16:53:57 +02:00
Jack Kavanagh
db68d03fd1 Merge branch 'release/9.1.0' into develop 2024-04-30 14:33:17 +00:00
Jack Kavanagh
b4642d9b73 Bump app version to 9.1.0 2024-04-30 14:06:20 +00:00
Jack Kavanagh
964557ccee
Refactor/move insomnia fetch (#7344)
* remove double slash

* move to ui

* use insomniaFetch where possible

* fix lint
2024-04-30 16:04:00 +02:00
jackkav
df36b21d59 fix deep links 2024-04-30 15:44:03 +02:00
James Gatz
733f4e3c6c
Add schema to hintOptions (#7342) 2024-04-30 09:56:19 +00:00
Jack Kavanagh
2cac8a2b58
Fix/filter out content length (#7341)
* filter out

* comment
2024-04-30 09:34:18 +00:00
Hexxa
fcc8bee4c7
fix: subEnvironment's id should be real id instead of n/a (#7339) 2024-04-30 08:47:41 +00:00
Jack Kavanagh
c90b82c863
remove expiry (#7340) 2024-04-30 10:31:00 +02:00
Jack Kavanagh
28d224b73d
add clear test (#7336) 2024-04-30 09:07:42 +02:00
Jack Kavanagh
11322f5890
show read only headers (#7337) 2024-04-30 09:07:17 +02:00
Jack Kavanagh
70bcd75437
expose internal requests in network tab (#7319)
* first pass

* fix deep link

* remove comments

* support changing origins

* fix backup

* remove console log

* remove unused

* remove srp-js

* fix route

* fix tests

* fix tests

* deal with env trip hazard
2024-04-29 15:58:16 +02:00
Jack Kavanagh
c62decc0b5
fix pm import order (#7332)
* fix postman import order

* update snapshots

* remove all the console errors from the tests

* stub
2024-04-29 11:21:17 +02:00
Jack Kavanagh
27922a8518
Fix: non blocking fetch on navigate (#7321)
* non-blocking action loader

* fix types

* improve plugin logging

* use keys to make org change refetch

* Update packages/insomnia/src/ui/components/panes/project-empty-state-pane.tsx
2024-04-29 11:19:55 +02:00
Hexxa
69fb149274
fix(sdk): some of external modules are missing (#7315)
* fix: some external modules are missing

* chore: update @types/tv4

* chore: use map instead of switch-case statement

* test(scripting): check using external libs in the critical test suite
2024-04-26 19:44:01 +08:00
James Gatz
c4dd36c25a
fix(sidebar): improve default size and reset default order (#7309)
* reset default order

* set sidebar default size to be smaller

* remove unessesary default size

* add default size and decrease minSize
2024-04-24 15:31:21 +02:00
Filipe Freire
76fa67e709
chore: update changelog for 9.0.0 (#7310)
* chore: update changelog for 9.0.0

* fix

* fix
2024-04-24 14:06:48 +01:00
James Gatz
c9697e0c11 Merge branch 'release/9.0.0' into develop 2024-04-24 10:26:24 +00:00
James Gatz
f1a26dd5f2 Bump app version to 9.0.0 2024-04-24 10:07:39 +00:00
Hexxa
8e00a2e27e
fix: persist script's changes on environment and baseEnvironment (#7306)
* fix: persist script's changes on environment and baseEnvironment

* fix: avoid persisting effect when no environment is activated

* fix: comparing mutated env with baseEnvironment

* Update packages/insomnia/src/ui/routes/request.tsx

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2024-04-24 12:04:37 +02:00
Jack Kavanagh
719e3ca692
fix empty state (#7302) 2024-04-24 11:40:22 +02:00
Insomnia
dde3fc2c0b
Bump app version to 9.0.0-beta.5 (#7304)
Co-authored-by: James Gatz <jamesgatzos@gmail.com>
2024-04-24 11:21:07 +02:00
James Gatz
6a695330f1
cache org responses (#7303) 2024-04-23 18:25:13 +02:00
Jack Kavanagh
a12f4383b0
fix timeline watcher (#7301)
* check file exists before watching it

* clean up listeners
2024-04-23 12:30:54 +02:00
James Gatz
d61167cf45
feat(event-log): Improve UX of the event log for WS and SSE responses (#7300)
* change to tailwind and rac

* change selection on navigation

* resizable panel for the event view

* cleanup styled components

* fix preview mode
2024-04-23 12:20:19 +02:00
Jack Kavanagh
db00cdeb88
use subdomain in code gen (#7295) 2024-04-23 12:19:20 +02:00
Hexxa
7cfead4452
fix: minor fixes such as multiple registing and gql request body modification (#7299) 2024-04-23 12:18:56 +02:00
James Gatz
b89212d956
Make workspace names truncate after 2 lines (#7294) 2024-04-23 07:55:17 +02:00
Jack Kavanagh
d1a874fb47
update mock url [skip ci] (#7293) 2024-04-22 17:38:19 +02:00
Jack Kavanagh
c2733a5d38
provide users a subdomain based mock url (#7262)
* provide users a subdomain based mock url

* fix test name

* rename tabs

* fix lint

* feedback

* get mimetype safely
2024-04-22 14:14:33 +02:00
James Gatz
6a6ff20c9f
fix overflow of org navbar (#7291) 2024-04-22 09:33:47 +00:00
Hexxa
ba610daca3
fix: insomnia.environment.name is missing (#7289) 2024-04-22 16:57:36 +08:00