feat(status-page): add ManaCore to app registry + fix mana.how badge

Add ManaCore as first entry in MANA_APPS so the dashboard at mana.how
gets a tier badge. Map mana.how → manacore and inventar → inventory
in subdomain aliases.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-01 11:59:16 +02:00
parent 6d5d5283b7
commit f9514dec83
2 changed files with 23 additions and 4 deletions

View file

@ -176,10 +176,12 @@ get_tier_badge() {
subdomain="${subdomain%/health}"
# API-Subdomains skippen (z.B. todo-api, chat-api)
case "$subdomain" in *-api) return ;; esac
# Spezialfall: mana.how selbst → manacore (kein Tier)
[ "$subdomain" = "mana.how" ] && return
# Subdomain-Aliase (alte Subdomains → aktuelle App-IDs)
case "$subdomain" in manadeck) subdomain="cards" ;; esac
# Subdomain-Aliase (Sonderfälle + alte Subdomains → aktuelle App-IDs)
case "$subdomain" in
mana.how) subdomain="manacore" ;;
manadeck) subdomain="cards" ;;
inventar) subdomain="inventory" ;;
esac
echo "$TIER_APPS" | while IFS='|' read -r id name tier st; do
[ "$id" = "$subdomain" ] || continue