[PR #256] [MERGED] Folder-level environments #182

Closed
opened 2025-12-29 07:19:42 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/256
Author: @gschier
Created: 9/18/2025
Status: Merged
Merged: 9/21/2025
Merged by: @gschier

Base: mainHead: folder-environments


📝 Commits (10+)

  • e5ebaa3 Update environment model to get ready for request/folder environments
  • bca6736 Folder environments in UI
  • 5c8675b Folder environments working
  • 976ca0a Tweaks and fixes
  • d4c5fc7 Tweak environment encryption UX
  • 4b6689f Tweak environment encryption UX
  • 37fa250 Address comments
  • 4a0f5a2 Update fn name
  • 64632da Update src-web/components/EnvironmentEditor.tsx
  • 97dcd45 Add tsc back to lint rules

📊 Changes

85 files changed (+776 additions, -534 deletions)

View changed files

📝 plugins/action-copy-curl/package.json (+1 -1)
📝 plugins/action-copy-grpcurl/package.json (+1 -1)
📝 plugins/auth-apikey/package.json (+1 -1)
📝 plugins/auth-basic/package.json (+1 -1)
📝 plugins/auth-bearer/package.json (+1 -1)
📝 plugins/auth-jwt/package.json (+1 -1)
📝 plugins/auth-oauth2/package.json (+1 -1)
📝 plugins/filter-jsonpath/package.json (+1 -1)
📝 plugins/filter-xpath/package.json (+1 -1)
📝 plugins/importer-curl/package.json (+1 -1)
📝 plugins/importer-insomnia/package.json (+1 -1)
📝 plugins/importer-openapi/package.json (+1 -1)
📝 plugins/importer-postman/package.json (+1 -1)
📝 plugins/importer-yaak/package.json (+1 -1)
📝 plugins/template-function-cookie/package.json (+1 -1)
📝 plugins/template-function-encode/package.json (+1 -1)
📝 plugins/template-function-fs/package.json (+1 -1)
📝 plugins/template-function-hash/package.json (+1 -1)
📝 plugins/template-function-json/package.json (+1 -1)
📝 plugins/template-function-prompt/package.json (+1 -1)

...and 65 more files

📄 Description

https://feedback.yaak.app/p/folders-remember-env-group

This PR introduces the concept of folder-level environment overrides, meaning you'll be able to define variables on the folder level to override the default environment.

This would allow something like the following:

  • Define USER_ID_A and USER_ID_B in workspace environment
  • Set USER_ID variable to USER_ID_A in folder A
  • Set USER_ID variable to USER_ID_B in folder B
CleanShot 2025-09-21 at 07 34 04@2x

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/256 **Author:** [@gschier](https://github.com/gschier) **Created:** 9/18/2025 **Status:** ✅ Merged **Merged:** 9/21/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `folder-environments` --- ### 📝 Commits (10+) - [`e5ebaa3`](https://github.com/mountain-loop/yaak/commit/e5ebaa359eaac2e98ff2917c47642bcaa6413548) Update environment model to get ready for request/folder environments - [`bca6736`](https://github.com/mountain-loop/yaak/commit/bca6736138b41bc313e127689f2e8448aed724e8) Folder environments in UI - [`5c8675b`](https://github.com/mountain-loop/yaak/commit/5c8675bc4d2c049856e8158289728edb2d3d34e2) Folder environments working - [`976ca0a`](https://github.com/mountain-loop/yaak/commit/976ca0a89b7cb23d269dd5736e10b7b46ffb09b0) Tweaks and fixes - [`d4c5fc7`](https://github.com/mountain-loop/yaak/commit/d4c5fc709b7ef194be1de9c26aaad26c444b5682) Tweak environment encryption UX - [`4b6689f`](https://github.com/mountain-loop/yaak/commit/4b6689f44b4cfbb97cddd06e18029b86bcd431f3) Tweak environment encryption UX - [`37fa250`](https://github.com/mountain-loop/yaak/commit/37fa2503cc084be0ae1856b1aa2930ceb292a50d) Address comments - [`4a0f5a2`](https://github.com/mountain-loop/yaak/commit/4a0f5a2cb758368e71c6d2c5902c35ca4c3c451a) Update fn name - [`64632da`](https://github.com/mountain-loop/yaak/commit/64632dabb18574283ac7b2274a121ff5afbe61d4) Update src-web/components/EnvironmentEditor.tsx - [`97dcd45`](https://github.com/mountain-loop/yaak/commit/97dcd4599b9c0ef484c6dc34a5122573879097bc) Add tsc back to lint rules ### 📊 Changes **85 files changed** (+776 additions, -534 deletions) <details> <summary>View changed files</summary> 📝 `plugins/action-copy-curl/package.json` (+1 -1) 📝 `plugins/action-copy-grpcurl/package.json` (+1 -1) 📝 `plugins/auth-apikey/package.json` (+1 -1) 📝 `plugins/auth-basic/package.json` (+1 -1) 📝 `plugins/auth-bearer/package.json` (+1 -1) 📝 `plugins/auth-jwt/package.json` (+1 -1) 📝 `plugins/auth-oauth2/package.json` (+1 -1) 📝 `plugins/filter-jsonpath/package.json` (+1 -1) 📝 `plugins/filter-xpath/package.json` (+1 -1) 📝 `plugins/importer-curl/package.json` (+1 -1) 📝 `plugins/importer-insomnia/package.json` (+1 -1) 📝 `plugins/importer-openapi/package.json` (+1 -1) 📝 `plugins/importer-postman/package.json` (+1 -1) 📝 `plugins/importer-yaak/package.json` (+1 -1) 📝 `plugins/template-function-cookie/package.json` (+1 -1) 📝 `plugins/template-function-encode/package.json` (+1 -1) 📝 `plugins/template-function-fs/package.json` (+1 -1) 📝 `plugins/template-function-hash/package.json` (+1 -1) 📝 `plugins/template-function-json/package.json` (+1 -1) 📝 `plugins/template-function-prompt/package.json` (+1 -1) _...and 65 more files_ </details> ### 📄 Description https://feedback.yaak.app/p/folders-remember-env-group This PR introduces the concept of folder-level environment overrides, meaning you'll be able to define variables on the folder level to override the default environment. This would allow something like the following: - Define `USER_ID_A` and `USER_ID_B` in workspace environment - Set `USER_ID` variable to `USER_ID_A` in folder A - Set `USER_ID` variable to `USER_ID_B` in folder B <img width="2038" height="1356" alt="CleanShot 2025-09-21 at 07 34 04@2x" src="https://github.com/user-attachments/assets/b5168216-bc0d-4d26-9481-4363cc4318e0" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:19:42 +01:00
adam closed this issue 2025-12-29 07:19:42 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#182