Commit Graph

5481 Commits

Author SHA1 Message Date
jackkav
f8a8bfa2a0 workflow 2025-04-15 12:33:22 +02:00
jackkav
b2b28274f6 remove trace upload 2025-04-15 12:13:07 +02:00
jackkav
2d2be90b13 remove git sync test 2025-04-15 12:07:38 +02:00
James Gatz
341013b35a Extend the matching logic to check for the spec name alongside the fileName and id (#8609) 2025-04-15 10:11:00 +02:00
Jack Kavanagh
7417aa7d60 use yaml 2 for finding line positions (#8607) 2025-04-14 12:10:58 +02:00
Jack Kavanagh
b30978e33b Full-prettier-run (#8605)
* prettier

* remove markdown linting
2025-04-11 13:37:19 +02:00
Jack Kavanagh
ed001e0c98 Prettier pass 3 (#8586)
* first pass

* use mjs

* 120

* single quote

* consistent quotes

* fix on save

* ancestors

* add recommended

* make vscode integration work

* remove prettier runtime dep

* use esm
2025-04-11 13:11:34 +02:00
Jack Kavanagh
7ce03af046 bump electron-build and add fuse (#8602)
* bump electron-build and add fuse

* ts

* fix ts issue

* js

* re-enable notarize

* update notarize step

* fix jsdoc
2025-04-11 13:10:42 +02:00
Pavlos Koutoglou
cf12a21713 feat: Modify the empty view for projects [INS-5248] (#8577)
* fix: Remove unnecessary 'scro' class from TabList components

* fix: Remove custom repository settings modal and GitHub repository selection components

* fix: Remove EmptyStatePane component and its related buttons

* feat: Add custom repository settings form and GitHub repository selection components

* fix: Remove unnecessary 'scro' class from TabList components in Git repository modals

* feat: Refactor CustomRepositorySettingsForm to use react-aria-components for improved accessibility

* feat: Enhance GitHub repository selection component with improved loading state and accessibility features

* style: Update GitHub repository settings form for improved layout and accessibility

* feat: Add NoProjectView and EmptyProjectView components for improved project onboarding experience

* feat: Add ProjectEmptyView component for enhanced project initiation options

* Create project settings form

* feat: Add NoProjectView component to guide users in creating new projects

* Replace project settings view content

* feat: Integrate NoProjectView and ProjectEmptyView for enhanced project state handling

* feat: Add support for creating requests with query parameter handling in workspace action

* refactor: Improve styling and structure of custom repository settings form fields

* refactor: Update GitLab repository settings form to use TextField for improved accessibility and styling

* refactor: Enhance placeholder styling in custom repository settings form for improved readability

* refactor: Add smaller placeholder text size for GitLab repository settings form for improved readability

* refactor: Update import button selector to use role for improved accessibility

* refactor: Add aria-labels to buttons in ProjectEmptyView for improved accessibility

* refactor: Remove opacity from container in NoProjectView and ProjectEmptyView for improved visibility

* refactor: Improve loading state styling in ProjectSettingsForm for better user experience

* refactor: Add source_origin parameter to login URL for desktop app

* refactor: Simplify ProjectData type definition and enhance storage type switch UI

* refactor: Update empty project message for improved user guidance in dashboard interactions

* refactor: Add onSuccessUpdate callback to ProjectSettingsForm for improved project update handling

* refactor: Remove unused fetcher and integrate onSuccessUpdate callback in ProjectModal for improved modal handling

* refactor: Update button labels in dashboard interactions for improved clarity

* refactor: Add aria-label and data-testid to tab close button for improved accessibility and testing

* refactor: Update button names in analytics tests for improved clarity and accuracy

* refactor: Add click action for workspace debug button in analytics tests for improved test coverage

* refactor: Update button label from 'New Document' to 'Create document' for improved clarity

* refactor: Enable git interactions test and improve test structure for better clarity

* refactor: Update test to create a new global environment with improved button interactions

* refactor: Update button labels and improve test assertions for clarity in multiple-tab feature tests

* refactor: Add button click actions for creating documents and environments in vault tests

* refactor: Update confirm button selector for inviting users in app test

* refactor: Update button label from 'New Document' to 'Create document' in OpenAPI test

* refactor: Update button label from 'New Collection' to 'Create request collection' in request pane tests

* refactor: Update import statements to use type imports for better clarity in project modal

* refactor: Change import statement to use type import for ORG_STORAGE_RULE in no-project-view component

* refactor: Add useEffect to update project data based on storageRule in project settings form

* refactor: Add projectData to useEffect dependencies in project settings form

* refactor: Replace projectData.storageType with separate storageType state in project settings form

* refactor: Include storageType in projectData submission in project settings form

* refactor: Update import for storage rules and adjust usage in ProjectModal

* refactor: Update NoProjectView to use StorageRules type and adjust ProjectSettingsForm prop

* refactor: Update ProjectSettingsForm to use StorageRules type and adjust storage type logic

* refactor: Update NoProjectView to use storageRules prop instead of storage

* refactor: Consolidate React imports in NoProjectView component
2025-04-11 13:07:04 +02:00
Pavlos Koutoglou
5156631b81 feat: Add disabling logic to mandate storage option by the API [INS-5159] (#8548)
* Modify types and create new default values for storage rules

* Refactor project storage type handling to use StorageRules and add a function for storage type labels

* Refactor ProjectDropdown to use StorageRules and update project storage type handling

* Refactor NewWorkspaceModal to use StorageRules for storage handling

* Refactor ProjectModal to use StorageRules for storage type handling and update related logic

* Refactor WorkspaceSettingsModal to use StorageRules for organization storage handling

* Refactor ProjectRoute to use StorageRules for storage handling and update related logic

* Refactor import route to utilize organization storage rules and improve cloud sync logic

* Refactor sync logic in import route to utilize storage rules for cloud synchronization

* Refactor ProjectModal and ProjectRoute to improve storage type messaging clarity

* Refactor getDefaultProjectStorageType to enhance storage type determination logic and add isSwitchingStorageType function

* Refactor fetchAndCacheOrganizationStorageRule to simplify default parameter assignment

* Refactor storageRule to include cloud sync, Git sync, and local vault options

* Refactor ProjectModal to update project data based on storage rules

* Refactor ProjectModal to manage storage type state directly and improve data handling

* Refactor dashboard interactions tests to use first() for project row selection and improve project modal submission logic

* Fix inconsistency check for Git projects in ProjectDropdown component
2025-04-10 21:31:46 +02:00
Jack Kavanagh
c8c2fcc8a3 renamed sdk to scripting-environment (#8604)
* renamed sdk to scripting-environment

* lock file
2025-04-10 17:03:10 +02:00
Jack Kavanagh
2f00986328 fix inso script not reading config (#8600)
* fix script

* optional chain
2025-04-10 16:15:33 +02:00
George He
54e92c7c52 fix(test): uuid rendering test is flaky (#8569) 2025-04-10 10:28:47 +08:00
Curry Yang
76b8cbe517 chore: simplify scripts in package.json (#8598)
* chore: remove unuse scripts in package.json

* chore: delete build:app and use build instead
2025-04-09 14:16:44 +02:00
Jay Wu
ac1655f1f7 Merge branch 'release/11.1.0-beta.1' into develop 2025-04-09 07:19:17 +00:00
Jay Wu
46263a559a Bump app version to 11.1.0-beta.1 core@11.1.0-beta.1 2025-04-09 06:28:31 +00:00
Jack Kavanagh
4084bcded9 More-eslint-fixes (#8593)
* forced type import

* add linting to sdk

* insomnia testing
2025-04-08 17:28:59 +02:00
James Gatz
a312ddfbd8 Merge branch 'release/11.1.0-beta.0' into develop 2025-04-08 11:16:18 +00:00
Jay Wu
dbd7623e17 Bump app version to 11.1.0-beta.0 core@11.1.0-beta.0 2025-04-08 10:04:57 +00:00
James Gatz
376abb68f0 Check if the repo is not initialized (#8588) 2025-04-07 11:53:31 +00:00
James Gatz
f3f3661134 fix body params with fileName should not require a value (#8587) 2025-04-07 11:22:49 +00:00
Jack Kavanagh
b429feb2f2 Eslint-v9 (#8578)
* autofix recommended

* first pass

* autofix

* fixed lint errors

* pin ts
2025-04-03 16:15:03 +00:00
Jack Kavanagh
ddb57dbcac Fix/more-lint-rules (#8572)
* wraapper types

* enable unsafe function rule

* autofix recommended

* enable latest eslint recommended

* fix lint errors

* switch cases

* fix linting issues

* more lint fixes outside insomnia package

* fix test
2025-04-03 15:00:50 +00:00
Jay Wu
8ddd331979 Merge branch 'release/11.0.2' into develop 2025-04-03 09:55:45 +00:00
Jay Wu
ba27b3206d Bump app version to 11.0.2 core@11.0.2 2025-04-03 09:29:25 +00:00
Jack Kavanagh
ed81844130 eslint: remove unused disabled rules (#8571)
* remove unused disabled rules

* bump plugins

* bump tslint and ignore new rules

* fix exception

* remove unused plugins

* remove config helpers

* remove unused dep
2025-04-02 16:18:21 +02:00
jackkav
30d0b9ff29 re-enable plugin opt-in setting 2025-04-01 17:21:08 +02:00
Jack Kavanagh
32734f3d5e show how to run send request from worker (#8473)
* show how to run send request from worker

* add test

* add store api

* fix prompt
2025-04-01 17:19:15 +02:00
Jay Wu
114c9501a9 Merge branch 'release/11.0.2-beta.1' into develop 2025-04-01 12:00:55 +00:00
Jay Wu
33f1af36b1 Bump app version to 11.0.2-beta.1 core@11.0.2-beta.1 2025-04-01 10:55:00 +00:00
Balu George
4e45c7b505 Trigger docker/login-action only on linux runners (#8564) 2025-04-01 16:21:10 +05:30
George He
4bb6c92ef9 fix(sdk): handle query params separately to avoid unexpected encoding or missing (#8531)
* fix(sdk): handle query params separately to avoid unexpected encoding or missing

* fix: lint issue

* fix: smoke test
2025-04-01 10:16:51 +00:00
Balu George
bc64e15a05 Add Docker Hub login to avoid build failures due to image pull rate limit (#8561) 2025-04-01 15:20:22 +05:30
Jack Kavanagh
3a6eecb2c0 lint unused else (#8556) 2025-04-01 10:43:07 +02:00
Kent Wang
d69d08eb75 export globals in run via cli 2025-04-01 07:31:30 +00:00
George He
14359e7ca4 chore(runner): remove unused runner options (#8550) 2025-04-01 03:16:09 +00:00
Curry Yang
ad53dc9b2f fix: can not drag file to import (#8549) 2025-04-01 02:56:40 +00:00
Ryan Willis
ccaf5e690d Merge branch 'release/11.0.2-beta.0' into develop 2025-03-31 18:35:50 +00:00
Ryan Willis
7a8a118b7e Bump app version to 11.0.2-beta.0 core@11.0.2-beta.0 2025-03-31 17:30:20 +00:00
Ryan Willis
8453c42ec6 fix: secure wrapper when paths contain utf-16 characters (#8539)
* fix wrapper

* doc: add notes and build instructions for the wrapper

* wrap application name when calling CreateProcessW

* make executable squirrel-aware

* quote paths if they contain a space

* fix quoted shortcuts

* Update packages/insomnia/src/cpp/README.md

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-03-31 19:07:50 +02:00
James Gatz
c18c4cfe09 feat(OAS Lint): use .spectral.yaml file for linting specs in git projects (#8553)
* use project repository id for identifying the spectral ruleset file

* import sort
2025-03-31 18:16:31 +02:00
James Gatz
8d898da1d9 make sure we remove items when updating a file in the db (#8551) 2025-03-31 13:20:15 +02:00
Kent Wang
47ab1cf5ca Fix the flaky case for environment editor (#8520) 2025-03-28 02:14:54 +00:00
Jay Wu
33af7d1941 Merge branch 'release/11.0.1' into develop 2025-03-27 11:22:55 +00:00
Jay Wu
0f94d6f170 Bump app version to 11.0.1 core@11.0.1 2025-03-27 10:13:24 +00:00
James Gatz
253b0b6ddb update error messages for git push and commit action (#8532) 2025-03-27 17:55:07 +08:00
Jay Wu
3c6c644601 Merge branch 'release/11.0.1-beta.1' into develop 2025-03-26 03:27:18 +00:00
Jay Wu
ae2ee462f5 Bump app version to 11.0.1-beta.1 core@11.0.1-beta.1 2025-03-26 02:43:22 +00:00
yaoweiprc
b233b4a879 Sync new workspace to cloud after importing it [INS-4999] (#8389)
* tmp

* sync the new workspace to cloud after importing it

* take org storage rule into consideration before auto push

* fix security issue

* move syncNewWorkspaceIfNeeded func to import.tsx to solve dependency issue
2025-03-26 01:34:42 +00:00
James Gatz
00d7dc69bf feat(Git Sync): UX improvements (#8524)
* fix loading state in commit and commit and push buttons

* use yaml when parsing open api specs in the app

* improve error message for pushing to a remote with extra commits

* improve buttons ux on repo settings modal

* check for response.errors

* fix error issue
2025-03-25 16:24:17 +00:00