From d03561d61c0e39f173cdc0d8cb22eacbab3d741f Mon Sep 17 00:00:00 2001 From: martylukyy <35452459+martylukyy@users.noreply.github.com> Date: Mon, 17 Apr 2023 20:54:30 +0200 Subject: [PATCH] enhancement(web): log download spinner icon (#847) replace loading dots with spinner and move text to title for it display at mouseover --- web/src/components/Icons.tsx | 4 ++++ web/src/screens/Logs.tsx | 45 ++++++------------------------------ 2 files changed, 11 insertions(+), 38 deletions(-) diff --git a/web/src/components/Icons.tsx b/web/src/components/Icons.tsx index a5c4da3..be8a93b 100644 --- a/web/src/components/Icons.tsx +++ b/web/src/components/Icons.tsx @@ -15,3 +15,7 @@ export const SortUpIcon = ({ className }: IconProps) => ( export const SortDownIcon = ({ className }: IconProps) => ( ); + +export const RingResizeSpinner = ({ className }: IconProps) => ( + +); diff --git a/web/src/screens/Logs.tsx b/web/src/screens/Logs.tsx index cdd1c60..dafe906 100644 --- a/web/src/screens/Logs.tsx +++ b/web/src/screens/Logs.tsx @@ -14,6 +14,7 @@ import { import { useQuery } from "react-query"; import { Menu, Transition } from "@headlessui/react"; import { baseUrl } from "../utils"; +import { RingResizeSpinner } from "@/components/Icons"; type LogEvent = { @@ -148,7 +149,7 @@ export const Logs = () => {