mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 12:23:37 +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. |
||
---|---|---|
.. | ||
poll-buttons-dropdown-test.js | ||
poll-info-test.js | ||
poll-options-test.js | ||
poll-results-pie-test.js | ||
poll-results-ranked-choice-test.js | ||
poll-results-standard-test.js | ||
poll-results-tabs-test.js | ||
poll-test.js | ||
poll-ui-builder-test.js |