Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved CountDown timer #300

Merged
merged 2 commits into from
Aug 9, 2024
Merged

Commits on Aug 9, 2024

  1. Improved CountDown timer

    Lots of improvements over original timer. They can be divided into several
    categories:
    
    - Improve timer handler. The original timer counted seconds via a callback.
      If the computer was suspended, the timer would have been suspended too.
      The new timer continues to run even when the computer is suspended.
    
    - Improved configurability of countdown timer
      Many of its properties can now be configured via object attributes
    
    - Added menu bar:
      A menu bar item allows to start/pause/resume/cancel a timer
    
    - Optional progress messages:
      It can optionally display messages to the screen as the timer is advancing
    
    - Improved time-up messages.
      I found that the end of the timer notifications were too subtle to be noticed.
      It now allows several ways to configure the notifications
    
    - A callback.
      User can specify a callback to the evaluated as the timer is
      started/paused/resumed/cancelled.
    
    - In addition to minutes, a timer can now be set using a time of day,
    gitmsr committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    b03f19a View commit details
    Browse the repository at this point in the history
  2. Add setProgress

    I realized that I removed this function. To maintain full backwards
    compatibility I have added it back. Adds a new type of event (setProgress).
    gitmsr committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    e26c3e2 View commit details
    Browse the repository at this point in the history