Activity

Activity provides QOR Admin with an activity tracking feature for any Resource.

Applying Activity to a Resource will add Comment and Track data/state changes within the QOR Admin interface.

GoDoc

Usage

import "github.com/qor/admin"

func main() {
  Admin := admin.New(&qor.Config{DB: db})
  order := Admin.AddResource(&models.Order{})

  // Register Activity for Order resource
  activity.Register(order)
}

The above code snippet will add an activity tracking feature to the Order resource in a hypothetical project, which would look a bit like the screenshot below in QOR Admin:

activity demo

Online Demo

results matching ""

    No results matching ""