Giter VIP home page Giter VIP logo

vendure-reviews-plugin's Introduction

vendure-reviews-plugin's People

Contributors

jonyw4 avatar renovate-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vendure-reviews-plugin's Issues

Add reviews for order

Entity Fields

title (title | string)

description (description | text)

star (required | numeric)

state (review core state)

Shop Queries

Order.review

add a review field in order

Shop Mutations

addReviewOrder (must have to be an approved order that is from the client)

Add a review to an order. The order must be from the user and must be placed

Admin Queries

reviewsOrder

Get all reviews from order

reviewOrderAvg (just approved)

Get the average of approved reviews

Admin Mutations

transitReviewOrderToState()

Change the state of the review

Core Features

Features

  • State Machine with ('Pending', 'Approved', 'Denied')
  • Admin UI Review page with tabs to all reviews
  • Event emitter when a review change state

Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more

Awaiting Schedule

These updates are awaiting their schedule. Click on a checkbox to get an update now.

  • chore(deps): update dependency husky to v4.3.8
  • chore(deps): update dependency eslint-plugin-prettier to v3.4.1
  • chore(deps): update graphqlcodegenerator monorepo (@graphql-codegen/cli, @graphql-codegen/core, @graphql-codegen/near-operation-file-preset, @graphql-codegen/typescript, @graphql-codegen/typescript-operations)
  • chore(deps): update typescript-eslint monorepo to v3.10.1 (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency @vendure/ui-devkit to v0.18.5
  • chore(deps): update actions/cache action to v2
  • chore(deps): update actions/checkout action to v2
  • chore(deps): update actions/setup-node action to v2
  • chore(deps): update commitlint monorepo (major) (@commitlint/config-conventional, commitlint)
  • chore(deps): update dependency @nestjs/testing to v8
  • chore(deps): update dependency @types/jest to v27
  • chore(deps): update dependency @vendure/core to v1
  • chore(deps): update dependency @vendure/create to v1
  • chore(deps): update dependency @vendure/testing to v1
  • chore(deps): update dependency concurrently to v6
  • chore(deps): update dependency eslint to v8
  • chore(deps): update dependency eslint-config-prettier to v8
  • chore(deps): update dependency eslint-plugin-prettier to v4
  • chore(deps): update dependency husky to v7
  • chore(deps): update dependency semantic-release to v18
  • chore(deps): update dependency ts-node to v10
  • chore(deps): update graphqlcodegenerator monorepo (major) (@graphql-codegen/cli, @graphql-codegen/core, @graphql-codegen/near-operation-file-preset, @graphql-codegen/typescript, @graphql-codegen/typescript-operations)
  • chore(deps): update jest monorepo (major) (jest, ts-jest)
  • chore(deps): update mysql docker tag to v8
  • chore(deps): update typescript-eslint monorepo to v5 (major) (@typescript-eslint/eslint-plugin, @typescript-eslint/parser)
  • fix(deps): update dependency @vendure/ui-devkit to v1

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.


  • Check this box to trigger a request for Renovate to run again on this repository

Review Store

Entity Fields

nps (required | numeric)

title (title | string)

description (description | text)

state (review core state)

Shop Queries

reviewsStore

Get all reviews from store

reviewStoreAvg

Get the average of approved reviews

Shop Mutations

addReviewStore

Add a review to the store. The user must have at lest one Order in store to make this mutation

Admin Queries

reviewsStore

Get all reviews of store

reviewStoreAvg

Admin Mutations

transitReviewStoreToState()

Change the state of the review

Review Product

Resolvers

Product

  • Field reviews(options: ReviewListOptions)
  • Field reviewAvg
  • Field canReviewProduct that returns a boolean if customer can review the product or not

ReviewProduct

  • Mutation createReviewProduct(id: ID!) (customer needs bought this product)
  • Mutation updateReviewProduct(id: ID!)
  • Query avaiableProductsToReview(options: ReviewListOptions) (list of all products that client bought that doesn't have a review)

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.