fix: Add token editing, DDNS record management, wildcard display

Dashboard:
- Cloudflare token can be changed when already configured (was only
  editable when missing/invalid)
- DDNS records can be added and removed inline (was read-only)

Services:
- Wildcard services display as *.domain instead of domain with a
  separate subdomains badge — clearer at a glance

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 22:45:17 +00:00
parent 9ce9999d5c
commit 7d703832ab
2 changed files with 77 additions and 10 deletions

View File

@@ -108,7 +108,7 @@ function ServiceRow({ service, isExpanded, onToggle, certDomains, ddnsDomains, d
) : (
<ChevronRight className="h-3.5 w-3.5 text-muted-foreground shrink-0" />
)}
<span className="font-mono text-sm font-medium truncate">{service.domain}</span>
<span className="font-mono text-sm font-medium truncate">{service.subdomains ? `*.${service.domain}` : service.domain}</span>
<Badge variant="outline" className="text-xs h-4 px-1 shrink-0">{typeBadge}</Badge>
<Badge
variant={service.reach === 'public' ? 'success' : 'default'}
@@ -116,9 +116,6 @@ function ServiceRow({ service, isExpanded, onToggle, certDomains, ddnsDomains, d
>
{service.reach}
</Badge>
{service.subdomains && (
<Badge variant="outline" className="text-xs h-4 px-1 shrink-0">*.sub</Badge>
)}
</div>
<div className="flex items-center gap-3 shrink-0">
<StatusDot status="ok" label="DNS" />