Archived on GitHub and moved to https://git.sr.ht/~gary_moore/bb-timer
# Budibase Timer Plugin ⏳
This budibase plugin adds a timer component. Click the timer input, and type in a duration. Set an action to execute when the timer runs out.
- Timer with intuitive input.
- Somewhat pleasant presentation and decent UX.
- Integration with events, so you can run an action when the timer expires
Note: this still does have a few wrinkles to work out, though they're more cosmetic than functional.
This is a single input component that lets you input a duration for a timer, set an action to execute when the timer expires, and allows you to start, stop, and reset the timer.
- A quiz app with timer, with an action that saves answers on timeout.
- That's all I can think of 😅
This project uses the pnpm package manager. You will need to install that before continuing:
npm install -g pnpmTo set up the project and pull dependencies, run:
pnpm installTo build your new plugin run the following:
pnpm run buildYou can also re-build everytime you make a change to your plugin with the command:
pnpm run watchTo run tests:
pnpm run test