feat(admin): provider-aware Providers tab with instance health (#98) #102

Merged
kreativmonkey merged 1 commit from issue-98-admin-providers into main 2026-06-14 23:59:56 +02:00

Behebt #98.

  • Generalisierter Hilfetext beim Onboarding (keine fest verdrahtete Provider-Liste mehr).
  • Provider-spezifische Texte/Platzhalter statt statisch „Mastodon" (Instanz-URL-Platzhalter pro Provider).
  • OAuth-Auto-Discover-Hinweis als hervorgehobener Callout, nur für OAuth-fähige Provider (Mastodon, Pixelfed).
  • Advanced Configuration zeigt nur die für den gewählten Provider relevanten Felder (OAuth-App-Felder für Mastodon/Pixelfed; kurzer Hinweis für Bluesky/Friendica).
  • Instanz-Health-State: On-demand-Reachability-Probe (provider.CheckInstanceHealth + GET /v1/admin/provider-instances/{id}/health) und ein Health-Badge pro Instanz in der „Registered instances"-Liste (Online/Nicht erreichbar/Prüfe…, klickbar zum erneuten Prüfen).

Verifikation: go test ./internal/provider ./api grün (inkl. neuem CheckInstanceHealth-Test), tsc/Build/Lint sauber, neuer admin-providers Playwright-Test grün (+ Screenshot).

🤖 Generated with Claude Code

Behebt #98. - **Generalisierter Hilfetext** beim Onboarding (keine fest verdrahtete Provider-Liste mehr). - **Provider-spezifische Texte/Platzhalter** statt statisch „Mastodon" (Instanz-URL-Platzhalter pro Provider). - **OAuth-Auto-Discover-Hinweis** als hervorgehobener Callout, nur für OAuth-fähige Provider (Mastodon, Pixelfed). - **Advanced Configuration** zeigt nur die für den gewählten Provider relevanten Felder (OAuth-App-Felder für Mastodon/Pixelfed; kurzer Hinweis für Bluesky/Friendica). - **Instanz-Health-State**: On-demand-Reachability-Probe (`provider.CheckInstanceHealth` + `GET /v1/admin/provider-instances/{id}/health`) und ein Health-Badge pro Instanz in der „Registered instances"-Liste (Online/Nicht erreichbar/Prüfe…, klickbar zum erneuten Prüfen). Verifikation: `go test ./internal/provider ./api` grün (inkl. neuem `CheckInstanceHealth`-Test), `tsc`/Build/Lint sauber, neuer `admin-providers` Playwright-Test grün (+ Screenshot). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(admin): provider-aware Providers tab with instance health (#98)
All checks were successful
CI/CD Workflow / Test Backend (Go) (pull_request) Successful in 2m55s
CI/CD Workflow / Test Frontend (Node.js) (pull_request) Successful in 1m24s
CI/CD Workflow / Test Postgres Store (pull_request) Successful in 1m17s
CI/CD Workflow / E2E (Playwright + Go) (pull_request) Successful in 7m55s
CI/CD Workflow / Build and Publish Docker Image (pull_request) Has been skipped
CI/CD Workflow / Trigger Dockhand Deployment (pull_request) Has been skipped
d9c3b65c20
- Generalize the onboarding help text (no hard-coded provider list).
- Reflect the selected provider in placeholders and labels instead of
  always saying "Mastodon".
- Show the OAuth auto-discover note as a highlighted callout only for
  OAuth-capable providers (Mastodon, Pixelfed).
- Advanced configuration now shows only the fields that apply to the
  selected provider (OAuth app fields for Mastodon/Pixelfed; a short note
  for Bluesky/Friendica).
- Add an on-demand instance health probe (provider.CheckInstanceHealth +
  GET /v1/admin/provider-instances/{id}/health) and a per-instance health
  badge in the registered-instances list.

Closes #98.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kreativmonkey/goloom!102
No description provided.