0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-12 05:37:26 +08:00
discourse/plugins/poll/assets/javascripts/discourse
Jarek Radosz 8b0ac62422
DEV: Add plugin APIs for extending models (#41655)
Replaces soft-deprecated `modifyClass`/`modifyClassStatic` on models
with more intentional plugin API methods: `addModelField`,
`addModelAccessor`/`addModelGetter`/`addModelSetter`,
`addModelMethod`,`addModelSaveProperty`, and `addModelCallback`.

Adds value and behavior transformers for smaller, specific overrides
that existing plugins need.

This also moves the bundled plugins completely off `modifyClass`.
2026-07-24 13:44:01 +02:00
..
components UX: chart legend styling (#41694) 2026-07-14 11:18:42 +02:00
initializers DEV: Add plugin APIs for extending models (#41655) 2026-07-24 13:44:01 +02:00
modifiers DEV: Consolidate reusable components into ui-kit (#38703) 2026-05-11 18:07:36 -03:00