various improvements to make release 1 complete

This commit is contained in:
Reindl David (IT-PTR-CEN2-SL10)
2026-03-27 13:59:28 +01:00
parent 9ea962131a
commit 6b9c3fefa1
37 changed files with 7695 additions and 1803 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"apiVersion": 3,
"name": "swi-foot/context",
"title": "Swiss Football Context (container)",
"category": "widgets",
"category": "swi-football",
"icon": "admin-site",
"description": "Provides a team/season/match context to child blocks. Children will inherit these settings unless they override them.",
"providesContext": {
+12
View File
@@ -0,0 +1,12 @@
{
"apiVersion": 3,
"name": "swi-foot/match-bench",
"title": "Swiss Football Match Bench",
"category": "swi-football",
"icon": "clipboard-user",
"description": "Display team staff and substitutes for a match",
"attributes": {
"side": { "type": "string", "default": "home" }
},
"usesContext": ["swi-foot/context"]
}
+2 -2
View File
@@ -2,8 +2,8 @@
"apiVersion": 3,
"name": "swi-foot/match-events",
"title": "Swiss Football Match Events",
"category": "widgets",
"icon": "list-view",
"category": "swi-football",
"icon": "info",
"description": "Live match events with optional auto-refresh.",
"attributes": {
"selectedTeam": { "type": "string", "default": "" },
+15
View File
@@ -0,0 +1,15 @@
{
"apiVersion": 3,
"name": "swi-foot/match-referees",
"title": "Swiss Football Match Referees",
"category": "swi-football",
"icon": "whistle",
"description": "Display match officials and referees",
"attributes": {
"selectedMatch": {
"type": "string",
"default": ""
}
},
"usesContext": ["swi-foot/context"]
}
+3 -2
View File
@@ -2,14 +2,15 @@
"apiVersion": 3,
"name": "swi-foot/match-roster",
"title": "Swiss Football Match Roster",
"category": "widgets",
"category": "swi-football",
"icon": "groups",
"description": "Display match roster for a selected match and side.",
"attributes": {
"selectedTeam": { "type": "string", "default": "" },
"selectedMatch": { "type": "string", "default": "" },
"side": { "type": "string", "default": "home" },
"withBench": { "type": "boolean", "default": false }
"showStartingSquad": { "type": "boolean", "default": true },
"showBench": { "type": "boolean", "default": false }
}
,
"usesContext": ["swi-foot/context"]
+7 -2
View File
@@ -2,8 +2,8 @@
"apiVersion": 3,
"name": "swi-foot/schedule",
"title": "Swiss Football Schedule",
"category": "widgets",
"icon": "schedule",
"category": "swi-football",
"icon": "calendar",
"description": "Display upcoming matches for a team.",
"attributes": {
"teamId": {
@@ -13,6 +13,11 @@
"limit": {
"type": "number",
"default": 5
},
"matchFilter": {
"type": "string",
"default": "all",
"enum": ["all", "home", "away"]
}
}
,
+1 -1
View File
@@ -2,7 +2,7 @@
"apiVersion": 3,
"name": "swi-foot/standings",
"title": "Swiss Football Standings",
"category": "widgets",
"category": "swi-football",
"icon": "analytics",
"description": "Display current standings for a team.",
"attributes": {
-18
View File
@@ -1,18 +0,0 @@
{
"apiVersion": 3,
"name": "swi-foot/team-data",
"title": "Swiss Football Team Data",
"category": "widgets",
"icon": "universal-access-alt",
"description": "Guided team selector to insert shortcodes for various match/team displays.",
"attributes": {
"selectedTeam": { "type": "string", "default": "" },
"dataType": { "type": "string", "default": "" },
"selectedMatch": { "type": "string", "default": "" },
"shortcodeType": { "type": "string", "default": "match" },
"format": { "type": "string", "default": "" },
"separator": { "type": "string", "default": ":" }
}
,
"usesContext": ["swi-foot/context"]
}