discourse/app
David Taylor e6edd52047
DEV: Remove widget wrapper from poll plugin (#28666)
- 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.
2024-09-04 09:38:22 +01:00
..
assets DEV: Remove widget wrapper from poll plugin (#28666) 2024-09-04 09:38:22 +01:00
controllers FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
helpers UX: Use localized time format in embedded comments (#28014) 2024-07-22 18:42:36 +08:00
jobs FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
mailers UX: Use a dropdown for SSL mode for group SMTP (#27932) 2024-07-18 10:33:14 +10:00
models DEV: Approved Post Webhook Event Category Update (#28725) 2024-09-04 13:58:17 +09:00
serializers FEATURE: Support designating multiple groups as mods on category (#28655) 2024-09-04 04:38:46 +03:00
services DEV: Switch to pnpm for JS dependencies (#28671) 2024-09-03 10:51:07 +01:00
views DEV: Switch to pnpm for JS dependencies (#28671) 2024-09-03 10:51:07 +01:00