From 0791a7b39df6f75fe84bcd1866f141e8bff91176 Mon Sep 17 00:00:00 2001 From: Wes Date: Thu, 7 Sep 2023 08:34:23 -0700 Subject: [PATCH] Add cursor to tappable things. Clean up log levels --- console/client/src/features/modules/ModuleDetails.tsx | 2 +- console/client/src/features/timeline/Timeline.tsx | 4 ++-- console/client/src/features/timeline/TimelineFilterBar.tsx | 4 ++-- console/client/src/features/verbs/VerbCalls.tsx | 1 + console/client/src/layout/Tabs.tsx | 2 +- console/client/src/utils/style.utils.ts | 2 -- 6 files changed, 7 insertions(+), 8 deletions(-) diff --git a/console/client/src/features/modules/ModuleDetails.tsx b/console/client/src/features/modules/ModuleDetails.tsx index 0245cea27f..8b25275b55 100644 --- a/console/client/src/features/modules/ModuleDetails.tsx +++ b/console/client/src/features/modules/ModuleDetails.tsx @@ -65,7 +65,7 @@ export function ModuleDetails() { onClick={() => { handleVerbClicked(verb) }} - className='rounded bg-indigo-600 px-2 py-1 text-xs font-semibold text-white text-center + className='rounded bg-indigo-600 px-2 py-1 text-xs font-semibold text-white text-center cursor-pointer shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600' > {verb.verb?.name} diff --git a/console/client/src/features/timeline/Timeline.tsx b/console/client/src/features/timeline/Timeline.tsx index b45b2088ca..2800f85308 100644 --- a/console/client/src/features/timeline/Timeline.tsx +++ b/console/client/src/features/timeline/Timeline.tsx @@ -25,7 +25,7 @@ export const Timeline = () => { 'deployment', ]) const [selectedLogLevels, setSelectedLogLevels] = React.useState([ - 0, 1, 5, 9, 13, 17, + 1, 5, 9, 13, 17, ]) React.useEffect(() => { @@ -136,7 +136,7 @@ export const Timeline = () => { {filteredEntries.map((entry, index) => (
  • handleEntryClicked(entry)} >
    onLogLevelsChanged(level, e.target.checked) diff --git a/console/client/src/features/verbs/VerbCalls.tsx b/console/client/src/features/verbs/VerbCalls.tsx index 9ba8979d7b..b210dd9789 100644 --- a/console/client/src/features/verbs/VerbCalls.tsx +++ b/console/client/src/features/verbs/VerbCalls.tsx @@ -79,6 +79,7 @@ export const VerbCalls: React.FC = ({module, verb}) => { handleClick(call)} + className='cursor-pointer hover:bg-gray-100 dark:hover:bg-gray-800' >
    diff --git a/console/client/src/layout/Tabs.tsx b/console/client/src/layout/Tabs.tsx index c815370361..ec5ad32822 100644 --- a/console/client/src/layout/Tabs.tsx +++ b/console/client/src/layout/Tabs.tsx @@ -88,7 +88,7 @@ export const Tabs = () => { return (