From 499985413eb6674ff106207d4d649f02dfad1e5d Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Fri, 21 Aug 2026 21:03:21 +0200 Subject: [PATCH] refactor(log): use ToggleButton for filters Reuse the shared toggle abstraction while preserving the existing filter behaviour and accessible labels. --- apps/client/src/features/log/Log.tsx | 43 ++++++++++++---------------- 1 file changed, 19 insertions(+), 24 deletions(-) diff --git a/apps/client/src/features/log/Log.tsx b/apps/client/src/features/log/Log.tsx index 43426b500..37afa150c 100644 --- a/apps/client/src/features/log/Log.tsx +++ b/apps/client/src/features/log/Log.tsx @@ -3,6 +3,7 @@ import { useCallback, useState } from 'react'; import { IoClose } from 'react-icons/io5'; import Button from '../../common/components/buttons/Button'; +import ToggleButton from '../../common/components/buttons/ToggleButton'; import { clearLogs, useLogData } from '../../common/stores/logger'; import { cx } from '../../common/utils/styleUtils'; import * as Panel from '../app-settings/panel-utils/PanelUtils'; @@ -55,72 +56,66 @@ export default function Log() {
Filter by - - - - - - +