Skip to content

Add 20, 30 and 45 minute timer presets - #16

Merged
spxrogers merged 1 commit into
mainfrom
claude/timer-page-time-amounts-kux51p
Aug 1, 2026
Merged

Add 20, 30 and 45 minute timer presets#16
spxrogers merged 1 commit into
mainfrom
claude/timer-page-time-amounts-kux51p

Conversation

@spxrogers

Copy link
Copy Markdown
Owner

Adds three new duration presets to the timer creator page.

Changes

  • timer/index.html: three new preset buttons in the #presets row, kept in ascending order alongside the existing ones:
    • 20 min (data-sec="1200")
    • 30 min (data-sec="1800")
    • 45 min (data-sec="2700")

The preset row now reads: 1 min · 5 min · 10 min · 15 min · 20 min · 25 min · 30 min · 45 min · 1 hour · 1 hr 30 min · 2 hours.

No JS changes needed — the click handler already binds generically to .preset-btn and reads data-sec, and the row wraps on narrow screens via flex-wrap.


Generated by Claude Code

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QftK41GFHAPmnerCQjEpXg
@github-actions

github-actions Bot commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

🔗 Preview deployed: https://clockdown.us/pr/16/

github-actions Bot added a commit that referenced this pull request Aug 1, 2026
@spxrogers
spxrogers merged commit b2da2d6 into main Aug 1, 2026
2 checks passed
@spxrogers
spxrogers deleted the claude/timer-page-time-amounts-kux51p branch August 1, 2026 19:53
github-actions Bot added a commit that referenced this pull request Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants