Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UI widget for showing "history" #23

Closed
romaninsh opened this issue Jan 8, 2019 · 0 comments · Fixed by #24
Closed

Add UI widget for showing "history" #23

romaninsh opened this issue Jan 8, 2019 · 0 comments · Fixed by #24
Assignees
Labels
in progress Saasty.io 🏗️ Sponsored by SaaSsy.io - Online ATK app builder

Comments

@romaninsh
Copy link
Member

Collecting Audit for our record is great, but it needs to be displayed to a user or administrator at some point. We are willing to add a special ATK UI View to display history of changes for a specified model as well as give ability to add manual comment by the user (optional).

TODO - create a "History" view similar to this:
image

Differences:

  • most recent changes should appear on the top
  • form to leave comment should also be on the top (use inline form)
  • in our case modifications would usually affect multiple fields, so one line can contain multiple field value changes.
  • use css labels with field name and value.
  • must interpret "json" data to decode fields old/new values but also display header with date/user info.
  • developer can set a different template with different tags

I recommend that Lister is used, however the render loop would include a rendering of the {Changes} field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in progress Saasty.io 🏗️ Sponsored by SaaSsy.io - Online ATK app builder
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants