All Projects → spree-contrib → Spree_reviews

spree-contrib / Spree_reviews

Licence: bsd-3-clause
Straightforward review/rating functionality.

Programming Languages

ruby
36898 projects - #4 most used programming language

Labels

Projects that are alternatives of or similar to Spree reviews

Github Review Filter
Chrome extension to filter files in GitHub code review using glob
Stars: ✭ 42 (-65.57%)
Mutual labels:  review
Reviews slider
A Flutter animated widget made to help users leave reviews and feedbacks
Stars: ✭ 74 (-39.34%)
Mutual labels:  review
Neural Style Transfer Papers
✏️ Neural Style Transfer: A Review
Stars: ✭ 1,372 (+1024.59%)
Mutual labels:  review
Study
Algorithm / Book Reviews / Interview / ETC
Stars: ✭ 58 (-52.46%)
Mutual labels:  review
Bughunt
A weekly challenge where we share some code and you find a bug in it.
Stars: ✭ 68 (-44.26%)
Mutual labels:  review
Cargo Crev
A cryptographically verifiable code review system for the cargo (Rust) package manager.
Stars: ✭ 1,268 (+939.34%)
Mutual labels:  review
Steam Review Editor
Easily create, format and preview your Steam reviews in real-time
Stars: ✭ 14 (-88.52%)
Mutual labels:  review
Bird Recognition Review
A list of useful resources in the bird sound (song and calls) recognition, such as datasets, papers, links to open source projects and competitions
Stars: ✭ 116 (-4.92%)
Mutual labels:  review
Laravel Review Rateable
Review & Rating System For Lavavel 5, 6 & 7
Stars: ✭ 72 (-40.98%)
Mutual labels:  review
Launch review
A Flutter plugin to assist in leaving user reviews/ratings in the Google Play Store. Supports both Android and iOS.
Stars: ✭ 98 (-19.67%)
Mutual labels:  review
Jonsnow
App Store/Google Play review watcher, deliver new reviews to slack channel
Stars: ✭ 65 (-46.72%)
Mutual labels:  review
Pert
A simple command line (bash/shell) utility to estimate tasks using PERT [Program Evaluation and Review Technique]
Stars: ✭ 66 (-45.9%)
Mutual labels:  review
Review Waiting List Bot
Make your team's review great again! ✨ It's a Slack bot to list up review waiting list.
Stars: ✭ 86 (-29.51%)
Mutual labels:  review
Laravel Reviewable
Adds a reviewable feature to your laravel app.
Stars: ✭ 57 (-53.28%)
Mutual labels:  review
Covid19 Review
A collaborative review of the emerging COVID-19 literature. Join the chat here:
Stars: ✭ 102 (-16.39%)
Mutual labels:  review
You Dont Know Js Review
A review of the freaking awesome you don't know JS books series.
Stars: ✭ 27 (-77.87%)
Mutual labels:  review
Monorepo
Open source platform for code review automation ✅
Stars: ✭ 81 (-33.61%)
Mutual labels:  review
Merge Request Integration
An Intellij IDE plugin which helps you manage Merge Request and do Code Review right in your IDE.
Stars: ✭ 122 (+0%)
Mutual labels:  review
Sa Papers
📄 Deep Learning 中 Sentiment Analysis 論文統整與分析 😀😡☹️😭🙄🤢
Stars: ✭ 111 (-9.02%)
Mutual labels:  review
App Store Reviews
Node.js module to download user reviews from the iTunes Store and the Mac App Store
Stars: ✭ 93 (-23.77%)
Mutual labels:  review

Reviews

Build Status Code Climate

Straightforward review/rating functionality.


Installation

Spree >= 3.1

gem 'spree_reviews', github: 'spree-contrib/spree_reviews'

Spree 3.0 and Spree 2.x

gem 'spree_reviews', github: 'spree-contrib/spree_reviews', branch: 'X-X-stable'

The branch option is important: it must match the version of Spree you're using. For example, use 3-0-stable if you're using Spree 3-0-stable or any 3.0.x version.

Now bundle up with:

bundle

Next, run the rake task that copies the necessary migrations and assets to your project:

bundle exec rails g spree_reviews:install

And finish with a migrate:

bundle exec rake db:migrate

Now you should be able to boot up your server with:

bundle exec rails s

That's all!


Usage

Action "submit" in "reviews" controller - goes to review entry form

Users must be logged in to submit a review

Three partials:

  • app/views/spree/products/_rating.html.erb -- display number of stars
  • app/views/spree/products/_shortrating.html.erb -- shorter version of above
  • app/views/spree/products/_review.html.erb -- display a single review

Administrator can edit and/or approve and/or delete reviews.

Implementation

Reviews table is quite obvious - and note the "approved" flag which is for the administrator to update.

Ratings table holds current fractional value - avoids frequent recalc...


Discussion

Some points which might need modification in future:

  • I don't track the actual user on a review (just their "screen name" at the time), but we may want to use this information to avoid duplicate reviews etc. See https://github.com/spree/spree_reviews/issues/18
  • Rating votes are tied to a review, to avoid spam. However: ratings are accepted whether or not the review is accepted. Perhaps they should only be counted when the review is approved.

Contributing

See corresponding contributing guidelines.


Copyright (c) 2009-2021 Spree Commerce and contributors, released under the New BSD License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].