Skip to content

[Review] SyliusReviewBundle#3980

Merged
pjedrzejewski merged 30 commits intoSylius:masterfrom
GSadee:sylius-review-bundle
Feb 19, 2016
Merged

[Review] SyliusReviewBundle#3980
pjedrzejewski merged 30 commits intoSylius:masterfrom
GSadee:sylius-review-bundle

Conversation

@GSadee
Copy link
Copy Markdown
Member

@GSadee GSadee commented Jan 26, 2016

Q A
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Fixed tickets
License MIT
Doc PR

Initial implementation of SyliusReviewBundle, which allows to easily manage review system. It's based on @Zales0123 #3300.

"Reviewable" and "Reviewer" classes can be configured under sylius_review tag:

sylius_review:
    resources:
        product:
            subject: %sylius.model.product.class%
            review:
                classes:
                    model: Sylius\Component\Core\Model\ProductReview
                    form:
                        default: Sylius\Bundle\CoreBundle\Form\Type\ProductReviewType
                        admin: Sylius\Bundle\CoreBundle\Form\Type\ProductReviewAdminType
            reviewer:
                classes:
                    model: Sylius\Component\Core\Model\Customer

I have added changes from #3372 and extended this PR to use CustomerGuestType in ReviewType.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for these (3) migrations! Only 1 is sufficient, which adds/removes review table :D

@GSadee GSadee force-pushed the sylius-review-bundle branch from 65e15ce to dda2112 Compare January 29, 2016 10:37
@pjedrzejewski
Copy link
Copy Markdown
Contributor

@GSadee Rebase has gone wrong this one probably... :)

@nakashu
Copy link
Copy Markdown
Contributor

nakashu commented Feb 2, 2016

@GSadee @pjedrzejewski can you estimate when this will be finished? Got a project in development where reviews are needed, so wanted to know if I should wait or implement it on my own.
thanks.

@pjedrzejewski
Copy link
Copy Markdown
Contributor

We need this too and we want to get it merged by the end of the week. I would review it today already but rebase went really wrong...

@michalmarcinkowski
Copy link
Copy Markdown
Contributor

@nakashu it will be done ASAP. We want to merge it this week.

@nakashu
Copy link
Copy Markdown
Contributor

nakashu commented Feb 2, 2016

great to hear. thanks

@nakashu
Copy link
Copy Markdown
Contributor

nakashu commented Feb 2, 2016

I'll probably add support for schema aggregate rating in PR after you merge this. (if it is not present.)

Propabably for another RFC, is how to implement it.

  • json-lc - this can be decoupled from temlplate, but is less supported/trusted
  • microdata - coupled to templates, or using macros and some crazy template stuff.

https://schema.org/AggregateRating

WIll create an RFC after merge.

@GSadee GSadee force-pushed the sylius-review-bundle branch from dda2112 to dad43bf Compare February 3, 2016 09:19
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We shall be consistent and align all new scenarios to left.

@GSadee GSadee force-pushed the sylius-review-bundle branch from 94e26b0 to 6a793f9 Compare February 19, 2016 07:49
},
"extra": {
"branch-alias": {
"dev-master": "0.17/-dev"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove /.

@GSadee GSadee force-pushed the sylius-review-bundle branch from 6a793f9 to c9a86d0 Compare February 19, 2016 11:10
pjedrzejewski pushed a commit that referenced this pull request Feb 19, 2016
@pjedrzejewski pjedrzejewski merged commit 8ef740e into Sylius:master Feb 19, 2016
@pjedrzejewski
Copy link
Copy Markdown
Contributor

Long road but we have made it, thanks Grzegorz, Mateusz, Daniel and everyone involved! 👍 🎆

@michalmarcinkowski
Copy link
Copy Markdown
Contributor

That was a big one! Great to see it merged! Thanks everyone 👍

@Zales0123
Copy link
Copy Markdown
Contributor

I'm really glad to see it merged 🎉

@GSadee GSadee deleted the sylius-review-bundle branch September 22, 2017 08:31
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.