Skip to content

feat(sdk): enable folder env interfaces for manipulation in script#8348

Merged
ihexxa merged 4 commits into
developfrom
feat/script/folder-env
Feb 17, 2025
Merged

feat(sdk): enable folder env interfaces for manipulation in script#8348
ihexxa merged 4 commits into
developfrom
feat/script/folder-env

Conversation

@ihexxa

@ihexxa ihexxa commented Feb 10, 2025

Copy link
Copy Markdown
Contributor

Changes

  • Supported manipulation of folder-level environment from scripts
  • Added snippet menu items for folder-level envs
  • Added smoke tests

INS-4969
INS-4977
#7736

@ihexxa ihexxa self-assigned this Feb 10, 2025
@cwangsmv

Copy link
Copy Markdown
Contributor

We may add some snippets in script editor for folder environment manipulation.
Current auto completion for folder scripts is not very helpful.
Screenshot 2025-02-11 at 10 50 00

Comment thread packages/insomnia-sdk/src/objects/folders.ts Outdated
cwangsmv
cwangsmv previously approved these changes Feb 13, 2025

@cwangsmv cwangsmv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ihexxa ihexxa force-pushed the feat/script/folder-env branch from 2cc7dea to 3e124d9 Compare February 17, 2025 02:28
@CurryYangxx

Copy link
Copy Markdown
Member

We may consider providing users with an action to get the folder id.

@ihexxa ihexxa merged commit 3e9ead3 into develop Feb 17, 2025
@ihexxa ihexxa deleted the feat/script/folder-env branch February 17, 2025 06:20
@ihexxa

ihexxa commented Feb 17, 2025

Copy link
Copy Markdown
Contributor Author

@CurryYangxx Let me also create a subtask for it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants