mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-19 18:35:18 +02:00
added tooltip
This commit is contained in:
parent
7513ec69ac
commit
a5f71497af
1 changed files with 25 additions and 19 deletions
|
|
@ -431,6 +431,8 @@ function FixedSidebarToggle({
|
||||||
>
|
>
|
||||||
<SearchIcon className="size-5" />
|
<SearchIcon className="size-5" />
|
||||||
</button>
|
</button>
|
||||||
|
<Tooltip>
|
||||||
|
<TooltipTrigger asChild>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
onClick={onToggleMeeting}
|
onClick={onToggleMeeting}
|
||||||
|
|
@ -442,7 +444,6 @@ function FixedSidebarToggle({
|
||||||
: "text-muted-foreground hover:bg-accent hover:text-foreground"
|
: "text-muted-foreground hover:bg-accent hover:text-foreground"
|
||||||
)}
|
)}
|
||||||
style={{ marginLeft: TITLEBAR_BUTTON_GAP_PX }}
|
style={{ marginLeft: TITLEBAR_BUTTON_GAP_PX }}
|
||||||
aria-label={meetingState === 'recording' ? "Stop meeting transcription" : "Start meeting transcription"}
|
|
||||||
>
|
>
|
||||||
{meetingState === 'recording' ? (
|
{meetingState === 'recording' ? (
|
||||||
<SquareIcon className="size-4 animate-pulse" />
|
<SquareIcon className="size-4 animate-pulse" />
|
||||||
|
|
@ -450,6 +451,11 @@ function FixedSidebarToggle({
|
||||||
<RadioIcon className="size-5" />
|
<RadioIcon className="size-5" />
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
</TooltipTrigger>
|
||||||
|
<TooltipContent side="bottom">
|
||||||
|
{meetingState === 'recording' ? 'Stop meeting notes' : 'Take new meeting notes'}
|
||||||
|
</TooltipContent>
|
||||||
|
</Tooltip>
|
||||||
{/* Back / Forward navigation */}
|
{/* Back / Forward navigation */}
|
||||||
{isCollapsed && (
|
{isCollapsed && (
|
||||||
<>
|
<>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue