From b3c461afdd9d2572f9dabf83de0cfdcc535e7f94 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Tue, 4 Apr 2023 12:36:30 -0700 Subject: [PATCH] Better status tags and delete request on key --- index.html | 2 +- src-web/components/ImageView.tsx | 1 + src-web/components/RequestActionsDropdown.tsx | 2 +- src-web/components/ResponsePane.tsx | 29 +++++------- src-web/components/Sidebar.tsx | 45 +++++++++++------- src-web/components/core/Editor/Editor.css | 7 +-- src-web/components/core/StatusColor.tsx | 23 --------- src-web/components/core/StatusTag.tsx | 47 +++++++++++++++++++ src-web/hooks/useDeleteRequest.ts | 22 +++++++-- src-web/hooks/useIsResponseLoading.ts | 10 ++-- src-web/hooks/useLatestResponse.ts | 7 +++ src-web/lib/models.ts | 4 ++ 12 files changed, 125 insertions(+), 74 deletions(-) delete mode 100644 src-web/components/core/StatusColor.tsx create mode 100644 src-web/components/core/StatusTag.tsx create mode 100644 src-web/hooks/useLatestResponse.ts diff --git a/index.html b/index.html index 72141867..a50c3894 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Yaak App - +