Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix(settings): wire up "Show tooltips" toggle (#4480)

Jacob Beckermanca49c5148710
diff --git a/js/app/packages/ui/components/Tooltip.tsx b/js/app/packages/ui/components/Tooltip.tsx
index 430fa28606..f72808bf5b 100644
--- a/js/app/packages/ui/components/Tooltip.tsx
+++ b/js/app/packages/ui/components/Tooltip.tsx
@@ -5,6 +5,7 @@ import { Surface } from '@ui';
import type { ParentProps } from 'solid-js';
import { createEffect, createSignal, For, on, onCleanup, Show } from 'solid-js';
import { Hotkey } from '../../ui/components/Hotkey';
+import { tooltipsEnabled } from '../signals/signals';
import { cn } from '../utils/classname';
type TooltipProps = ParentProps<{
@@ -102,7 +103,7 @@ export function Tooltip(props: TooltipProps) {
closeDelay={0}
flip={true}
gutter={4}
- disabled={props.disabled}
+ disabled={props.disabled || !tooltipsEnabled()}
>
<KobalteTooltip.Trigger
ref={(ref) => {