Skip to content
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: release experimental plugin wrappers [LIBS-397] [skip release] #1366

Merged
merged 56 commits into from
Jan 4, 2024

Conversation

tomzemp
Copy link
Member

@tomzemp tomzemp commented Dec 21, 2023

Implements LIBS-397

This PR merges plugin works from alpha branch to master and puts it in an experimental channel to make it more readily available for developer testing/trial. See RFC about experimental releases: dhis2/notes#346


Key features

  • Adds services/plugin, particularly PluginSender component that allows one to define a plugin and pass props to it (sets up part of communication bridge via post-robot)

  • modifies services/alerts to allow for hoisting of alerts from child iframe


Checklist

  • Have written Documentation
    • basic documentation
  • Has tests coverage
    • tests are deferred until developers have tested and we make more of a decision as to whether this is experimental or not

Known Issues

  • the retrieval of the appropriate plugin entrypoint is dependent on api/apps being expanded to include bundled apps (https://dhis2.atlassian.net/browse/DHIS2-7154)

  • Error boundaries (in this case, error boundary for non-accessible/non-installed apps) still need to be implemented

tomzemp and others added 30 commits December 21, 2022 10:15
# [3.10.0-alpha.1](v3.9.0...v3.10.0-alpha.1) (2023-03-13)

### Bug Fixes

* add documentation, clean up ([c537590](c537590))
* clean up, add useless test ([b14952b](b14952b))
* custom error handling ([c72fc6e](c72fc6e))
* dependency resolution ([2480c1c](2480c1c))

### Features

* ideas for plugin wrappers [LIBS-397] ([be38607](be38607))
* implement plugin wrappers (alpha) ([#1332](#1332)) ([56a9a3f](56a9a3f))
* plugin wrappers, errors + alerts ([bda6a43](bda6a43))
* update plugin wrappers ([30c963c](30c963c))
# [3.10.0-alpha.2](v3.10.0-alpha.1...v3.10.0-alpha.2) (2023-03-15)

### Bug Fixes

* add in plugin service in runtime package ([#1343](#1343)) ([ed06a9f](ed06a9f))
# [3.10.0-alpha.3](v3.10.0-alpha.2...v3.10.0-alpha.3) (2023-08-22)

### Bug Fixes

* **connection-status:** responsiveness to online events [LIBS-497] ([#1348](#1348)) ([91a3d4d](91a3d4d))
* **types:** add generic result type to oncomplete param ([#1350](#1350)) ([a069603](a069603))
* [DHIS2] Type generic T = QueryResult to useDataQuery ([#1297](#1297)) ([7c5c083](7c5c083))
* account for daylight savings time [LIBS-490] ([06eaa5d](06eaa5d))
* account for daylight savings time [LIBS-490] [#1345](#1345) ([fb00533](fb00533))
* add test for when time zones are the same [LIBS-490] ([7911f8b](7911f8b))
dhis2-bot and others added 19 commits September 28, 2023 08:13
# [3.10.0-alpha.4](v3.10.0-alpha.3...v3.10.0-alpha.4) (2023-09-28)

### Bug Fixes

* add width to plugin documentation [LIBS-487] ([b2c6273](b2c6273))
* clean up ([e53ecbd](e53ecbd))
* temporarily disable failing test ([6664199](6664199))
* working autorsize width ([2991045](2991045))

### Features

* add autoresizing for height ([dbb6e26](dbb6e26))
# [3.10.0-alpha.5](v3.10.0-alpha.4...v3.10.0-alpha.5) (2023-09-28)

### Bug Fixes

* merge issues ([496472a](496472a))
* reset communication on either pluginSource or pluginShortName change ([3fdae5b](3fdae5b))
* trigger props resend when iframe src changes [LIBS-488] ([f4a6680](f4a6680))
* trigger props resend when iframe src changes [LIBS-488] [#1344](#1344) ([cea7600](cea7600))
# [3.10.0-alpha.6](v3.10.0-alpha.5...v3.10.0-alpha.6) (2023-10-09)

### Bug Fixes

* add back plugin service dependency [LIBS-583] ([ca10691](ca10691))
* add back plugin service dependency [LIBS-583] ([6d43ae3](6d43ae3))
# [3.10.0-alpha.7](v3.10.0-alpha.6...v3.10.0-alpha.7) (2023-12-20)

### Bug Fixes

* check memomized props for postMessage communication [LIBS-514] ([b1a3a0a](b1a3a0a))
* dependency array ([03ce64f](03ce64f))
* move eslint disable line ([48912d7](48912d7))
* prevent sending updated props to plugin when props do not change [LIBS-514] ([86c6f75](86c6f75))
* type error ([9c17206](9c17206))
# [3.10.0-alpha.8](v3.10.0-alpha.7...v3.10.0-alpha.8) (2023-12-20)

### Bug Fixes

* plugin experimental docs ([be215b2](be215b2))

### Features

* experimental plugin release ([f5cca86](f5cca86))
* plugin experimental export ([25f02a6](25f02a6))
the check we have on lint-commit as we have historical commits that wouldn't pass the check and they cause the failure
# [3.11.0-alpha.1](v3.10.1...v3.11.0-alpha.1) (2023-12-21)

### Bug Fixes

* add back plugin service dependency [LIBS-583] ([ca10691](ca10691))
* add back plugin service dependency [LIBS-583] ([6d43ae3](6d43ae3))
* add documentation, clean up ([c537590](c537590))
* add in plugin service in runtime package ([#1343](#1343)) ([ed06a9f](ed06a9f))
* add width to plugin documentation [LIBS-487] ([b2c6273](b2c6273))
* check memomized props for postMessage communication [LIBS-514] ([b1a3a0a](b1a3a0a))
* clean up ([e53ecbd](e53ecbd))
* clean up, add useless test ([b14952b](b14952b))
* custom error handling ([c72fc6e](c72fc6e))
* dependency array ([03ce64f](03ce64f))
* dependency resolution ([2480c1c](2480c1c))
* merge issues ([496472a](496472a))
* move eslint disable line ([48912d7](48912d7))
* plugin experimental docs ([be215b2](be215b2))
* prevent sending updated props to plugin when props do not change [LIBS-514] ([86c6f75](86c6f75))
* reset communication on either pluginSource or pluginShortName change ([3fdae5b](3fdae5b))
* temporarily disable failing test ([6664199](6664199))
* trigger props resend when iframe src changes [LIBS-488] ([f4a6680](f4a6680))
* trigger props resend when iframe src changes [LIBS-488] [#1344](#1344) ([cea7600](cea7600))
* type error ([9c17206](9c17206))
* update alpha branch [skip release] ([ccb793c](ccb793c))
* working autorsize width ([2991045](2991045))

### Features

* add autoresizing for height ([dbb6e26](dbb6e26))
* experimental plugin release ([f5cca86](f5cca86))
* ideas for plugin wrappers [LIBS-397] ([be38607](be38607))
* implement plugin wrappers (alpha) ([#1332](#1332)) ([56a9a3f](56a9a3f))
* plugin experimental export ([25f02a6](25f02a6))
* plugin wrappers, errors + alerts ([bda6a43](bda6a43))
* update plugin wrappers ([30c963c](30c963c))
@tomzemp tomzemp changed the title Alpha feat: release experimental plugin wrappers Dec 21, 2023
@tomzemp tomzemp changed the title feat: release experimental plugin wrappers feat: release experimental plugin wrappers [LIBS-397] Dec 21, 2023
@kabaros kabaros changed the title feat: release experimental plugin wrappers [LIBS-397] feat: release experimental plugin wrappers [LIBS-397] [skip release] Jan 4, 2024
@tomzemp tomzemp merged commit 7895bb9 into master Jan 4, 2024
15 of 16 checks passed
dhis2-bot added a commit that referenced this pull request Jan 4, 2024
## [3.10.2](v3.10.1...v3.10.2) (2024-01-04)

### Bug Fixes

* force npm release ([dfefaed](dfefaed))

### Features

* release experimental plugin wrappers [LIBS-397] [skip release] ([#1366](#1366)) ([7895bb9](7895bb9))
@dhis2-bot
Copy link
Contributor

@kabaros kabaros deleted the alpha branch April 2, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants