mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
[PR #151] [MERGED] Preserve Editor State #86
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/151
Author: @gschier
Created: 12/29/2024
Status: ✅ Merged
Merged: 12/31/2024
Merged by: @gschier
Base:
master← Head:editor-perf📝 Commits (2)
e70bc27Checkpoint (state restore is working)00e8fdeBetter state saving and use state key everywhere📊 Changes
33 files changed (+293 additions, -175 deletions)
View changed files
📝
package-lock.json(+19 -10)📝
src-tauri/src/lib.rs(+5 -1)📝
src-tauri/src/render.rs(+12 -0)📝
src-tauri/yaak_models/src/models.rs(+4 -0)📝
src-web/components/BasicAuth.tsx(+2 -0)📝
src-web/components/BearerAuth.tsx(+1 -0)📝
src-web/components/EnvironmentEditDialog.tsx(+1 -0)📝
src-web/components/FolderSettingsDialog.tsx(+1 -0)📝
src-web/components/FormMultipartEditor.tsx(+6 -5)📝
src-web/components/FormUrlencodedEditor.tsx(+5 -4)📝
src-web/components/GraphQLEditor.tsx(+8 -6)📝
src-web/components/GrpcConnectionSetupPane.tsx(+3 -0)📝
src-web/components/GrpcEditor.tsx(+1 -0)📝
src-web/components/HeadersEditor.tsx(+5 -4)📝
src-web/components/MarkdownEditor.tsx(+3 -1)📝
src-web/components/RequestPane.tsx(+11 -6)📝
src-web/components/Settings/SettingsAppearance.tsx(+1 -0)📝
src-web/components/Settings/SettingsDesign.tsx(+2 -0)📝
src-web/components/UrlBar.tsx(+4 -2)📝
src-web/components/UrlParameterEditor.tsx(+10 -8)...and 13 more files
📄 Description
This PR adds state preservation to all
<Input/>fields. This means that switching requests will no longer wipe undo history (amongst other things) for request body, headers, etc.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.