Audits
Description
Audit table pages and diff presenters for Enso UI.
Installation
Install the package:
yarn add @enso-ui/audits
This package is also available through the full enso-ui workspace bundle.
Features
- exports the audits index page used by the system route group
- renders row-level change payloads through the reusable
Diffcomponent - integrates audit rows with user avatars and the backend table definition
Usage
import AuditsIndex from '@enso-ui/audits';
API
Index
Default export for the audits table page.
Import: @enso-ui/audits
Diff
Inline change renderer used by the audits table.
Import: @enso-ui/audits/src/bulma/pages/audit/components/Diff.vue
Props:
event: stringaudit event type.changes: objectbackend change payload.
Routes
system/audit
Route group:
system.audit.index
Page:
src/bulma/pages/audit/Index.vue
Companion Backend Package
The backend companion provides the audits table definition, diff payloads, and route group consumed by the page.
Depends On
Contributions
are welcome. Pull requests are great, but issues are good too.
Thank you to all the people who already contributed to Enso!