Skip to content

c-admin-audit-log-page

A full-featured page for interacting with Coalesce's Audit Logging. Presents a view similar to c-admin-table-page with content optimized for viewing audit log records. Designed to be routed to directly with vue-router.

Examples

ts
import { CAdminAuditLogPage } from 'coalesce-vue-vuetify3';
const router = new Router({
  // ...
  routes: [
    // ... other routes
    {
      path: '/admin/audit-logs',
      component: CAdminAuditLogPage,
      props: {
        type: 'AuditLog'
      }
    },
  ]
})

Props

type: string

The PascalCase name of your IAuditLog implementation.

list?: ListViewModel

An optional ListViewModel that will be used if provided instead of the one the component will create automatically from the provided type prop.

color: string = 'primary'

A Vuetify color name to be applied to the toolbar at the top of the page.

userProp?: string

The name of a specific property to use for user identification in the audit logs. When provided, this property will be used for the user filter and display instead of the automatic detection which looks for properties containing "user", "createdBy", or "changedBy" in their names. User filtering is only enabled if the property is a reference navigation property.

Slots

row-detail: { item: AuditLogViewModel }

A slot that can be used to replace the entire content of the Detail column on the page.

row-detail-append: { item: AuditLogViewModel }

A slot that can be used to append additional content to the Detail column on the page.


Coalesce is a free and open-source framework created by IntelliTect to fill our desire to create better apps, faster. IntelliTect is a high-end software architecture and development consulting firm based in Spokane, Washington.

If you're looking for help with your software project, whether it be a Coalesce application, other technologies, or even just an idea, reach out to us at info@intellitect.com — we'd love to start a conversation! Our clients range from Fortune 100 companies to local small businesses and non-profits.