-
Notifications
You must be signed in to change notification settings - Fork 25
DEV: update upstream with Discourse's changes #73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ment (#1) Passing the respect_plugin_enabled argument to #add_to_serializer as a positional argument is deprecated. It is now expected to be a keyword argument. This PR adds the keyword.
* DEV: replace bootbox with dialog service * DEV: add discourse-compatibility file
This was causing a crash on the `/admin/plugins/ratings page`. Calling an action with a string on `DButton` is not supported anymore at all.
# Conflicts: # assets/javascripts/discourse/components/rating-actions.js # assets/javascripts/discourse/components/rating-destroy.js # assets/javascripts/discourse/components/rating-migrate.js # assets/javascripts/discourse/components/rating-object-list.js # assets/javascripts/discourse/components/rating-object.js # assets/javascripts/discourse/components/rating-star.js # assets/javascripts/discourse/components/rating-type-chooser.js # assets/javascripts/discourse/components/rating-type.js # assets/javascripts/discourse/components/select-rating.js # assets/javascripts/discourse/components/star-rating.js # assets/javascripts/discourse/controllers/admin-plugins-ratings.js # assets/javascripts/discourse/initializers/initialize-ratings.js # assets/javascripts/discourse/templates/components/rating-destroy.hbs # assets/javascripts/discourse/templates/components/rating-migrate.hbs
|
thanks @renato this is fantastic |
|
@renato is this still wip? should it be Draft? |
|
I converted it to a draft, I'm just double-checking if there's anything accidentally overridden from the existing commits on this repo, and will do a smoke-test. Then I can mark it as ready again |
|
I noticed a small issue where the ratings aren't displayed immediately after posting, only after a refresh, but I also tested on an instance that has an older version and it behaves the same, so doesn't look like a regression |
|
It's ready for review @merefield. There was a conflict with a commit from today that I kept paviliondev's version |
|
@jumagura do you wish to handle? |
|
Hi @renato. Thanks a lot for this contribution! 🙌 I’ll start reviewing it. Really appreciate the time and effort you've put into it. |
|
Hey @jumagura, just one thing I just realized, the |
|
Thank you! I overlooked that. |
Merges all changes from https://github.com/discourse/discourse-ratings