Action Logger
Description
Action log table page for Enso UI.
Installation
Install the package:
yarn add @enso-ui/action-logger
This package is also available through the full enso-ui workspace bundle.
Features
- exports the action logs index page used by the system route group
- filters action logs by user, HTTP method, permission and creation date
- renders user avatars through the users package
- supports click-to-filter behavior on user avatars, method tags and permission tags
- colors method tags by REST intent: informational reads, successful creates, warnings for updates, and danger for deletes
- relies on select's server-side option resolution when click-to-filter sets a permission value
- integrates with the backend
actionLogMethodsenum andactionLogstable definition
Usage
import ActionLogsIndex from '@enso-ui/action-logger';
API
Index
Default export for the action logs table page.
Import: @enso-ui/action-logger
Routes
system/actionLogs
Route group:
system.actionLogs.index
Page:
src/bulma/pages/actionLogs/Index.vue
The page expects these backend sources:
system.actionLogs.initTablesystem.actionLogs.tableDatasystem.actionLogs.exportExcelsystem.permissions.optionsadministration.users.options
The method filter uses the shared actionLogMethods enum store. The permission filter tracks permissions by name, matching the backend route-name storage used by the action logger.
Companion Backend Package
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!