mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
e6edd52047
- Uses `helper.renderGlimmer` with GJS to render the `<Poll` component without any widgets - Moves some logic into component, so that only `@post`, `@poll` and `@titleHTML` need to be passed into the component (no more 'attrs') - Updates `modifyClass` calls to modern syntax - Replaces observer in `Post` model with a native setter & tracked property - Replaced Poll EmberObject instances with TrackedObject - Updated component tests with new arguments - Updated some tests to qunit-dom - Fixed up core `repliesBelow` and `repliesAbove` logic to create post models properly. Previously it was passing 'transformed' versions of posts into the model, which doesn't make sense. |
||
---|---|---|
.. | ||
app | ||
assets | ||
config | ||
db | ||
jobs/regular | ||
lib | ||
spec | ||
test/javascripts | ||
plugin.rb |