From 43858357fed9894605dd153410ce613c041b520b Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 15 Feb 2026 20:31:35 +0200 Subject: [PATCH] feat: add undo/redo buttons to TopBar with tooltips --- src/components/layout/TopBar.tsx | 36 +++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) diff --git a/src/components/layout/TopBar.tsx b/src/components/layout/TopBar.tsx index 838b000..b649d44 100644 --- a/src/components/layout/TopBar.tsx +++ b/src/components/layout/TopBar.tsx @@ -1,5 +1,5 @@ import { useState, useRef, useEffect, useCallback } from "react"; -import { ArrowLeft, Settings, Search } from "lucide-react"; +import { ArrowLeft, Settings, Search, Undo2, Redo2 } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Tooltip, @@ -124,6 +124,40 @@ export function TopBar() { {/* Right section */}
+ {isBoardView && ( + <> + + + + + + Undo Ctrl+Z + + + + + + + + Redo Ctrl+Shift+Z + + + + )} {savingStatus && ( {savingStatus}