Commit Graph

3100 Commits

Author SHA1 Message Date
Jack Kavanagh
e2b466a0cd
Vitest-2 app package (#7757)
* vitest insomnia-inso

* remove skipped logs

* vitest insomnia config

* remove jest

* mocks?

* remove globalBeforeEach smell

* 110 left

* 38 failing

* 34

* 30

* 26

* 3 to go

* fix tests

* fix type checks

* delete send-request

* fix lint

* test runner hack for now

* remove duplicate snapshots

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-07-26 16:56:56 +02:00
Curry Yang
e3ad3c5fea
chore: add sentry metric [INS-4115] (#7727)
* chore: add landing duration metric

* chore: main process landing duration

* chore: project&organization switch duration

* chore: add cloud sync metrics

* feat: add workspace landing metric
2024-07-26 14:54:59 +00:00
James Gatz
6ce0fb243b Bump app version to 9.3.3-beta.3 2024-07-26 12:39:51 +00:00
James Gatz
f411eb7f21
feat(Response Pane): improve tabs styles (#7765)
* update tabs styling for response panes

* Rename Timeline to Console in e2e tests

* timeline -> console in mock panes

* update e2e
2024-07-26 14:35:26 +02:00
James Gatz
41bbb70da6
navigate to the project if the workspace has been deleted (#7764) 2024-07-26 09:45:10 +00:00
Curry Yang
ec48392081
fix: can't match project when last visit page is dashboard (#7762)
* fix: can't match project when last visit page is dashboard

* fix: typo
2024-07-26 16:48:43 +08:00
James Gatz
1cf0901895
update header styles for analytics (#7759) 2024-07-25 18:03:38 +00:00
James Gatz
785134421a
clean up unnecessary sentry stack (#7758) 2024-07-25 15:51:18 +00:00
James Gatz
225b2665f0
feat(History): Navigate to last opened workspace on app load (#7755) 2024-07-25 17:39:49 +02:00
Jack Kavanagh
ecba036fe3
vitest (#7754)
* vitest
- testing package

* remove jest and tidy

* sdk tests pass

* remove tsconfig

* vitest insomnia-inso

* snapshots

* clean up

* remove skipped logs

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-07-25 13:37:15 +01:00
Filipe Freire
0d91f0a7eb
chore: git sync pull push test [INS-4132] (#7720)
* chore: git sync pull push test [INS-4132]

* Update packages/insomnia-smoke-test/playwright.config.ts

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

* local dx

---------

Co-authored-by: Jack Kavanagh <jackkav@gmail.com>
2024-07-25 11:47:44 +01:00
Hexxa
7a235c9ba7
fix: lost <disabled> in header transforming and blank req body (#7738) 2024-07-25 16:25:28 +08:00
Curry Yang
8472c28ec0
fix: reduce uncessary navigate when switching requests and tests (#7748)
* fix: reduce uncessary navigate

* fix: smoke test

* remove onSingleClick function

* remove extra test comments

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-07-24 21:51:48 +08:00
Karthik Kumar
c1cd04f4dc
fixes incorrect scrollbar display issue (#7742)
* fixes incorrect scrollbar override issue

Here the CSS for scrollbar-width is overriding the CSS which is defined in the main.css file (--scrollbar-width: calc(var(--font-size) * 0.6);) due to which the scrollbars are incorrectly loaded in the application

* keep the scrollbars thin for macos

---------

Co-authored-by: gatzjames <jamesgatzos@gmail.com>
2024-07-22 16:30:19 +02:00
James Gatz
f87384f554
clean up auto-scroll and add selected styles (#7747) 2024-07-22 15:56:25 +02:00
Jack Kavanagh
4a9af5b161
handle null auth (#7746) 2024-07-22 11:14:31 +02:00
gatzjames
d5de7f13e9 disable flaky test due to some modal staying open 2024-07-19 12:06:35 +02:00
gatzjames
4986431ea9 clean up local git case 2024-07-19 11:41:49 +02:00
gatzjames
9833b7ee42 update design test 2024-07-18 22:04:58 +02:00
gatzjames
4e774630db fix local to cloud test 2024-07-18 19:25:07 +02:00
gatzjames
7d4b026018 fix environment selection in migration spec 2024-07-18 19:00:57 +02:00
James Gatz
962ef9b659 Bump app version to 9.3.3-beta.2 2024-07-18 14:32:53 +00:00
James Gatz
cf59ba75af
fix redirect using incorrect organizationId (#7740) 2024-07-18 16:25:49 +02:00
James Gatz
5caf80b299
feat(Sidebar): interactions improvements (#7722)
* Turn request/request-group actions dropdowns to controlled components

* Editable input to controlled component

* editable input styles

* clean up actions from pinned request list

* update e2e tests

* update e2e
2024-07-18 16:25:28 +02:00
Curry Yang
d306ebc2df
fix: syncing status indicator ui (#7730) 2024-07-18 15:28:57 +02:00
James Gatz
7a5ec66641
feat(Generate Collection from Spec): add description to requests if it's available from the oas3 schema (#7734)
* add description to requests if it's available from the oas3 schema

* update snapshots
2024-07-18 15:28:38 +02:00
Jack Kavanagh
44642a49e9
remove send-request (#7731)
* remove send-request

* move types

* fix type-checks

* remove pointless const

* handle react in inso unit test

* remove
2024-07-18 15:06:28 +02:00
James Gatz
a144a836c0
fix key-value editor edit mode (#7739) 2024-07-18 15:06:05 +02:00
yaoweiprc
923f8f71f3
fix: cannot delete request by shortcut (#7325) (#7728) 2024-07-18 14:20:46 +08:00
Jack Kavanagh
b0b6c20654
feat: inso collection runner (#7700) 2024-07-17 16:23:36 +02:00
Curry Yang
f7a6436c07 Bump app version to 9.3.3-beta.1 2024-07-16 10:23:23 +00:00
Pavlos Koutoglou
f92d78a1ae
fix: Use SSE for storage control updates (#7661)
* chore: Add sync-storage-rule fetcher for StorageRuleChanged event

* chore: Update error message for restricted project creation

* chore: Add organization storage rule and sync storage rule routes

* chore: Add syncStorageRule function for syncing organization storage rule

* chore: Add sync-storage-rule fetcher for StorageRuleChanged event

* chore: Remove console.log statement in project route file

* chore: Cache organization storage rule in syncStorageRule function

* chore: Update project dropdown to show storage restriction message

* chore: Refactor organization storage loader to handle cached response with empty object

* chore: Update project route to handle create new project error

* chore: Removed promise all

* chore: Update organization storage loader to use in-memory cache for storage rules

* chore: Update project route to handle create new project error

* chore: Update organization storage loader to use organizationId as key in in-memory cache

* chore: Update organization storage loader to use organizationId as key in in-memory cache

* chore: Update project dropdown to show storage restriction message

* chore: Add validation for project type selection in ProjectDropdown component

* chore: Add validation for project type selection in ProjectDropdown component

* chore: Refactor project route to use OrgAndProjectData interface for last loaded org and project ID

* Refactor project route to use OrgAndProjectData interface for last loaded org and project ID

* Refactor project route to use OrgAndProjectData interface for last loaded org and project ID

* Refactor project route to use OrgAndProjectData interface for last loaded org and project ID

* Removed unused dependencies

* Change useEffect

* Refactor organization storage loader to return storagePromise instead of storage

* fix: del await in the loader

* chore: Add validation for project type selection in ProjectDropdown component

---------

Co-authored-by: Curry Yang <1019yanglu@gmail.com>
2024-07-16 10:15:19 +00:00
Filipe Freire
c026e51271
chore: bump electron 30.0 to 30.2 (#7714) 2024-07-16 09:12:17 +00:00
Hexxa
be2426ae82
fix: clean up sdk types (#7721) 2024-07-16 10:50:36 +02:00
Curry Yang
9d99080dde
feat: add async task indicator [INS-4106] (#7522)
* sync status indicator

* rename path
2024-07-16 10:37:29 +08:00
Curry Yang
46e2a796ce
perf: change org performance improvement [INS-3968] (#7582)
* perf: change org improvement

* add comments

* fix: can't see project after switch to a new organization

---------

Co-authored-by: Hexxa <hexxa@outlook.com>
2024-07-16 10:17:36 +08:00
Curry Yang
afb861b310
perf: return deferred data in permission loader (#7635) 2024-07-15 18:25:53 +08:00
Jack Kavanagh
570c1c0055
verbatim syntax (#7718) 2024-07-15 11:44:21 +02:00
Jack Kavanagh
e711bffda7
refactor: flatten and reduce tsconfigs (#7716)
* add

* use es2020

* improve verify

* minify jest conf

* organise tsconfig

* tweaks

* remove tsconfig.build.json

* add inso structure notes

* fix lint

* remove tsc step

* add notes
2024-07-15 11:31:12 +02:00
Curry Yang
a50757f6bf
fix: migrate loader redirect (#7426) 2024-07-12 14:00:13 +02:00
Filipe Freire
c9ba5ec237
feat: add test utils on scripting snippets [INS-4141] (#7692) 2024-07-12 13:59:36 +02:00
Filipe Freire
03637fc09b
chore: mv prerelease tests into smoke [INS-4132] (#7705) 2024-07-12 13:55:55 +02:00
Jack Kavanagh
3349fe56ea
Clean up outdate jest and tsconfigs (#7712)
* inso

* insomnia

* testing

* sdk

* remove base and eslint configs

* fix lock
2024-07-12 13:55:22 +02:00
Anuj Biyani
99351b9cba
show deprecation warnings on graphql arguments (#7364) 2024-07-12 11:35:13 +00:00
Brandon
2e3c2dbb69
Trim Bearer Authentication Strings (#7279)
* Test getBearerAuthHeader()

* Trim Bearer Authentication Strings

Addresses https://github.com/Kong/insomnia/issues/6020
2024-07-12 11:20:47 +00:00
James Gatz
6e432ad09e
feat(Request pane): Add indicators for body and auth in the request pane tabs (#7697)
* Add indicators for body and auth in the request pane tabs

* fix auth indicator
2024-07-12 10:56:13 +00:00
Jack Kavanagh
5a370a7174
conditional rendering (#7704) 2024-07-12 12:44:23 +02:00
Curry Yang
895d45f51e
fix: refresh storage rule when org change (#7707) 2024-07-12 06:46:47 +00:00
Curry Yang
ec337bcdb4
fix: ui improvement when return deferred data in loader (#7681)
* fix: ui improvement when switch project
2024-07-12 03:32:28 +00:00
Hexxa
9854b72e78
fix: typo in style name (#7701)
* fix: typo in style name

* fix: lint
2024-07-11 10:00:01 +00:00