Commit Graph

4627 Commits

Author SHA1 Message Date
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
alongdate
78d054b6e1
chore: fix some typos in comments (#7283)
Signed-off-by: alongdate <alongyear@outlook.com>
2024-04-19 12:24:01 +02:00
Hexxa
03c74532c0
feat(hidden-win): try to simulate the existing behavior of handling async tasks (#7281) 2024-04-19 12:23:33 +02:00
jackkav
e3b62cbfd5 oops 2024-04-19 12:19:58 +02:00
Curry Yang
77b28742c8
fix: prevent app restart when editor setting change [INS-3668] (#7268)
* fix: prevent app restart when settings change

* fix: del will restart tip

* fix: lint

* Update packages/insomnia/src/ui/components/settings/general.tsx

* Update packages/insomnia/src/ui/components/settings/general.tsx

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2024-04-19 12:14:12 +02:00
Moritz
3f38ad783a
Add proxy support to authorizeUserInWindow (#7077) 2024-04-19 10:05:48 +00:00
James Gatz
e9a4fd68c5
feat(empty-organization): All projects can now be deleted (#7278)
* add empty organization view and handle no active project in the code

* Update packages/insomnia/src/ui/components/settings/import-export.tsx

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

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2024-04-19 11:54:41 +02:00
Henrique Vitoi
fb38d9884d
fix: wildcard pattern matching (#7265) 2024-04-19 11:51:20 +02:00
Hexxa
dac3401c80
fix: some minor fixes for the pre-request scripting (#7284)
* fix: insomnia.request.name is missing

* feat: enable console.log

* fix: insomnia.info is missing

* fix: lint error
2024-04-19 11:48:05 +02:00
Jack Kavanagh
7062f07f7d
manual changelog and release notes docs (#7282)
* chill vibes lofi

* discard changelog job

* magic generation

* prompt
2024-04-19 10:50:44 +02:00
Jack Kavanagh
883f907ac0
Fix/mock-feedback-4 (#7277)
* ignore .node files

* add header count

* add status bar

* copy in full url

* placeholder and language

* validate url

* validate path

* fix possible dupe route bug

* clean up language

* layout

* fix submit

* error messages

* fix test
2024-04-18 08:48:36 +00:00
Filipe Freire
8289377d11 Merge branch 'release/9.0.0-beta.4' into develop 2024-04-17 16:41:05 +00:00
Filipe Freire
040ed4e800 Bump app version to 9.0.0-beta.4 2024-04-17 16:02:22 +00:00
James Gatz
94737e0fb7
feat(sidebar): add toggle button to expand/collapse the organizations sidebar (#7275)
* add toggle button to expand/collapse the org sidebar

* cleanup testid
2024-04-17 17:35:28 +02:00
James Gatz
2ed4069e7d
feat(resizable-sidebar): replace custom sidebar with resizable-panels (#7274)
* replace custom sidebar with resizable-panels

* set direction when reading the media query for the first time

* handle toggle-sidebar command and keyboard shortcut

* Remove unused constants and refactor keyboard shortcuts hook

* 1200 to 880

* fix env e2e test
2024-04-17 15:51:38 +02:00
Hexxa
1505cbd900
feat(pre-req-script-editor): translate handlers in pasting script - INS-3721 (#7270)
* feat(pre-req-script-editor: translate handlers in pasting script

* fix: lint error

* chore: remove the menu item for migration
2024-04-17 14:16:34 +02:00
Curry Yang
e62a7eba3e
feat: add dismiss for path param tip (#7271) 2024-04-16 08:32:56 +00:00
Curry Yang
947e1c5cf0
fix: onboarding page ui (#7269) 2024-04-16 10:22:10 +02:00
Hexxa
6c63b0d8d3
feat: enable external modules in pre-request script (#7257) 2024-04-15 10:14:00 +02:00
Curry Yang
259a5023e7
feat: add fallback for searching a proper client certificate for a host [INS-3680] (#7259)
* feat: add fallback for searching a proper client certificate for a host

* chore: add test case

* chore: add more test case

---------

Co-authored-by: Hexxa <hexxa@outlook.com>
2024-04-15 10:47:26 +08:00
Hexxa
2d9e2da52e
chore(pre-req script): move all sdk files to sdk workspace - INS-3379 (#7255)
* feat: move script sdk to one workspace and update importing paths

* test: add jest config for enabling tests

* fix: failed to build package because of missing .node loader
2024-04-12 22:24:14 +08:00
Jack Kavanagh
a15e649602
bump node and electron versions (#7203)
* bump versions

* node 20.9

* remove node-externals and use plugin workaround for ms pkgs

* external send-request

* bump electron latest
2024-04-11 12:49:58 +00:00
Curry Yang
75988fc29b
fix: focus editor by shortcut (#7261) 2024-04-11 14:22:25 +02:00
Hexxa
c9200550af
fix: some UI improvements of the pre-request script tab - INS-3711 (#7258)
* feat: add tick to enabled pre-request tab and remove beta

* fix: reorg and add snippets

* chore: format

* fix: replace ticks with green dots

* chore: algin texts and icons to the vertically middle
2024-04-11 07:24:59 +00:00
Adam Royle
0a2187fbc8
Fix parsing urlencoded pairs with empty values. (#6980) 2024-04-11 09:01:14 +02:00
Jack Kavanagh
c562d1594b
mock UX feedback (#7252)
* change text content

* extract mock server settings modal

* get current plan

* pass server url

* align add and update styling

* upsell on update modal

* fix type check

* fix placeholder

* fix mockbin url
2024-04-10 22:50:27 +09:00
Hexxa
36ecfc59cb
fix(pre-request script): avoid encoding tags in parsing request urls - INS-3379 (#7249)
* fix(pre-request script): avoid encoding tags in parsing request urls

* fix: refactor requestBody transforming as functions with tests

* fix: lint error

* fix: revert url decoding

* fix: query params are duplicated after script execution

* fix: query params are duplicated after script execution

* fix: pathParameters property is empty in pre-request script
2024-04-10 09:39:29 +02:00
Curry Yang
75c6a94ae9
feat: Show proper error when environment variables are not valued [INS-3641] (#7227)
* feat: Show proper error when environment variables are not valued

* fix: modify text

* feat: modify param name

* fix: del useless code

* update common modal

* fix: variable missing error message style

* fix: cut the begining off the text before parsing out the missing variable

* fix: del useless code

* fix: change test name

* feat: rename to VariableMissingErrorModal
2024-04-10 02:20:52 +00:00
Hexxa
7f767a8341
feat: translate pm object handler into insomnia object instead of supporting alias - INS-3702 (#7253)
* feat: translate pm object handler into insomnia object instead of supporting alias

* chore: remove comment

* simplify implementation

---------

Co-authored-by: jackkav <jackkav@gmail.com>
2024-04-09 13:13:51 +00:00
Hexxa
aaf76f755e
fix: some minor fixes for pre-request script sdk - INS-3379 (#7225)
* fix: try to make sendRequest compatible with the existing behavior by adding await

* fix: add _index for making method behavior (such as upsert) consistent with existing ones
2024-04-09 13:00:09 +00:00
Daniel Wallace
836570604a
Request URL bar fix and collection name truncation improvement (#7222)
* Issue #7221: Pressing enter/return while text is selected in the request URL bar causes the selected text to be deleted
- Fixed 'paste' handling code which was causing text replacement logic to run when text had merely been selected but not actually changed

Issue #7029: Unable to see full collection names
- Added title (hover tooltip) for name label on collection card

* add title to workspace dropdown

* Update packages/insomnia/src/ui/components/codemirror/one-line-editor.tsx

---------

Co-authored-by: Filipe Freire <filipe.freire@konghq.com>
Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2024-04-08 14:52:10 +01:00
Curry Yang
26a78cf219
fix: vscode debug config (#7231) 2024-04-08 09:17:51 +02:00
Jack Kavanagh
366e59ad45
bump (#7247) 2024-04-05 19:39:06 +02:00
Jack Kavanagh
ccc342c34b
bump electron-builder (#7246) 2024-04-05 19:27:38 +02:00
Jack Kavanagh
6d5902711e
more major bumps (#7244)
* major bumps

* fix prettier api change

* remove prettier

* refresh lock
2024-04-05 18:46:06 +02:00
Jack Kavanagh
63ab3857cb
bump vite and esbuild (#7245) 2024-04-05 18:11:20 +02:00
Jack Kavanagh
4c82c8ce75
minor bumps (#7243) 2024-04-05 17:42:41 +02:00
Jack Kavanagh
13fddd3822
bump oidc (#7242) 2024-04-05 17:22:10 +02:00