decidim-comments 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/app/assets/javascripts/decidim/comments/bundle.js +43 -44
- data/app/assets/javascripts/decidim/comments/bundle.js.map +1 -1
- data/app/commands/decidim/comments/vote_comment.rb +38 -0
- data/app/frontend/application/icon.component.jsx +9 -4
- data/app/frontend/application/icon.component.test.jsx +12 -2
- data/app/frontend/comments/add_comment_form.component.jsx +43 -11
- data/app/frontend/comments/add_comment_form.mutation.graphql +1 -4
- data/app/frontend/comments/comment.component.jsx +67 -7
- data/app/frontend/comments/comment.component.test.jsx +49 -1
- data/app/frontend/comments/comment_data.fragment.graphql +3 -0
- data/app/frontend/comments/comment_order_selector.component.jsx +51 -6
- data/app/frontend/comments/comment_order_selector.component.test.jsx +12 -1
- data/app/frontend/comments/comment_thread.component.jsx +11 -5
- data/app/frontend/comments/comment_thread.component.test.jsx +13 -3
- data/app/frontend/comments/comment_thread.fragment.graphql +1 -3
- data/app/frontend/comments/comments.component.jsx +37 -11
- data/app/frontend/comments/comments.component.test.jsx +44 -7
- data/app/frontend/comments/comments.query.graphql +2 -2
- data/app/frontend/comments/down_vote.fragment.graphql +6 -0
- data/app/frontend/comments/down_vote.mutation.graphql +7 -0
- data/app/frontend/comments/down_vote_button.component.jsx +84 -0
- data/app/frontend/comments/down_vote_button.component.test.jsx +48 -0
- data/app/frontend/comments/up_vote.fragment.graphql +6 -0
- data/app/frontend/comments/up_vote.mutation.graphql +7 -0
- data/app/frontend/comments/up_vote_button.component.jsx +84 -0
- data/app/frontend/comments/up_vote_button.component.test.jsx +48 -0
- data/app/frontend/comments/vote_button.component.jsx +19 -0
- data/app/frontend/comments/vote_button_component.test.jsx +38 -0
- data/app/frontend/support/generate_comments_data.js +7 -2
- data/app/helpers/decidim/comments/comments_helper.rb +1 -1
- data/app/models/decidim/comments/application_record.rb +9 -0
- data/app/models/decidim/comments/comment.rb +19 -4
- data/app/models/decidim/comments/comment_vote.rb +22 -0
- data/app/models/decidim/comments/seed.rb +27 -0
- data/app/queries/decidim/comments/comments_with_replies.rb +88 -0
- data/app/resolvers/decidim/comments/vote_comment_resolver.rb +20 -0
- data/app/types/decidim/comments/comment_mutation_type.rb +19 -0
- data/app/types/decidim/comments/comment_type.rb +38 -2
- data/config/locales/en.yml +1 -0
- data/db/migrate/20161130143508_create_comments.rb +4 -2
- data/db/migrate/20161219150806_create_comment_votes.rb +13 -0
- data/lib/decidim/comments/mutation_extensions.rb +9 -0
- data/lib/decidim/comments/query_extensions.rb +3 -5
- data/lib/decidim/comments/test/factories.rb +22 -0
- metadata +26 -49
There are too many changes on this page to be displayed.
The amount of changes on this page would crash your brower.
You can still verify the content by downloading the gem file manually.