-
Notifications
You must be signed in to change notification settings - Fork 16
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: support plugin wrappers [LIBS-397] #823
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [10.4.0-alpha.1](v10.3.1...v10.4.0-alpha.1) (2023-03-13) ### Bug Fixes * merge in master branch of app-platform ([5c637c0](5c637c0)) * pass props with spread operator ([bd4dccb](bd4dccb)) * simplify error reset logic ([d40dfba](d40dfba)) * style adapter package file ([d5e17e1](d5e17e1)) ### Features * implement plugin wrapper (receiver in plugin) (alpha) ([#786](#786)) ([d4f1ee2](d4f1ee2)) * plugin error handling ([7fd0605](7fd0605)) * plugin handling ([7ee8ed6](7ee8ed6))
fix: update app-runtime dependencies
# [10.4.0-alpha.2](v10.4.0-alpha.1...v10.4.0-alpha.2) (2023-06-16) ### Bug Fixes * update app-runtime dependencies ([3433129](3433129))
chore: catch alpha up with master
# [10.4.0-alpha.3](v10.4.0-alpha.2...v10.4.0-alpha.3) (2023-08-10) ### Bug Fixes * move precache route to reenable navigation handler on login redirects [LIBS-473] ([#809](#809)) ([1ff29b6](1ff29b6)) * **pwa:** avoid crashing when SW is not available [LIBS-499] ([#807](#807)) ([b681022](b681022)) * omit `moment-locales` from precache ([#806](#806)) ([c8d5494](c8d5494)) * **cli:** fix envs to fix plugins in dev ([#799](#799)) ([ba29cea](ba29cea)) * **plugins:** omit launch paths when unused [LIBS-477] ([#791](#791)) ([e49a51f](e49a51f)) * **pwa:** bump ui version for headerbar connection status [LIBS-315] ([#797](#797)) ([61ff0a4](61ff0a4)) * make loading placeholders transparent ([#795](#795)) ([6e64756](6e64756)) * **plugins:** inject precache manifest correctly ([#792](#792)) ([c0d172e](c0d172e)) * **pwa:** add config option to omit files from precache [LIBS-482] ([#793](#793)) ([d089dda](d089dda))
# [10.4.0-alpha.4](v10.4.0-alpha.3...v10.4.0-alpha.4) (2023-08-22) ### Bug Fixes * support yarn.lock discovery on non-unix ([#811](#811)) ([22a6863](22a6863))
feat: allow for auto resizing of plugins [LIBS-487]
kabaros
approved these changes
Dec 21, 2023
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.
LGTM
dhis2-bot
added a commit
that referenced
this pull request
Jan 4, 2024
# [10.4.0](v10.3.11...v10.4.0) (2024-01-04) ### Features * support plugin wrappers [LIBS-397] ([#823](#823)) ([f779e13](f779e13))
🎉 This PR is included in version 10.4.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR has changes for app-platform to allow developers to use experimental plugin wrappers (see corresponding app-runtime PR: dhis2/app-runtime#1366)
The main change in this code is adding
<PluginLoader>
in the app shell which sets up communication with the parent window. For the communication to work,<Plugin>
component needs to be used in the app, otherwise, the communication will fail (the plugin would still load, so you can still build a plugin with this updated app shell and not use<Plugin>
if you do not want this communication channel, but do want a separate plugin build)There is some additional updates in app/adapter for hoisting plugin alerts and errors.