From 3187592dba2f86150ecfd7cf86e23ac6de3dd8dd Mon Sep 17 00:00:00 2001 From: Dag Date: Fri, 25 Mar 2022 15:33:34 +0100 Subject: [PATCH] fix: add a few example/default values --- bridges/FilterBridge.php | 2 ++ bridges/FurAffinityUserBridge.php | 3 ++- bridges/PillowfortBridge.php | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bridges/FilterBridge.php b/bridges/FilterBridge.php index ea4b9742..fdf1fec8 100644 --- a/bridges/FilterBridge.php +++ b/bridges/FilterBridge.php @@ -11,6 +11,8 @@ class FilterBridge extends FeedExpander { const PARAMETERS = array(array( 'url' => array( 'name' => 'Feed URL', + 'type' => 'text', + 'defaultValue' => 'https://lorem-rss.herokuapp.com/feed?unit=day', 'required' => true, ), 'filter' => array( diff --git a/bridges/FurAffinityUserBridge.php b/bridges/FurAffinityUserBridge.php index a921bda1..e61eb640 100644 --- a/bridges/FurAffinityUserBridge.php +++ b/bridges/FurAffinityUserBridge.php @@ -9,7 +9,8 @@ class FurAffinityUserBridge extends BridgeAbstract { 'name' => 'Search Username', 'type' => 'text', 'required' => true, - 'title' => 'Username to fetch the gallery for' + 'title' => 'Username to fetch the gallery for', + 'exampleValue' => 'armundy', ), 'loginUsername' => array( 'name' => 'Login Username', diff --git a/bridges/PillowfortBridge.php b/bridges/PillowfortBridge.php index 8dd49271..788a2985 100644 --- a/bridges/PillowfortBridge.php +++ b/bridges/PillowfortBridge.php @@ -8,7 +8,8 @@ class PillowfortBridge extends BridgeAbstract { 'username' => array( 'name' => 'Username', 'type' => 'text', - 'required' => true + 'required' => true, + 'exampleValue' => 'vaxis2', ), 'noava' => array( 'name' => 'Hide avatar',