mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +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
|
@ -36,9 +36,14 @@ function endsWith(str, suffix) {
|
|||
return str.indexOf(suffix, str.length - suffix.length) !== -1;
|
||||
}
|
||||
|
||||
function anonUserId() {
|
||||
return 'anon_' + makeId(11);
|
||||
}
|
||||
|
||||
export default {
|
||||
makeSlug,
|
||||
makeId,
|
||||
endsWith
|
||||
endsWith,
|
||||
anonUserId
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue