[PR #326] [MERGED] Http response events #248

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

📋 Pull Request Information

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

Base: mainHead: http-response-events


📝 Commits (4)

  • b868517 Emit events over channel
  • e7bf64e Store HTTP response events in DB
  • 4e699cb Better response events timeline view
  • c2cc8a9 Remove start/end request events

📊 Changes

18 files changed (+779 additions, -74 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 src-tauri/src/http_request.rs (+24 -4)
📝 src-tauri/src/lib.rs (+14 -2)
📝 src-tauri/yaak-http/src/sender.rs (+117 -19)
📝 src-tauri/yaak-http/src/transaction.rs (+41 -33)
📝 src-tauri/yaak-models/bindings/gen_models.ts (+10 -1)
📝 src-tauri/yaak-models/guest-js/atoms.ts (+1 -0)
📝 src-tauri/yaak-models/guest-js/util.ts (+1 -0)
src-tauri/yaak-models/migrations/20251221000000_http-response-events.sql (+15 -0)
📝 src-tauri/yaak-models/src/models.rs (+138 -0)
📝 src-tauri/yaak-sync/src/models.rs (+1 -0)
📝 src-web/components/HttpResponsePane.tsx (+14 -2)
src-web/components/ResponseEvents.tsx (+341 -0)
📝 src-web/components/core/HttpMethodTag.tsx (+4 -1)
📝 src-web/components/core/HttpStatusTag.tsx (+24 -8)
src-web/hooks/useHttpResponseEvents.ts (+28 -0)
📝 src-web/lib/contentType.ts (+4 -4)
📝 src-web/lib/tauri.ts (+1 -0)

📄 Description

Http response events, for an experience similar to curl -v
CleanShot 2025-12-21 at 09 33 27@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/326 **Author:** [@gschier](https://github.com/gschier) **Created:** 12/21/2025 **Status:** ✅ Merged **Merged:** 12/21/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `http-response-events` --- ### 📝 Commits (4) - [`b868517`](https://github.com/mountain-loop/yaak/commit/b8685174247f82a1cbd7e340ce4d94095debe9d4) Emit events over channel - [`e7bf64e`](https://github.com/mountain-loop/yaak/commit/e7bf64e4dad80b0cd4363303c02c4bc4385df7b7) Store HTTP response events in DB - [`4e699cb`](https://github.com/mountain-loop/yaak/commit/4e699cb4455433619c9946d5a64a4e92cad1c2ba) Better response events timeline view - [`c2cc8a9`](https://github.com/mountain-loop/yaak/commit/c2cc8a900192d3c567ab26662915df442792571e) Remove start/end request events ### 📊 Changes **18 files changed** (+779 additions, -74 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `src-tauri/src/http_request.rs` (+24 -4) 📝 `src-tauri/src/lib.rs` (+14 -2) 📝 `src-tauri/yaak-http/src/sender.rs` (+117 -19) 📝 `src-tauri/yaak-http/src/transaction.rs` (+41 -33) 📝 `src-tauri/yaak-models/bindings/gen_models.ts` (+10 -1) 📝 `src-tauri/yaak-models/guest-js/atoms.ts` (+1 -0) 📝 `src-tauri/yaak-models/guest-js/util.ts` (+1 -0) ➕ `src-tauri/yaak-models/migrations/20251221000000_http-response-events.sql` (+15 -0) 📝 `src-tauri/yaak-models/src/models.rs` (+138 -0) 📝 `src-tauri/yaak-sync/src/models.rs` (+1 -0) 📝 `src-web/components/HttpResponsePane.tsx` (+14 -2) ➕ `src-web/components/ResponseEvents.tsx` (+341 -0) 📝 `src-web/components/core/HttpMethodTag.tsx` (+4 -1) 📝 `src-web/components/core/HttpStatusTag.tsx` (+24 -8) ➕ `src-web/hooks/useHttpResponseEvents.ts` (+28 -0) 📝 `src-web/lib/contentType.ts` (+4 -4) 📝 `src-web/lib/tauri.ts` (+1 -0) </details> ### 📄 Description Http response events, for an experience similar to `curl -v` <img width="1514" height="1262" alt="CleanShot 2025-12-21 at 09 33 27@2x" src="https://github.com/user-attachments/assets/30b648e4-c463-4c50-b40b-9b2b0daee379" /> --- <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:20:03 +01:00
adam closed this issue 2025-12-29 07:20:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#248