Skip to content

Add read-only Homepage widgets and embedded charts - #9

Merged
thetoadsage merged 2 commits into
thetoadsage:mainfrom
Jeor:feat/homepage-integration
Oct 5, 2026
Merged

thetoadsage merged 2 commits into
thetoadsage:mainfrom
Jeor:feat/homepage-integration

Conversation

@Jeor

@Jeor Jeor commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Adds opt-in read-only endpoints so Homepage can display DebridUp metrics without an admin session. Custom API widgets can show counters and provider lists; the iframe widget can display P95 latency or availability charts over 24h, 7d, or 30d.

The integration reuses dashboard snapshots without changing monitoring data or calculations. A separate token gates both endpoints, and chart embedding additionally requires an explicitly configured Homepage origin. Admin pages retain their frame restrictions. Missing observations remain gaps, and provider colors stay stable. Includes copy-paste setup examples and documents the iframe URL token's visibility to viewers and access logs.

Validation: full Go tests, race-enabled tests, go vet, browser-module and workflow tests, 28 release-safety tests, and release scan. Browser DOM checks confirmed three distinct chart colors and no horizontal overflow at a 520px widget width; screenshot capture was unavailable in the local browser runtime. A live Homepage deployment has not been configured.

@thetoadsage
thetoadsage merged commit 162701f into thetoadsage:main Oct 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants