Integrate bigb for a visual overview dashboard on the homepage #17

Closed
opened 2026-10-26 06:39:07 +00:00 by Gilles · 0 comments
Owner

Wire bigb-django into Argus to back a read-only overview widget on the frontend homepage: visible-projects count, reports by status, reports by type -- scoped per-user to the projects they can actually see on Forgejo.

  • Add bigb-django as an optional dependency (guarded import, same pattern as vieuxhibou/poulpinou in requirements-gilles.txt)
  • Mount bigb.urls under /bigb/ when installed, excluded from the SPA fallback regex
  • apps/reports/bigb_queries.py: register Project/Report, scoped to the projects the current user has at least read access to (reuses apps.accounts.permissions.has_at_least, cached)
  • Auto-add every user to a shared argus-users Django group (on OIDC login) with the bigb view permissions needed to read the shared dashboard
  • Seed one shared SavedQuery/Dashboard/DashboardTile set (projects count, reports by status, reports by type) idempotently, mirroring the existing post_migrate periodic-task seeding pattern
Wire bigb-django into Argus to back a read-only overview widget on the frontend homepage: visible-projects count, reports by status, reports by type -- scoped per-user to the projects they can actually see on Forgejo. - [ ] Add `bigb-django` as an optional dependency (guarded import, same pattern as vieuxhibou/poulpinou in `requirements-gilles.txt`) - [ ] Mount `bigb.urls` under `/bigb/` when installed, excluded from the SPA fallback regex - [ ] `apps/reports/bigb_queries.py`: register `Project`/`Report`, scoped to the projects the current user has at least read access to (reuses `apps.accounts.permissions.has_at_least`, cached) - [ ] Auto-add every user to a shared `argus-users` Django group (on OIDC login) with the bigb view permissions needed to read the shared dashboard - [ ] Seed one shared `SavedQuery`/`Dashboard`/`DashboardTile` set (projects count, reports by status, reports by type) idempotently, mirroring the existing `post_migrate` periodic-task seeding pattern
Sign in to join this conversation.
No description provided.