mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
Content liking
New per space option that allows users to like/dislike content. The prompt is configurable per space, e.g. "Was this useful?". Enterprise edition gets new Votes report providing insights into most/least liked content.
This commit is contained in:
parent
6c8f23792c
commit
22b6674edb
23 changed files with 1031 additions and 694 deletions
|
@ -20,6 +20,11 @@ export default Model.extend({
|
|||
orgId: attr('string'),
|
||||
userId: attr('string'),
|
||||
folderType: attr('number', { defaultValue: 2 }),
|
||||
likes: attr('string'),
|
||||
|
||||
allowLikes: computed('likes', function () {
|
||||
return is.not.empty(this.get('likes')) && is.not.undefined(this.get('likes'));
|
||||
}),
|
||||
|
||||
slug: computed('name', function () {
|
||||
return stringUtil.makeSlug(this.get('name'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue