mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-02 19:30:05 +01:00
Closed
opened 2025-12-29 07:19:05 +01:00 by adam
·
0 comments
No Branch/Tag Specified
main
pr-413
codex/cli-dev-plugin-dir-root
cli-improvements-2
mcp-client-plan
actions-system
omnara/premium-deviator
omnara/repose-aversion
copilot/create-beta-tag-for-main
yaak-cli-0.5.1
yaak-cli-0.5.0
v2026.3.0-beta.9
v2026.3.0-beta.8
v2026.3.0-beta.7
v2026.3.0-beta.6
yaak-cli-0.4.0
yaak-cli-0.4.0-beta.10
yaak-cli-0.4.0-beta.9
yaak-cli-0.4.0-beta.8
yaak-cli-0.4.0-beta.7
yaak-cli-0.4.0-beta.6
yaak-cli-0.4.0-beta.4
yaak-cli-0.4.0-beta.5
yaak-cli-0.4.0-beta.3
yaak-api-0.8.3
yaak-api-0.8.1
yaak-api-0.8.2
yaak-cli-0.4.0-beta.2
yaak-cli-0.4.0-beta.1
v2026.3.0-beta.5
v2026.2.4
v2026.3.0-beta.4
v2026.2.3
v2026.3.0-beta.3
v2026.2.2
v2026.3.0-beta.2
v2026.2.1
v2026.2.1-beta.1
v2026.2.0
v2026.2.0-beta.12
v2026.2.0-beta.11
v2026.2.0-beta.10
v2026.2.0-beta.9
v2026.2.0-beta.8
v2026.2.0-beta.7
v2026.2.0-beta.6
v2026.2.0-beta.5
v2026.2.0-beta.4
v2026.2.0-beta.3
v2026.2.0-beta.2
v2026.1.2
v2026.2.0-beta.1
v2026.1.1
v2026.1.0
v2025.10.0-beta.15
v2025.10.0-beta.14
v2025.10.0-beta.13
v2025.10.0-beta.12
v2025.10.0-beta.11
v2025.10.0-beta.10
v2025.10.0-beta.9
v2025.10.0-beta.8
v2025.10.0-beta.7
v2025.10.0-beta.6
v2025.10.0-beta.5
v2025.10.0-beta.4
v2025.10.0-beta.3
v2025.9.3
v2025.10.0-beta.2
v2025.10.0-beta.1
v2025.9.2
v2025.9.2-beta.2
v2025.9.2-beta.1
v2025.9.1
v2025.9.0
v2025.9.0-beta.10
v2025.9.0-beta.9
v2025.9.0-beta.8
v2025.9.0-beta.7
v2025.9.0-beta.6
v2025.9.0-beta.5
v2025.9.0-beta.4
v2025.9.0-beta.3
v2025.9.0-beta.2
v2025.8.2
v2025.9.0-beta.1
v2025.8.1
v2025.8.0
v2025.8.0-beta.1
v2025.7.3
v2025.7.2
v2025.7.1
v2025.7.0
v2025.7.0-beta.5
v2025.7.0-beta.4
v2025.7.0-beta.3
v2025.7.0-beta.2
v2025.7.0-beta.1
v2025.6.1
v2025.6.0
v2025.6.0-beta.10
v2025.6.0-beta.9
v2025.6.0-beta.8
v2025.6.0-beta.7
v2025.6.0-beta.6
v2025.6.0-beta.5
v2025.6.0-beta.4
v2025.6.0-beta.3
v2025.6.0-beta.2
v2025.6.0-beta.1
v2025.5.6
v2025.5.5
v2025.5.4
v2025.5.3
v2025.5.2
v2025.5.1
v2025.5.0
v2025.5.0-beta.9
v2025.5.0-beta.8
v2025.5.0-beta.7
v2025.5.0-beta.6
v2025.5.0-beta.5
v2025.5.0-beta.4
v2025.5.0-beta.3
v2025.5.0-beta.2
v2025.5.0-beta.1
v2025.4.0
v2025.4.0-beta.5
v2025.4.0-beta.4
v2025.4.0-beta.3
v2025.4.0-beta.2
v2025.4.0-beta.1
v2025.3.1
v2025.3.0
v2025.3.0-beta.4
v2025.3.0-beta.3
v2025.2.3
v2025.3.0-beta.2
v2025.3.0-beta.1
v2025.2.2
v2025.2.1
v2025.2.0
v2025.2.0-beta.16
v2025.2.0-beta.15
v2025.2.0-beta.14
v2025.2.0-beta.13
v2025.2.0-beta.12
v2025.2.0-beta.11
v2025.2.0-beta.10
v2025.2.0-beta.9
v2025.2.0-beta.8
v2025.2.0-beta.7
v2025.2.0-beta.6
v2025.2.0-beta.5
v2025.2.0-beta.4
v2025.2.0-beta.3
v2025.2.0-beta.2
v2025.2.0-beta.1
v2025.1.2
v2025.1.1
v2025.1.0
v2025.1.0-rc.1
v2025.1.0-beta.15
v2025.1.0-beta.14
v2025.1.0-beta.13
v2025.1.0-beta.11
v2025.1.0-beta.10
v2025.1.0-beta.9
v2025.1.0-beta.8
v2025.1.0-beta.7
v2025.1.0-beta.6
v2025.1.0-beta.5
v2025.1.0-beta.4
v2025.1.0-beta.3
v2025.1.0-beta.2
v2025.1.0-beta.1
v2024.13.0
v2024.12.1
v2024.13.0-beta.1
v2024.12.0
v2024.12.0-beta.6
v2024.12.0-beta.5
v2024.12.0-beta.4
v2024.12.0-beta.3
v2024.12.0-beta.2
v2024.12.0-beta.1
v2024.11.5
v2024.11.4
v2024.11.3
v2024.11.2
v2024.11.1
v2024.11.0
v2024.11.0-beta.9
v2024.11.0-beta.8
v2024.11.0-beta.7
v2024.11.0-beta.6
v2024.11.0-beta.5
v2024.11.0-beta.4
v2024.11.0-beta.3
v2024.11.0-beta.2
v2024.11.0-beta.1
v2024.10.1
v2024.10.0
v2024.10.0-beta.6
v2024.10.0-beta.5
v2024.10.0-beta.4
v2024.10.0-beta.3
v2024.9.1
v2024.10.0-beta.2
v2024.9.0
v2024.10.0-beta.1
v2024.9.0-beta.3
v2024.9.0-beta.2
v2024.9.0-beta.1
v2024.8.2
v2024.8.1
v2024.8.0
v2024.8.0-beta.5
v2024.8.0-beta.4
v2024.8.0-beta.3
v2024.8.0-beta.2
v2024.8.0-beta.1
v2024.7.0
v2024.7.0-beta.11
v2024.7.0-beta.10
v2024.7.0-beta.9
v2024.7.0-beta.8
v2024.7.0-beta.7
v2024.7.0-beta.6
v2024.7.0-beta.5
v2024.7.0-beta.4
v2024.7.0-beta.3
v2024.7.0-beta.2
v2024.7.0-beta.1
v2024.6.6
v2024.6.5
v2024.6.4
v2024.6.3
v2024.6.2
v2024.6.1
v2024.6.0
v2024.6.0-beta.1
v2024.5.2
v2024.5.1
v2024.5.1-beta.1
v2024.5.0
v2024.5.0-beta.1
v2024.4.2
v2024.4.1
v2024.4.0
v2024.4.0-beta.3
v2024.4.0-beta.2
v2024.4.0-beta.1
v2024.3.10
v2024.3.9
v2024.3.8
v2024.3.7
v2024.3.6
v2024.3.5
v2024.3.4
v2024.3.3
v2024.3.2
v2024.3.1
v2024.3.0
v2024.3.0-beta.2
v2024.3.0-beta.1
v2024.2.0
v2024.1.0
v2024.0.1
v2024.0.1-beta.2
v2024.0.1-beta.1
v2024.0.0
v2023.4.0-beta.4
v2023.4.0-beta.3
v2023.4.0-beta.2
v2023.4.0-beta.1
v2023.3.0
v2023.3.0-beta.2
v2023.3.0-beta.1
v2023.2.0
v2023.1.7
v2023.0.20
v2023.0.19
v2023.0.18
v2023.0.17
v2023.0.16
v2023.0.15
v2023.0.14
v2023.0.12
v2023.0.11
v2023.0.10
v2023.0.9
v2023.0.8
v2023.0.7
v2023.0.6
v2023.0.5
v2023.0.4
v2023.0.3
v2022.0.1
v2023.0.1
v2023.0.0
v0.0.2
v0.0.1
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/yaak#55
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/119
Author: @gschier
Created: 10/1/2024
Status: ✅ Merged
Merged: 10/1/2024
Merged by: @gschier
Base:
master← Head:plugin-execution-context📝 Commits (2)
422a581Pass window label through to plugin calls8c106cbBetter window context helpers📊 Changes
29 files changed (+635 additions, -371 deletions)
View changed files
📝
plugin-runtime-types/package.json(+3 -1)📝
plugin-runtime-types/src/bindings/events.ts(+9 -2)➕
plugin-runtime-types/src/bindings/serde_json/JsonValue.ts(+3 -0)📝
plugin-runtime-types/src/plugins/Context.ts(+4 -0)📝
plugin-runtime/src/index.worker.ts(+78 -30)📝
src-tauri/src/http_request.rs(+6 -2)📝
src-tauri/src/lib.rs(+163 -122)📝
src-tauri/src/notifications.rs(+5 -5)📝
src-tauri/src/render.rs(+24 -17)📝
src-tauri/src/template_callback.rs(+26 -18)📝
src-tauri/vendored/plugins/exporter-curl/package.json(+2 -10)📝
src-tauri/vendored/plugins/filter-jsonpath/package.json(+4 -6)📝
src-tauri/vendored/plugins/filter-xpath/package.json(+2 -7)📝
src-tauri/vendored/plugins/importer-curl/package.json(+2 -9)📝
src-tauri/vendored/plugins/importer-insomnia/package.json(+2 -7)📝
src-tauri/vendored/plugins/importer-openapi/package.json(+2 -8)📝
src-tauri/vendored/plugins/importer-postman/package.json(+2 -11)📝
src-tauri/vendored/plugins/importer-yaak/package.json(+2 -10)➕
src-tauri/vendored/plugins/template-function-request/build/index.js(+64 -0)➕
src-tauri/vendored/plugins/template-function-request/package.json(+17 -0)...and 9 more files
📄 Description
It's possible to for a call stack to look something like this:
If a plugin calls
toast.show(), how does it know what window to show it on? The current implementation hacks it by always using the focused window (falling back to the main window if none focused) but this is problematic when plugins trigger requests, for example, because the runtime uses the window to get the current workspace and environment.This PR eliminates the need for this hack by tacking on the initiating window label to every plugin call. This label is then added to every back-and-forth even until the call chain ends. This means the
toast.show()handler can simply get the window from the window label on the given event.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.