Qor Activity: add Comment and Track data/state changes to any Qor Resource support to admin interface
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
views/themes/activity
.babelrc
.gitignore
LICENSE.txt
README.md
activity.go
activity_test.go
controller.go
package.json
resource.go

README.md

Activity

Activity is dependant on QOR Admin. It 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:

License

Released under the MIT License.