feat(ui): add info tooltips to all toggles in agent definition editor#604
Conversation
|
✨ On it — checking the tooltip toggles PR Progress: [██░░░░░░░░] 21% (iteration 15/70) 🔍 Code Review Update (1 min) I've completed my review of PR #604, focusing on the Last updated: iteration 15 · review |
nhopeatall
left a comment
There was a problem hiding this comment.
LGTM — Clean implementation that follows the established shadcn/ui component patterns exactly (radix-ui primitives, data-slot attributes, cn() utility, function components with named exports). The InfoTooltip helper is appropriately scoped as a file-local component, the Toggle enhancement is backward-compatible via the optional description prop, and the TooltipProvider correctly wraps the entire editor tree. All CI checks pass.
Summary
TooltipUI component suite (web/src/components/ui/tooltip.tsx) built on radix-ui primitives, following the same shadcn/ui pattern as existing componentsInfoTooltiphelper component and enhances theTogglecomponent with an optionaldescriptionprop that renders an info icon tooltipAgentDefinitionEditorin<TooltipProvider delayDuration={200}>to enable tooltips throughout the editorCloses: https://trello.com/c/69a56fcb960f42448baa1e0e
Test plan
cd web && npx tsc -b --noEmitnpx @biomejs/biome check web/src/components/settings/...🤖 Generated with Claude Code