feat(ui): tooltip for compact/full model picker view

This commit is contained in:
psychedelicious
2025-04-22 19:40:44 +10:00
parent b24e820aa0
commit ba42c3e63f
2 changed files with 5 additions and 2 deletions

View File

@@ -249,7 +249,8 @@ const SearchBarComponent = typedMemo(
</InputGroup>
<NavigateToModelManagerButton />
<IconButton
aria-label="Toggle compact view"
aria-label={compactModelPicker ? t('common.full') : t('common.compact')}
tooltip={compactModelPicker ? t('common.full') : t('common.compact')}
size="sm"
variant="ghost"
icon={compactModelPicker ? <PiArrowsOutLineVerticalBold /> : <PiArrowsInLineVerticalBold />}