Skip to content

fix(frontend): admin auth gate, authenticated admin pages, key rotation, formatting - #1824

Merged
hman38705 merged 2 commits into
solutions-plug:mainfrom
simeontech:fix/1757-1758-1759-1760-admin-frontend
Oct 20, 2026
Merged

hman38705 merged 2 commits into
solutions-plug:mainfrom
simeontech:fix/1757-1758-1759-1760-admin-frontend

Conversation

@simeontech

Copy link
Copy Markdown

Closes #1757
Closes #1758
Closes #1759
Closes #1760

  • Auth gate validates the key via GET /api/v1/admin/api-keys (admin-client) before unlocking.
  • Email-queue and audit-statistics pages use admin-client (API key, base URL, retries, CSRF, idempotency key on requeue).
  • API-keys rotate sends key_label, shows new_key once with Copy, and only replaces the stored key on success.
  • Reformatted the minified pages; added regression tests under src/app/admin.

Branched from upstream/main; no conflicts.

@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@simeontech Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

…licts (Simple agent)

- frontend/src/app/account/bets/[betId]/claim/page.tsx: merged [markers] — model resolved the conflict markers
- frontend/src/components/markets/OraclePriceWidget.tsx: merged [markers] — model resolved the conflict markers
- frontend/src/lib/api/admin-client.ts: merged [markers] — model resolved the conflict markers

Co-authored-by: Simple Agent <agent@simple.dev>
@hman38705
hman38705 merged commit 74a291c into solutions-plug:main Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment