Issue #3610993: List every provider used per editor in the usage report

Fixes the by-editor report so a user who called several providers shows all of them, not only the highest-cost one.

What changed

  • QuotaManager::getDashboardData(): replaced the single dominant-provider lookup with getUserProviders(), which returns every provider a user called in the month, ordered by total cost with an alphabetical tie-break. It covers both the raw usage path (current month) and the rollup path (past months). provider_id still holds the top provider so exports keep working.
  • Dashboard template: the Provider column is now a comma-separated list of all providers the editor used.
  • Kernel test coverage for the multi-provider list, plus assertions added to the existing dominant-provider test.

AI assistance

AI-Generated: Yes. The getUserProviders() method and the new Kernel test were generated with AI assistance and reviewed by the maintainer.

Edited by Jérôme Tchania

Merge request reports

Loading