Add ability to manually adjust the running timer's start time #4

Merged
simonfranken merged 6 commits from feature/adjust-timer-start-time into main 2026-02-23 09:57:24 +00:00
Showing only changes of commit 3ab39643dd - Show all commits

View File

@@ -216,7 +216,9 @@ export function TimerWidget() {
</button> </button>
<button <button
onClick={handleStop} onClick={handleStop}
className="flex items-center space-x-2 px-6 py-3 bg-red-600 text-white rounded-lg font-medium hover:bg-red-700 transition-colors" disabled={!ongoingTimer.project}
title={!ongoingTimer.project ? "Select a project to stop the timer" : undefined}
className="flex items-center space-x-2 px-6 py-3 bg-red-600 text-white rounded-lg font-medium hover:bg-red-700 transition-colors disabled:opacity-40 disabled:cursor-not-allowed disabled:hover:bg-red-600"
> >
<Square className="h-5 w-5 fill-current" /> <Square className="h-5 w-5 fill-current" />
<span>Stop</span> <span>Stop</span>