Coder Social home page Coder Social logo

strapi-plugin-reactions's People

Contributors

cyp3rius avatar dependabot[bot] avatar meerzulee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

meerzulee

strapi-plugin-reactions's Issues

Associations sync (post-import sync)

Use case

While importing data between the environments the relatedUid fields should be re-initialized depending on Polymorphic relation changes.

Solution

Implement "Sync associations" button on the Settings page which is going to trigger global initization.

Feat Req: implement blockedAuthorProps

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
        }
    }
]

Error: Id was already defined and imported as a type, check the docs for extending types

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 :<

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.