From 053871466106785e1839910a7bc0441d53c1cd9b Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Mon, 2 Nov 2026 18:03:35 -0300 Subject: [PATCH 1/3] docs(readme): add vaadin directory badges --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 2e0b144..da558ad 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Published on Vaadin Directory](https://img.shields.io/badge/Vaadin%20Directory-published-00b4f0.svg)](https://vaadin.com/directory/component/simple-timer-addon) +[![Stars on vaadin.com/directory](https://img.shields.io/vaadin-directory/star/simple-timer-addon.svg)](https://vaadin.com/directory/component/simple-timer-addon) [![Build Status](https://jenkins.flowingcode.com/job/SimpleTimer-14-addon/badge/icon)](https://jenkins.flowingcode.com/job/SimpleTimer-14-addon) [![Javadoc](https://img.shields.io/badge/javadoc-00b4f0)](https://javadoc.flowingcode.com/artifact/com.flowingcode.addons/simple-timer) From 638732395e263fabf2410dbfd009e57b009778e7 Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Mon, 2 Nov 2026 18:08:01 -0300 Subject: [PATCH 2/3] docs(readme): update online demo link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index da558ad..977995b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Simple Timer for Vaadin 10+ based on https://github.com/annsonn/simple-timer ## Online demo -[Online demo here](http://addonsv14.flowingcode.com/simple-timer) +[Online demo here](http://addonsv24.flowingcode.com/simple-timer) ## Building and running demo From 33b3f35858259ce1e26a3f41b3ea93a125c795ff Mon Sep 17 00:00:00 2001 From: Paola De Bartolo Date: Mon, 2 Nov 2026 18:08:41 -0300 Subject: [PATCH 3/3] docs(readme): add download and spring sections --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index 977995b..2da462e 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,32 @@ Simple Timer for Vaadin 10+ based on https://github.com/annsonn/simple-timer [Online demo here](http://addonsv24.flowingcode.com/simple-timer) +## Download release + +[Available in Vaadin Directory](https://vaadin.com/directory/component/simple-timer-addon) + +### Maven install + +Add the following dependencies in your pom.xml file: + +```xml + + com.flowingcode.addons + simple-timer + X.Y.Z + +``` + + +```xml + + vaadin-addons + https://maven.vaadin.com/vaadin-addons + +``` + +For SNAPSHOT versions see [here](https://maven.flowingcode.com/snapshots/). + ## Building and running demo - git clone repository @@ -118,3 +144,15 @@ A browser reload creates a new UI and a new timer. To keep the time across reloa - `addTimerEndEvent` is deprecated in favor of `addTimerEndListener`. - `addCurrentTimeChangeListener` is deprecated in favor of `addTickListener`. - The web component no longer depends on Polymer, and no longer exposes the `startTime`, `endTime`, `countUp` and `isRunning` properties, nor the `start`, `pause` and `ready` functions. + +## Special configuration when using Spring + +By default, Vaadin Flow only includes `com/vaadin/flow/component` to be always scanned for UI components and views. For this reason, the add-on might need to be allowed in order to display correctly. + +To do so, just add `com.flowingcode` to the `vaadin.allowed-packages` property in `src/main/resources/application.properties`, like: + +``` +vaadin.allowed-packages = com.vaadin,org.vaadin,dev.hilla,com.flowingcode +``` + +More information on Spring scanning configuration [here](https://vaadin.com/docs/latest/integrations/spring/configuration/#configure-the-scanning-of-packages).