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

fix: plugin boundary retry if plugin logic is skipped [LIBS-633] #862

Merged
merged 1 commit into from
Jul 10, 2024

Conversation

KaiVandivier
Copy link
Contributor

@KaiVandivier KaiVandivier commented Jul 8, 2024

Part of LIBS-633

I noticed a small bug: when clicking on the "Retry" button in the plugin error boundary in the App Wrapper, if skipPluginLogic is set in d2.config.js, the action can fail with the error clearPluginError is not a function -- here's a fix by checking if that prop exists before executing

Before:

plugin-error-before.mov

After:

plugin-error-after.mov

@KaiVandivier KaiVandivier requested review from tomzemp and a team July 8, 2024 11:42
@KaiVandivier KaiVandivier merged commit 01a3160 into master Jul 10, 2024
8 checks passed
@KaiVandivier KaiVandivier deleted the libs-633-fix-boundary-if-logic-skipped branch July 10, 2024 08:04
dhis2-bot added a commit that referenced this pull request Jul 10, 2024
## [11.6.2](v11.6.1...v11.6.2) (2024-07-10)

### Bug Fixes

* plugin boundary retry if plugin logic is skipped ([#862](#862)) ([01a3160](01a3160))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 11.6.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

dhis2-bot added a commit that referenced this pull request Jul 23, 2024
# [12.0.0-alpha.4](v12.0.0-alpha.3...v12.0.0-alpha.4) (2024-07-23)

### Bug Fixes

* use i18next-scanner v3 for better i18next compatibility ([#864](#864)) ([84a5a59](84a5a59))
* **deps:** update i18next-scanner version to support old plurals format again ([#861](#861)) ([d0e433b](d0e433b))
* plugin boundary retry if plugin logic is skipped ([#862](#862)) ([01a3160](01a3160))

### Features

* update boilerplate app code for init command [LIBS-644] ([#866](#866)) ([bd6cfc0](bd6cfc0))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 12.0.0-alpha.4 🎉

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants