Skip to content

feat: add reporting capability to admin - #813

Merged
RaulBR merged 4 commits into
mainfrom
raul/wal-1329
Nov 9, 2026
Merged

RaulBR merged 4 commits into
mainfrom
raul/wal-1329

Conversation

@RaulBR

@RaulBR RaulBR commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Changes proposed in this pull request

  • Xago and GateHub user reports in the admin portal, downloadable as CSV or PDF from a new Reports card on the Botanist dashboard. Each report lists users with their wallet, local KYC status, latest Persona inquiry, provider balance and full transaction history.
    • Xago: ZA users (by Kratos or wallet country). GateHub: wallets with a GateHub user or GateHub balance account.
    • Balances come from the local ledger, so no provider API is called.
  • PDF: a details block per user and wallet with readable labels, then the transaction table. Pages are marked as containing personal data, and Local KYC has a footnote saying the authoritative status is held by the provider.
  • Admin API: GetXagoUsersReport and GetGatehubUsersReport take a format (CSV or PDF). Downloads are audit-logged.
  • Supporting changes:
    • user.Client.ListIdentities lists all Kratos identities.
    • convertTraits no longer panics on identities with missing traits.
    • Botanist's gRPC client max receive size is raised to 64 MB.
  • New dependency: github.com/go-pdf/fpdf v0.9.0.

Note: any signed-in admin can download the reports. The GateHub report hasn't been timed against production volume (the request times out after 100 s).

Checklist

  • Tests updated and in place
  • No sensitive data linkage in logs, errors, etc
  • DevOps team notified of any release-impacting changes (e.g. environment variables, migrations, new services)
  • Documentation and architecture updated

@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

E2E Test Report

E2E markdown report is available as an artifact:

@RaulBR
RaulBR merged commit 8ecf1af into main Nov 9, 2026
29 checks passed
@RaulBR
RaulBR deleted the raul/wal-1329 branch November 9, 2026 14:43
@interledger-code-ripper

Copy link
Copy Markdown

🎉 This PR is included in version 1.57.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@RaulBR
RaulBR restored the raul/wal-1329 branch November 9, 2026 15:12

This branch was successfully deployed

1 active and 1 inactive deployments
e2e-tester — cbf215af Deployed Nov 9, 2026 by RaulBR via e2e #1700
e2e-scaler-system — cbf215af Deployed Nov 9, 2026 by RaulBR via scale #6742
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants