Skip to content

Latest commit

 

History

History
62 lines (41 loc) · 1.51 KB

README.md

File metadata and controls

62 lines (41 loc) · 1.51 KB

Budibase Timer Plugin ⏳

Release

timer

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.

Features

  • 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.

Description

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.

Use cases

  • A quiz app with timer, with an action that saves answers on timeout.
  • That's all I can think of 😅

Instructions

This project uses the pnpm package manager. You will need to install that before continuing:

npm install -g pnpm

To set up the project and pull dependencies, run:

pnpm install

To build your new plugin run the following:

pnpm run build

You can also re-build everytime you make a change to your plugin with the command:

pnpm run watch

To run tests:

pnpm run test