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

Countdown Timer #1414

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Countdown Timer #1414

wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 14, 2024

Description

The Countdown Timer extension provides a countdown timer functionality to create timed challenges in your projects. You can set an initial time in seconds and then start the timer to count down. The extension includes actions to start, reset, pause, and resume the timer, allows for negative numbers, and provides expressions to get the remaining time. You can also trigger alerts when the time is running out.

How to use the extension

Clock Name: Set a unique name for the clock (e.g., ClockName).
Use actions like SetCountdown to set the time, StartCountdown to start it, and PauseCountdown to pause or resume.
You can add or subtract seconds with AddCountdown and SubtractCountdown.
Conditions like IsTimerFinished and IsTimerPaused allow you to check the timer's status.

Features:

Set Countdown: Set the initial time in seconds.
Start Countdown: Start the timer from the previously set value.
Add Countdown: Add more seconds to the timer.
Subtract Countdown: Subtract seconds from the timer.
Pause Countdown: Pause or resume the countdown timer.
Restart Countdown: Reset the timer to its initial value.
Is Timer Finished: Check if the countdown has reached zero.
Get Remaining Time: Get the remaining time of the countdown.
Get Initial Configuration Value: Retrieve the initial setting of the timer.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

What tier of review do you aim for your extension?

Community (Unreviewed)

Example file

Countdown Timer Example.zip

Extension file

CountdownTimer.zip

@github-actions github-actions bot requested a review from a team as a code owner October 14, 2024 11:25
@github-actions github-actions bot added the ✨ New extension A new extension label Oct 14, 2024
@D8H D8H added 🔄 Extension update An update for an existing extension 👨‍👩‍👧‍👦 Community extension An extension submission to be merged ASAP with a lightweight review. and removed ✨ New extension A new extension labels Oct 14, 2024
@github-actions github-actions bot added the ✨ New extension A new extension label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👨‍👩‍👧‍👦 Community extension An extension submission to be merged ASAP with a lightweight review. 🔄 Extension update An update for an existing extension ✨ New extension A new extension
Projects
Status: Needs review
Development

Successfully merging this pull request may close these issues.

2 participants