Skip to content

Feat/timer widget#3870

Merged
bobrippling merged 9 commits into
espruino:masterfrom
leonweber:feat/timer-widget
Jun 3, 2025
Merged

Feat/timer widget#3870
bobrippling merged 9 commits into
espruino:masterfrom
leonweber:feat/timer-widget

Conversation

@leonweber
Copy link
Copy Markdown
Contributor

This PR adds a timer widget that can be controlled via gestures: Swipe a T (for timer) to start the timer and unlock the controls. Then single swipes adjust the time: right/left ±1min, up/down ±10min. Will buzz upon timer completion.

leonweber and others added 9 commits May 25, 2025 22:07
- Implement widtimer widget following BangleJS naming conventions
- Add double-swipe protection against accidental activation
- Support gesture controls: swipe right/left ±1min, up/down ±10min
- Include battery optimization with adaptive refresh rates (10s/1s)
- Provide visual feedback with color-coded states
- Generate 3-pulse completion notification over 5 seconds
- Use vector font for crisp display
- Store persistent timer state across device restarts

The widget requires double-swipe in same direction to unlock controls,
then allows single swipes for 10 seconds before auto-locking.
Refresh rate automatically switches from 10s to 1s in final minute.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@bobrippling
Copy link
Copy Markdown
Collaborator

Thanks!

@bobrippling bobrippling merged commit 4be6bb2 into espruino:master Jun 3, 2025
1 check passed
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