Skip to content

Commit fc391a9

Browse files
committed
fix: increase auto-save debounce and saved status duration to improve user experience
1 parent 95840d5 commit fc391a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/hooks/useSaveManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
import { useEffect, useRef, useCallback } from "react";
2020
import { useSaveStore } from "@/stores/save-store";
2121

22-
const AUTO_SAVE_DELAY_MS = 800; // 800ms debounce
23-
const SAVED_STATUS_DURATION_MS = 2000; // Show "saved" for 2 seconds
22+
const AUTO_SAVE_DELAY_MS = 3000; // 3000ms debounce
23+
const SAVED_STATUS_DURATION_MS = 3000; // Show "saved" for 3 seconds
2424

2525
interface UseSaveManagerOptions {
2626
/** Unique identifier for this save context (e.g., request ID) */

0 commit comments

Comments
 (0)