Move audit admin WebUI panels into audit module #2

Closed
opened 2026-07-10 17:51:03 +02:00 by zemion · 1 comment
Owner

Core split follow-up from add-ideas/govoplan-core#104.

Audit backend storage and query routes are module-owned, but the admin audit panels still live in govoplan-access WebUI. The audit module should own the audit admin WebUI section.

Acceptance criteria:

  • govoplan-audit provides a WebUI package and module contribution.
  • System and tenant audit admin sections are contributed through the shared admin.sections UI capability.
  • govoplan-access keeps the /admin shell but no longer imports audit admin panel implementations.
  • The audit WebUI uses audit-owned API client types or core generic API helpers only.
  • WebUI module permutation coverage is updated if an audit WebUI package is added to the build matrix.
Core split follow-up from add-ideas/govoplan-core#104. Audit backend storage and query routes are module-owned, but the admin audit panels still live in govoplan-access WebUI. The audit module should own the audit admin WebUI section. Acceptance criteria: - govoplan-audit provides a WebUI package and module contribution. - System and tenant audit admin sections are contributed through the shared admin.sections UI capability. - govoplan-access keeps the /admin shell but no longer imports audit admin panel implementations. - The audit WebUI uses audit-owned API client types or core generic API helpers only. - WebUI module permutation coverage is updated if an audit WebUI package is added to the build matrix.
zemion added the
module/audit
area/webui
labels 2026-07-10 17:51:03 +02:00
Author
Owner

Codex State: done

Summary

  • Added @govoplan/audit-webui with audit-owned admin.sections contributions for system and tenant audit.
  • Removed audit panel ownership from the access WebUI shell; audit API client/types now live in the audit WebUI package.

Changed Files

  • package.json
  • webui/src/module.ts
  • webui/src/features/audit/AdminAuditPanel.tsx
  • src/govoplan_audit/backend/manifest.py

Verification

  • npm run build in govoplan-core/webui
  • npm run test:module-permutations in govoplan-core/webui
  • PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src python -m unittest discover -s tests -v in govoplan-audit
## Codex State: done ### Summary - Added @govoplan/audit-webui with audit-owned admin.sections contributions for system and tenant audit. - Removed audit panel ownership from the access WebUI shell; audit API client/types now live in the audit WebUI package. ### Changed Files - `package.json` - `webui/src/module.ts` - `webui/src/features/audit/AdminAuditPanel.tsx` - `src/govoplan_audit/backend/manifest.py` ### Verification - `npm run build in govoplan-core/webui` - `npm run test:module-permutations in govoplan-core/webui` - `PYTHONPATH=src:/mnt/DATA/git/govoplan-core/src python -m unittest discover -s tests -v in govoplan-audit`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: add-ideas/govoplan-audit#2
No description provided.