-
-
Notifications
You must be signed in to change notification settings - Fork 840
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
feat: frontend Model
extender
#3646
Conversation
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love how much simpler the extensibility becomes in this way 👍
Signed-off-by: Sami Mazouz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have any way to declare stubs / bindings so that these supplemental attributes are available through typing?
I know it would need to be done explicitly, but feels like it should be possible.
I think we've been using a E.g... |
⬆️ typing-wise, extender or not, we still have to declare additional typings the same way, though let me check further |
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
# Conflicts: # extensions/mentions/js/src/forum/index.js # extensions/package-manager/js/src/admin/index.tsx
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
# Conflicts: # extensions/tags/js/src/admin/index.ts # extensions/tags/js/src/forum/index.ts
# Conflicts: # extensions/flags/js/src/forum/extend.ts # extensions/flags/js/src/forum/index.ts # extensions/likes/js/src/forum/extend.ts # extensions/lock/js/src/forum/extend.ts # extensions/lock/js/src/forum/index.js # extensions/mentions/js/src/forum/extend.ts # extensions/mentions/js/src/forum/index.js # extensions/sticky/js/src/forum/extend.ts # extensions/sticky/js/src/forum/index.js # extensions/subscriptions/js/src/forum/extend.ts # extensions/subscriptions/js/src/forum/index.js # extensions/tags/js/src/forum/extend.ts # extensions/tags/js/src/forum/index.ts # framework/core/js/src/common/extenders/index.ts
Signed-off-by: Sami Mazouz <[email protected]>
Signed-off-by: Sami Mazouz <[email protected]>
520c228
to
56c5149
Compare
Relies on #3645
Changes proposed in this pull request:
Follow up to the linked PR. Adds a
Model
frontend extender and makes use of it in bundled extensions.Necessity
Confirmed
composer test
).