mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-13 20:53:30 +01:00
[PR #175] [MERGED] fix ws connection state #100
Reference in New Issue
Block 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/175
Author: @hxzhao527
Created: 2/28/2025
Status: ✅ Merged
Merged: 3/8/2025
Merged by: @gschier
Base:
master← Head:fix/ws_state📝 Commits (4)
8fab22efix ws connection statedba715cMerge branch 'master' into fork/hxzhao527/fix/ws_statedde1367Get PR ready to merge9cd7102Preserve HTTP status for errors📊 Changes
17 files changed (+260 additions, -184 deletions)
View changed files
📝
src-tauri/src/lib.rs(+19 -16)📝
src-tauri/yaak-models/bindings/gen_models.ts(+2 -2)📝
src-tauri/yaak-models/src/models.rs(+2 -0)📝
src-tauri/yaak-models/src/queries.rs(+19 -4)📝
src-tauri/yaak-plugins/src/manager.rs(+2 -1)📝
src-tauri/yaak-ws/src/commands.rs(+92 -66)📝
src-tauri/yaak-ws/src/connect.rs(+1 -37)📝
src-tauri/yaak-ws/src/lib.rs(+1 -2)📝
src-tauri/yaak-ws/src/manager.rs(+27 -8)📝
src-web/components/GrpcConnectionMessagesPane.tsx(+1 -1)📝
src-web/components/HttpResponsePane.tsx(+2 -2)📝
src-web/components/RecentHttpResponsesDropdown.tsx(+2 -2)📝
src-web/components/WebsocketResponsePane.tsx(+17 -7)➕
src-web/components/core/HttpStatusTag.tsx(+40 -0)➖
src-web/components/core/StatusTag.tsx(+0 -34)➕
src-web/components/core/WebsocketStatusTag.tsx(+31 -0)📝
src-web/components/sidebar/SidebarItem.tsx(+2 -2)📄 Description
for Websocket close message doesn't close client side
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.