mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-13 20:53:30 +01:00
[PR #333] [MERGED] Refactor content viewer components and use for multpart and request body #255
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/333
Author: @gschier
Created: 12/28/2025
Status: ✅ Merged
Merged: 12/28/2025
Merged by: @gschier
Base:
main← Head:refactor/generic-text-viewers📝 Commits (10+)
6fe1203Refactor text viewers to be generic and HttpResponse-independenteae1760Enhance multipart and request body viewers with content-type routinge96cde7Refactor MultipartViewer to be generic and support request bodiesba0a4acAdd PdfViewer support for request bodies and multipart parts11d6125Add AudioViewer and VideoViewer support for request bodies and multipart parts89e7a81Add error handling and memoization to MultipartViewer20834dbFix PdfViewer to properly handle Uint8Array dataa21cd7bFix ArrayBuffer detachment by copying data before passing to MultipartViewer21b9367Fix ArrayBuffer detachment in MultipartViewer Part component6c1032dFix TypeScript errors and add memoization to MultipartViewer Part component📊 Changes
16 files changed (+324 additions, -115 deletions)
View changed files
📝
src-tauri/yaak-http/src/types.rs(+8 -2)📝
src-web/components/HttpResponsePane.tsx(+30 -4)📝
src-web/components/RequestBodyViewer.tsx(+59 -9)📝
src-web/components/RouteError.tsx(+1 -1)📝
src-web/components/core/FormattedError.tsx(+3 -1)📝
src-web/components/core/Icon.tsx(+2 -2)📝
src-web/components/responseViewers/AudioViewer.tsx(+18 -3)📝
src-web/components/responseViewers/CsvViewer.tsx(+3 -6)📝
src-web/components/responseViewers/HTMLOrTextViewer.tsx(+42 -5)📝
src-web/components/responseViewers/JsonViewer.tsx(+3 -9)📝
src-web/components/responseViewers/MultipartViewer.tsx(+79 -25)📝
src-web/components/responseViewers/PdfViewer.tsx(+18 -5)📝
src-web/components/responseViewers/SvgViewer.tsx(+9 -9)📝
src-web/components/responseViewers/TextViewer.tsx(+23 -19)📝
src-web/components/responseViewers/VideoViewer.tsx(+18 -3)📝
src-web/components/responseViewers/WebPageViewer.tsx(+8 -12)📄 Description
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.