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:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user