From 41fd2f94fcf5f2bad483fa48b6a72dd483c98af3 Mon Sep 17 00:00:00 2001 From: Jeffrey Johnson Date: Sun, 5 Apr 2026 20:51:28 -0700 Subject: [PATCH] feat: add demo page template Add a demo section to manifest.json that provides a ready-to-use template page showcasing this plugin's features. Used by FiestaBoard's "Create Demo Page" button on the plugin config screen. Made-with: Cursor --- manifest.json | 42 ++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index ff502c6..26cfdc5 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "wsdot", "name": "WSDOT", - "version": "1.0.0", + "version": "1.1.0", "description": "Washington State Ferries: schedules, vessel names, car spots, and alerts", "author": "FiestaBoard Team", "repository": "https://github.com/Fiestaboard/fiestaboard-plugin--wsdot", @@ -157,5 +157,43 @@ "caption": "Washington State Ferries: schedules, vessel names, car spots, and alerts", "primary": true } - ] + ], + "demo": { + "name": "WSDOT Ferries Demo", + "device_type": "flagship", + "template": [ + "Ferry Schedule", + "{{wsdot.headers}}", + "{{wsdot.formatted}}", + "", + "", + "Routes {{wsdot.route_count}}" + ], + "line_metadata": [ + { + "alignment": "center", + "wrap": false + }, + { + "alignment": "left", + "wrap": false + }, + { + "alignment": "left", + "wrap": true + }, + { + "alignment": "left", + "wrap": false + }, + { + "alignment": "left", + "wrap": false + }, + { + "alignment": "center", + "wrap": false + } + ] + } }