Simple timer for Budibase with event
  • Svelte 41.8%
  • TypeScript 30.4%
  • JavaScript 27.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-10-18 18:19:18 +01:00
.github/workflows feat: initial commit 2022-10-09 22:19:38 +01:00
lib feat: initial commit 2022-10-09 22:19:38 +01:00
src feat: release 2022-10-17 23:41:23 +01:00
.editorconfig feat: working timer implementation with events 2022-10-17 02:38:11 +01:00
.gitignore feat: initial commit 2022-10-09 22:19:38 +01:00
.npmignore feat: initial commit 2022-10-09 22:19:38 +01:00
.prettierrc.json feat: initial commit 2022-10-09 22:19:38 +01:00
ATTRIBUTIONS.md feat: release 2022-10-17 23:41:23 +01:00
index.js feat: initial commit 2022-10-09 22:19:38 +01:00
jest.config.cjs feat: working timer implementation with events 2022-10-17 02:38:11 +01:00
LICENSE feat: initial commit 2022-10-09 22:19:38 +01:00
package.json feat: release 2022-10-17 23:41:23 +01:00
pnpm-lock.yaml feat: working timer implementation with events 2022-10-17 02:38:11 +01:00
README.md chore: add instructions to run tests 2022-10-18 18:19:18 +01:00
rollup.config.js feat: release 2022-10-17 23:41:23 +01:00
schema.json feat: release 2022-10-17 23:41:23 +01:00
tsconfig.json feat: working timer implementation with events 2022-10-17 02:38:11 +01:00

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