virtuslab-open-source / strapi-plugin-reactions Goto Github PK
View Code? Open in Web Editor NEWAll-in-One reactions plugin for any Content Type. Simple & flexible.
License: MIT License
All-in-One reactions plugin for any Content Type. Simple & flexible.
License: MIT License
While importing data between the environments the relatedUid
fields should be re-initialized depending on Polymorphic relation changes.
Implement "Sync associations" button on the Settings page which is going to trigger global initization.
Hi. I'd like to request to include something like GET <host>/api/reactions/author/<id>/<?kind>
. Similar to the one offered on strapi-plugin-comments: https://github.com/VirtusLab-Open-Source/strapi-plugin-comments#get-comments-by-author
That way, apps using reactions plugin would offer registered users the ability to list all their reactions on the same site, and to manage them (edit or remove).
Hi. I'd like to request to include blockedAuthorProps
under config/plugins.js
. Very the same feature offered on strapi-plugin-comments: https://github.com/VirtusLab-Open-Source/strapi-plugin-comments#properties
The reason is I'd like to remove "email" from response as this is private info. I hope this make sense.
curl --location 'http://localhost:1337/api/reactions/list/api::entry.entry/28'
[
{
"id": 1,
"createdAt": "2023-10-31T12:39:20.733Z",
"updatedAt": "2023-10-31T12:39:20.733Z",
"kind": {
"id": 1,
"slug": "like",
"name": "like"
},
"user": {
"id": 1,
"username": "fontanon",
"email": "[email protected]" <--------------- remove this
}
},
{
"id": 2,
"createdAt": "2023-10-31T12:45:41.496Z",
"updatedAt": "2023-10-31T12:45:41.496Z",
"kind": {
"id": 1,
"slug": "like",
"name": "like"
},
"user": {
"id": 2,
"username": "johndoe",
"email": "[email protected]" <---------------- remove this
}
}
]
When I add
reactions: { enabled: true, },
to my code I got
Error: Id was already defined and imported as a type, check the docs for extending types
without it it seems like reactions are working, but I can't use graphql queries and mutation (reactionKinds, reactionsListAll, reactionSet). They are just not available.
I had similar problem with your comments plugin, but in that case adding "comments" to config/plugins.ts fixed issue.
In that case adding "reactions" to config/plugins.ts make things worse :<
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.