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

chore: update beta #816

Merged
merged 97 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
97 commits
Select commit Hold shift + click to select a range
16b1b65
chore(release): cut stable release from beta channel
amcgee Jul 26, 2022
c64a082
chore(release): cut 10.0.0 [skip release]
dhis2-bot Jul 26, 2022
04ece0a
feat(cli): support plugin entrypoint when validating entrypoints
mediremi Feb 17, 2022
8e4dbff
feat(cli): create plugin entrypoint wrapper during compilation
mediremi Feb 21, 2022
3e4275c
feat: webpack config for plugin
mediremi Feb 25, 2022
c557534
fix: handle webpack errors as described in https://webpack.js.org/api…
mediremi Mar 1, 2022
cec6339
feat(cli): add webpack config for JS and CSS
mediremi Mar 1, 2022
a04b7c6
feat(cli): add webpack config for JS and CSS
mediremi Mar 1, 2022
202225c
feat(cli): setup htmlwebpackplugin
mediremi Mar 2, 2022
5d8f374
feat(cli): setup define webpack plugin
mediremi Mar 2, 2022
223b191
feat(cli): setup ignore webpack plugin for moment.js
mediremi Mar 2, 2022
2693258
feat(cli): setup terser webpack plugin
mediremi Mar 2, 2022
e8ebcbf
feat(cli): enable split chunks optimisation in webpack config
mediremi Mar 2, 2022
3f1b1f2
feat(cli): setup css minimiser webpack plugin
mediremi Mar 2, 2022
9fea158
feat(cli): plugin start script
mediremi Mar 3, 2022
4ac6d54
feat(adapter): don't render headerbar for plugins
mediremi Mar 3, 2022
0e7b36d
style: format
KaiVandivier Aug 23, 2022
1eea12c
fix: plugin placeholder
KaiVandivier Aug 23, 2022
ff5aa6b
fix: casing
KaiVandivier Aug 23, 2022
6e370e3
Merge pull request #701 from dhis2/feat/plugins
KaiVandivier Aug 24, 2022
3677071
chore(release): cut 10.1.0-alpha.1 [skip release]
dhis2-bot Aug 24, 2022
d084b44
fix(cli): update webpack plugin options
KaiVandivier Aug 31, 2022
e0a9e7c
chore(release): cut 10.1.0-alpha.2 [skip release]
dhis2-bot Aug 31, 2022
9e58c58
fix: add missing webpack dependencies to cli package
KaiVandivier Sep 1, 2022
f455836
chore(release): cut 10.1.0-alpha.3 [skip release]
dhis2-bot Sep 1, 2022
8843f6b
feat: include plugin launch path plugin.html in built manifests [LIBS…
amcgee Sep 16, 2022
94cd7eb
chore(release): cut 10.1.0-alpha.4 [skip release]
dhis2-bot Sep 16, 2022
fd920a4
feat(cli): add pwa to plugins; fix plugin build details (#746)
KaiVandivier Sep 19, 2022
a4ae73f
chore(release): cut 10.1.0-alpha.5 [skip release]
dhis2-bot Sep 19, 2022
b3b317c
fix(cli): improve plugin builds (#749)
KaiVandivier Sep 26, 2022
b848490
chore(release): cut 10.1.0-alpha.6 [skip release]
dhis2-bot Sep 26, 2022
904a087
chore: update init files to comply with eslintReact style rules
tomzemp Sep 28, 2022
e6838a7
fix: support author parsing in d2.config.js [LIBS-347] (#747)
amcgee Sep 29, 2022
7901cdd
chore(release): cut 10.0.1 [skip release]
dhis2-bot Sep 29, 2022
a91dc6e
chore: update init files to comply with eslintReact style rules #751
tomzemp Sep 30, 2022
47fc9ff
chore: fix cli-style useEffect exhaustive deps warnings (#753)
amcgee Oct 4, 2022
b245bf1
feat: headerbar PWA update notifications [LIBS-344] (#748)
amcgee Oct 6, 2022
afe59ba
chore(release): cut 10.1.0 [skip release]
dhis2-bot Oct 6, 2022
fbd4527
docs: update CHANGELOG
amcgee Oct 7, 2022
a9aa003
chore: updating jira links (#759)
Topener Oct 18, 2022
3e48f16
Merge branch 'master' into alpha
KaiVandivier Oct 20, 2022
6e495d2
chore(release): cut 10.2.0-alpha.1 [skip release]
dhis2-bot Oct 20, 2022
f6406c5
fix(deps): update app-runtime and ui packages (#761)
Birkbjo Oct 21, 2022
891a863
chore(release): cut 10.1.1 [skip release]
dhis2-bot Oct 21, 2022
bbfd3eb
fix(pwa): file SWR filter & allow navigation 403s [LIBS-356] [LIBS-35…
KaiVandivier Oct 24, 2022
f861d78
chore(release): cut 10.1.2 [skip release]
dhis2-bot Oct 24, 2022
190b9e7
fix(deps): bump app-runtime to 3.6.1 [LIBS-356] (#763)
KaiVandivier Oct 26, 2022
17fdf46
chore(release): cut 10.1.3 [skip release]
dhis2-bot Oct 26, 2022
ecd8b21
fix(pwa-boundary): catch errors
KaiVandivier Nov 3, 2022
ad3e476
fix(offline-interface): protect against SW errors
KaiVandivier Nov 3, 2022
5302f59
Merge pull request #766 from dhis2/LIBS-374-handle-sw-errors
KaiVandivier Nov 8, 2022
3e54f13
chore(release): cut 10.1.4 [skip release]
dhis2-bot Nov 8, 2022
bd2582f
fix(deps): bump platform deps and unpin
KaiVandivier Nov 15, 2022
f2c729e
Merge pull request #771 from dhis2/fix-platform-deps-and-unpin
KaiVandivier Nov 15, 2022
245b680
Merge branch 'master' into alpha
KaiVandivier Nov 15, 2022
0e11e56
chore(release): cut 10.1.5 [skip release]
dhis2-bot Nov 15, 2022
2e9729d
chore(release): cut 10.2.0-alpha.2 [skip release]
dhis2-bot Nov 15, 2022
69411d9
docs: add entrypoint plugin property explanation (#770)
edoardo Nov 15, 2022
41113c0
fix(pwa): only count clients in scope (#760)
KaiVandivier Nov 24, 2022
c47df66
chore(release): cut 10.1.6 [skip release]
dhis2-bot Nov 24, 2022
b4dd351
refactor: review feedback (#773)
KaiVandivier Nov 25, 2022
e0236eb
chore: add plugin to pwa example app
KaiVandivier Nov 30, 2022
83b8cf3
Merge branch 'master' into alpha
KaiVandivier Nov 30, 2022
cc4ae18
chore(release): cut 10.2.0-alpha.3 [skip release]
dhis2-bot Nov 30, 2022
0ec89e4
chore(deps-dev): bump cli-style
KaiVandivier Nov 30, 2022
ac0350a
Merge pull request #740 from dhis2/alpha
KaiVandivier Nov 30, 2022
c5155d8
chore(release): cut 10.2.0 [skip release]
dhis2-bot Nov 30, 2022
2acb301
fix: bump d2-i18n (#783)
tomzemp Feb 14, 2023
355cd37
chore(release): cut 10.2.1 [skip release]
dhis2-bot Feb 14, 2023
049cdf3
fix(cli): fix `--testRegex` option on `test` command (#784)
KaiVandivier Feb 16, 2023
b7f247a
chore(release): cut 10.2.2 [skip release]
dhis2-bot Feb 16, 2023
dcdd918
fix(plugins): fix file loader behavior (#779)
KaiVandivier Feb 16, 2023
cba768a
chore(release): cut 10.2.3 [skip release]
dhis2-bot Feb 16, 2023
1dfd1e6
feat(pwa): track online status [LIBS-315] (#718)
KaiVandivier Mar 3, 2023
6262058
chore(release): cut 10.3.0 [skip release]
dhis2-bot Mar 3, 2023
590530e
fix: error in non-pwa apps [LIBS-315] (#789)
KaiVandivier Mar 6, 2023
fb018b9
chore(release): cut 10.3.1 [skip release]
dhis2-bot Mar 6, 2023
e49a51f
fix(plugins): omit launch paths when unused [LIBS-477] (#791)
KaiVandivier Mar 10, 2023
cc20ff1
chore(release): cut 10.3.2 [skip release]
dhis2-bot Mar 10, 2023
d089dda
fix(pwa): add config option to omit files from precache [LIBS-482] (#…
KaiVandivier Mar 13, 2023
c0d172e
fix(plugins): inject precache manifest correctly (#792)
KaiVandivier Mar 13, 2023
352dfc7
chore(release): cut 10.3.3 [skip release]
dhis2-bot Mar 13, 2023
6e64756
fix: make loading placeholders transparent (#795)
KaiVandivier Mar 16, 2023
48f641e
chore(release): cut 10.3.4 [skip release]
dhis2-bot Mar 16, 2023
61ff0a4
fix(pwa): bump ui version for headerbar connection status [LIBS-315] …
KaiVandivier Mar 17, 2023
5622d0c
chore(release): cut 10.3.5 [skip release]
dhis2-bot Mar 17, 2023
ba29cea
fix(cli): fix envs to fix plugins in dev (#799)
KaiVandivier Mar 22, 2023
9e725a8
chore(release): cut 10.3.6 [skip release]
dhis2-bot Mar 22, 2023
c8d5494
fix: omit `moment-locales` from precache (#806)
KaiVandivier Apr 27, 2023
0adae00
chore(release): cut 10.3.7 [skip release]
dhis2-bot Apr 27, 2023
b681022
fix(pwa): avoid crashing when SW is not available [LIBS-499] (#807)
KaiVandivier May 3, 2023
fa95d98
chore(release): cut 10.3.8 [skip release]
dhis2-bot May 3, 2023
1ff29b6
fix: move precache route to reenable navigation handler on login redi…
KaiVandivier May 16, 2023
0b7b28f
chore(release): cut 10.3.9 [skip release]
dhis2-bot May 16, 2023
a3490e0
docs(d2-config): add instructions on app versioning
May 17, 2023
22a6863
fix: support yarn.lock discovery on non-unix (#811)
CelsoDeCarvalho Aug 21, 2023
06cee57
chore(release): cut 10.3.10 [skip release]
dhis2-bot Aug 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
},
rules: {
'import/extensions': 'off',
'react/no-unknown-property': ['error', { ignore: ['jsx'] }],
},
overrides: [
{
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comment-and-close.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ jobs:
steps:
- uses: vardevs/candc@v1
with:
close-comment: 'If you would like to file a bug report or feature request, please refer to our issue tracker: https://jira.dhis2.org'
close-comment: 'If you would like to file a bug report or feature request, please refer to our issue tracker: https://dhis2.atlassian.net'
exempt-users: dhis2-bot,dependabot,kodiakhq
github-token: ${{secrets.DHIS2_BOT_GITHUB_TOKEN}}
219 changes: 219 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,222 @@
## [10.3.10](https://github.com/dhis2/app-platform/compare/v10.3.9...v10.3.10) (2023-08-21)


### Bug Fixes

* support yarn.lock discovery on non-unix ([#811](https://github.com/dhis2/app-platform/issues/811)) ([22a6863](https://github.com/dhis2/app-platform/commit/22a6863c1b4a5d9c6c026c502a1b77dded318be7))

## [10.3.9](https://github.com/dhis2/app-platform/compare/v10.3.8...v10.3.9) (2023-05-16)


### Bug Fixes

* move precache route to reenable navigation handler on login redirects [LIBS-473] ([#809](https://github.com/dhis2/app-platform/issues/809)) ([1ff29b6](https://github.com/dhis2/app-platform/commit/1ff29b645ec07e0bcce76efedbc08f1b76014a42))

## [10.3.8](https://github.com/dhis2/app-platform/compare/v10.3.7...v10.3.8) (2023-05-03)


### Bug Fixes

* **pwa:** avoid crashing when SW is not available [LIBS-499] ([#807](https://github.com/dhis2/app-platform/issues/807)) ([b681022](https://github.com/dhis2/app-platform/commit/b68102248fad98303dd2c01d954f4430b1934a25))

## [10.3.7](https://github.com/dhis2/app-platform/compare/v10.3.6...v10.3.7) (2023-04-27)


### Bug Fixes

* omit `moment-locales` from precache ([#806](https://github.com/dhis2/app-platform/issues/806)) ([c8d5494](https://github.com/dhis2/app-platform/commit/c8d5494c5eaf6a2f021166d208a1cc289701a47a))

## [10.3.6](https://github.com/dhis2/app-platform/compare/v10.3.5...v10.3.6) (2023-03-22)


### Bug Fixes

* **cli:** fix envs to fix plugins in dev ([#799](https://github.com/dhis2/app-platform/issues/799)) ([ba29cea](https://github.com/dhis2/app-platform/commit/ba29ceacfe5a25d42a406f80a9896ccbc7bc82f8))

## [10.3.5](https://github.com/dhis2/app-platform/compare/v10.3.4...v10.3.5) (2023-03-17)


### Bug Fixes

* **pwa:** bump ui version for headerbar connection status [LIBS-315] ([#797](https://github.com/dhis2/app-platform/issues/797)) ([61ff0a4](https://github.com/dhis2/app-platform/commit/61ff0a49e63189d892403db8df24c57e170dac0a))

## [10.3.4](https://github.com/dhis2/app-platform/compare/v10.3.3...v10.3.4) (2023-03-16)


### Bug Fixes

* make loading placeholders transparent ([#795](https://github.com/dhis2/app-platform/issues/795)) ([6e64756](https://github.com/dhis2/app-platform/commit/6e64756325b366b413acbdce8dd0d6b70632d118))

## [10.3.3](https://github.com/dhis2/app-platform/compare/v10.3.2...v10.3.3) (2023-03-13)


### Bug Fixes

* **plugins:** inject precache manifest correctly ([#792](https://github.com/dhis2/app-platform/issues/792)) ([c0d172e](https://github.com/dhis2/app-platform/commit/c0d172ec362182ce978e43b16e9c411ec61e5039))
* **pwa:** add config option to omit files from precache [LIBS-482] ([#793](https://github.com/dhis2/app-platform/issues/793)) ([d089dda](https://github.com/dhis2/app-platform/commit/d089dda25433ca52f84c42c9369fce95419e4f83))

## [10.3.2](https://github.com/dhis2/app-platform/compare/v10.3.1...v10.3.2) (2023-03-10)


### Bug Fixes

* **plugins:** omit launch paths when unused [LIBS-477] ([#791](https://github.com/dhis2/app-platform/issues/791)) ([e49a51f](https://github.com/dhis2/app-platform/commit/e49a51fec39a323350c71d4e09caff836aab2262))

## [10.3.1](https://github.com/dhis2/app-platform/compare/v10.3.0...v10.3.1) (2023-03-06)


### Bug Fixes

* error in non-pwa apps [LIBS-315] ([#789](https://github.com/dhis2/app-platform/issues/789)) ([590530e](https://github.com/dhis2/app-platform/commit/590530e74424c65f41c540b123faec902a594e75))

# [10.3.0](https://github.com/dhis2/app-platform/compare/v10.2.3...v10.3.0) (2023-03-03)


### Features

* **pwa:** track online status [LIBS-315] ([#718](https://github.com/dhis2/app-platform/issues/718)) ([1dfd1e6](https://github.com/dhis2/app-platform/commit/1dfd1e6249fa22412eb87ea8e693d908af835498))

## [10.2.3](https://github.com/dhis2/app-platform/compare/v10.2.2...v10.2.3) (2023-02-16)


### Bug Fixes

* **plugins:** fix file loader behavior ([#779](https://github.com/dhis2/app-platform/issues/779)) ([dcdd918](https://github.com/dhis2/app-platform/commit/dcdd9188f5a64c5ec842a347ed6aa5acc053cc58))

## [10.2.2](https://github.com/dhis2/app-platform/compare/v10.2.1...v10.2.2) (2023-02-16)


### Bug Fixes

* **cli:** fix `--testRegex` option on `test` command ([#784](https://github.com/dhis2/app-platform/issues/784)) ([049cdf3](https://github.com/dhis2/app-platform/commit/049cdf3610b28ada4b4241870ff8f2f5cc9f09fa))

## [10.2.1](https://github.com/dhis2/app-platform/compare/v10.2.0...v10.2.1) (2023-02-14)


### Bug Fixes

* bump d2-i18n ([#783](https://github.com/dhis2/app-platform/issues/783)) ([2acb301](https://github.com/dhis2/app-platform/commit/2acb301c812bd804f54dfa55ca82dc3629e5ac8c))

# [10.2.0](https://github.com/dhis2/app-platform/compare/v10.1.6...v10.2.0) (2022-11-30)


### Bug Fixes

* **cli:** improve plugin builds ([#749](https://github.com/dhis2/app-platform/issues/749)) ([b3b317c](https://github.com/dhis2/app-platform/commit/b3b317c781a9952b223236e33bf31c75088ae107))
* add missing webpack dependencies to cli package ([9e58c58](https://github.com/dhis2/app-platform/commit/9e58c58322e56f905abd473af9957f8b24119b95))
* **cli:** update webpack plugin options ([d084b44](https://github.com/dhis2/app-platform/commit/d084b441ee0dd8aecb2d563a0b1dc16275c11bcd))
* casing ([ff5aa6b](https://github.com/dhis2/app-platform/commit/ff5aa6bd1da8705811ec62f7e47537ba7c7f0822))
* handle webpack errors as described in https://webpack.js.org/api/node/\#error-handling ([c557534](https://github.com/dhis2/app-platform/commit/c557534f6ff18eb0990a6eaeb037b0d83bc1c87f))
* plugin placeholder ([1eea12c](https://github.com/dhis2/app-platform/commit/1eea12c825145480d4fbf2807d3078ef608f2325))


### Features

* **cli:** add pwa to plugins; fix plugin build details ([#746](https://github.com/dhis2/app-platform/issues/746)) ([fd920a4](https://github.com/dhis2/app-platform/commit/fd920a41d6d63e1bb4e4934d39e4aef96ead1e4d))
* include plugin launch path plugin.html in built manifests [LIBS-346] ([#745](https://github.com/dhis2/app-platform/issues/745)) ([8843f6b](https://github.com/dhis2/app-platform/commit/8843f6b6396f0f60ef5cb0c6d09cfe90360e976f))
* **adapter:** don't render headerbar for plugins ([4ac6d54](https://github.com/dhis2/app-platform/commit/4ac6d541b7369a580f2947ad3987cbfa980bb5ee))
* **cli:** add webpack config for JS and CSS ([a04b7c6](https://github.com/dhis2/app-platform/commit/a04b7c6c7bd82cbb1bfddbea0e9c0a28fee7ba75))
* **cli:** add webpack config for JS and CSS ([cec6339](https://github.com/dhis2/app-platform/commit/cec63391562ace95cfc1ce94019fd395fd0f8aa8))
* **cli:** create plugin entrypoint wrapper during compilation ([8e4dbff](https://github.com/dhis2/app-platform/commit/8e4dbfffdc923d9810d79f2faa739658f8ab768a))
* **cli:** enable split chunks optimisation in webpack config ([e8ebcbf](https://github.com/dhis2/app-platform/commit/e8ebcbf4a5be6249754c40f623e1b2561e3e77b6))
* **cli:** plugin start script ([9fea158](https://github.com/dhis2/app-platform/commit/9fea1583a2c9c869ed64e8b6ff2d92e324f25358))
* **cli:** setup css minimiser webpack plugin ([3f1b1f2](https://github.com/dhis2/app-platform/commit/3f1b1f25dfc3199227bac623616fae49362fff75))
* **cli:** setup define webpack plugin ([5d8f374](https://github.com/dhis2/app-platform/commit/5d8f3741bfd8c2b7257db2c5078bb5d5664af2f9))
* **cli:** setup htmlwebpackplugin ([202225c](https://github.com/dhis2/app-platform/commit/202225c9dc21a2fceb44c4fdf8e449455c9d3a0e))
* **cli:** setup ignore webpack plugin for moment.js ([223b191](https://github.com/dhis2/app-platform/commit/223b19146914cc4fad6c25070da3022d23ea159a))
* **cli:** setup terser webpack plugin ([2693258](https://github.com/dhis2/app-platform/commit/2693258485cbeec6edca59e60513c05010b785fe))
* webpack config for plugin ([3e4275c](https://github.com/dhis2/app-platform/commit/3e4275c9cf02b8d198ff075560f09b40ce865cea))
* **cli:** support plugin entrypoint when validating entrypoints ([04ece0a](https://github.com/dhis2/app-platform/commit/04ece0a034ff88eedd06268f5dc0469226600a50))

# [10.2.0-alpha.3](https://github.com/dhis2/app-platform/compare/v10.2.0-alpha.2...v10.2.0-alpha.3) (2022-11-30)


### Bug Fixes

* **deps:** bump platform deps and unpin ([bd2582f](https://github.com/dhis2/app-platform/commit/bd2582f3faa17e46142210c530584e79d4b5998a))
* **pwa:** only count clients in scope ([#760](https://github.com/dhis2/app-platform/issues/760)) ([41113c0](https://github.com/dhis2/app-platform/commit/41113c04f50f6677844f3248d65fcfdbc67a2b58))

## [10.1.6](https://github.com/dhis2/app-platform/compare/v10.1.5...v10.1.6) (2022-11-24)


### Bug Fixes

* **pwa:** only count clients in scope ([#760](https://github.com/dhis2/app-platform/issues/760)) ([41113c0](https://github.com/dhis2/app-platform/commit/41113c04f50f6677844f3248d65fcfdbc67a2b58))

## [10.1.5](https://github.com/dhis2/app-platform/compare/v10.1.4...v10.1.5) (2022-11-15)


### Bug Fixes

* **deps:** bump platform deps and unpin ([bd2582f](https://github.com/dhis2/app-platform/commit/bd2582f3faa17e46142210c530584e79d4b5998a))

## [10.1.4](https://github.com/dhis2/app-platform/compare/v10.1.3...v10.1.4) (2022-11-08)


### Bug Fixes

* **offline-interface:** protect against SW errors ([ad3e476](https://github.com/dhis2/app-platform/commit/ad3e476273823c1c4983c50ac0500e3b9eb19c30))
* **pwa-boundary:** catch errors ([ecd8b21](https://github.com/dhis2/app-platform/commit/ecd8b21dc34f1eee7497331cb254c459252d355d))

## [10.1.3](https://github.com/dhis2/app-platform/compare/v10.1.2...v10.1.3) (2022-10-26)


### Bug Fixes

* **deps:** bump app-runtime to 3.6.1 [LIBS-356] ([#763](https://github.com/dhis2/app-platform/issues/763)) ([190b9e7](https://github.com/dhis2/app-platform/commit/190b9e7a16220421d269410c6482a10c8ff2b6ea))

## [10.1.2](https://github.com/dhis2/app-platform/compare/v10.1.1...v10.1.2) (2022-10-24)


### Bug Fixes

* **pwa:** file SWR filter & allow navigation 403s [LIBS-356] [LIBS-357] ([#762](https://github.com/dhis2/app-platform/issues/762)) ([bbfd3eb](https://github.com/dhis2/app-platform/commit/bbfd3eb2172e81126af0f1515e575134e1c2d79e))

## [10.1.1](https://github.com/dhis2/app-platform/compare/v10.1.0...v10.1.1) (2022-10-21)


### Bug Fixes

* **deps:** update app-runtime and ui packages ([#761](https://github.com/dhis2/app-platform/issues/761)) ([f6406c5](https://github.com/dhis2/app-platform/commit/f6406c55be747793317021423e39bf98dc7f04bb))

# [10.1.0](https://github.com/dhis2/app-platform/compare/v10.0.1...v10.1.0) (2022-10-06)


### Features

* headerbar PWA update notifications [LIBS-344](https://dhis2.atlassian.net/browse/LIBS-344) ([#748](https://github.com/dhis2/app-platform/issues/748)) ([b245bf1](https://github.com/dhis2/app-platform/commit/b245bf199785bf2ba62843c74a9d29f6e62c0a06))
* display app and server debug information in headerbar profile menu [LIBS-176](https://dhis2.atlassian.net/browse/LIBS-176) ([#748](https://github.com/dhis2/app-platform/issues/748)) ([b245bf1](https://github.com/dhis2/app-platform/commit/b245bf199785bf2ba62843c74a9d29f6e62c0a06))

## [10.0.1](https://github.com/dhis2/app-platform/compare/v10.0.0...v10.0.1) (2022-09-29)


### Bug Fixes

* support author parsing in d2.config.js [LIBS-347] ([#747](https://github.com/dhis2/app-platform/issues/747)) ([e6838a7](https://github.com/dhis2/app-platform/commit/e6838a7b21000fa01265b8dfbb059d8ab53eb8db))

# [10.0.0](https://github.com/dhis2/app-platform/compare/v9.0.1...v10.0.0) (2022-07-26)


### Bug Fixes

* remove engines field from pwa and adapter ([c3878f2](https://github.com/dhis2/app-platform/commit/c3878f2955352667f9a1ca9c428d8ed0ff77c777))
* remove lint step from publish step requirements ([#695](https://github.com/dhis2/app-platform/issues/695)) ([a04f8f7](https://github.com/dhis2/app-platform/commit/a04f8f715023fdcb568990fe478f19fb11e54fde))


### chore

* drop support for node 12 ([937e5e2](https://github.com/dhis2/app-platform/commit/937e5e2e3dac30af529594d03872b0ae53353882))


### Features

* update react-scripts ([#721](https://github.com/dhis2/app-platform/issues/721)) ([dc1c5cb](https://github.com/dhis2/app-platform/commit/dc1c5cb3ab0efb7bb074dd6fb581bf865bdb980e))


### BREAKING CHANGES

* dropped support for node 12. The platform now requires node 14+.

# [10.0.0-beta.2](https://github.com/dhis2/app-platform/compare/v10.0.0-beta.1...v10.0.0-beta.2) (2022-07-26)


Expand Down
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ See [platform.dhis2.nu](https://platform.dhis2.nu) for documentation.

## Report an issue

The issue tracker can be found in [DHIS2 JIRA](https://jira.dhis2.org)
under the [LIBS](https://jira.dhis2.org/projects/LIBS) project.
The issue tracker can be found in [DHIS2 JIRA](https://dhis2.atlassian.net)
under the [LIBS](https://dhis2.atlassian.net/browse/LIBS) project.

Deep links:

- [Bug](https://jira.dhis2.org/secure/CreateIssueDetails!init.jspa?pid=10700&issuetype=10006&components=11025)
- [Feature](https://jira.dhis2.org/secure/CreateIssueDetails!init.jspa?pid=10700&issuetype=10300&components=11025)
- [Task](https://jira.dhis2.org/secure/CreateIssueDetails!init.jspa?pid=10700&issuetype=10003&components=11025)
To report an issue create a ticket using the proper type (bug, feature) depending on your use case. You can create a new ticket by clicking `Create` on top of JIRA, then proceed to select the `LIBS` project and then define the ticket type. Make sure to select `app-platform` components drop-down accordingly.
63 changes: 27 additions & 36 deletions adapter/i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,33 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2021-10-12T12:20:51.045Z\n"
"PO-Revision-Date: 2021-10-12T12:20:51.045Z\n"
"POT-Creation-Date: 2022-09-22T19:11:17.660Z\n"
"PO-Revision-Date: 2022-09-22T19:11:17.660Z\n"

msgid "Save your data"
msgstr "Save your data"

msgid ""
"Updating will reload all {{n}} open instances of this app, and any unsaved "
"data will be lost. Save any data you need to, then click 'Reload' when "
"ready."
msgstr ""
"Updating will reload all {{n}} open instances of this app, and any unsaved "
"data will be lost. Save any data you need to, then click 'Reload' when "
"ready."

msgid ""
"Updating will reload all open instances of this app, and any unsaved data "
"will be lost. Save any data you need to, then click 'Reload' when ready."
msgstr ""
"Updating will reload all open instances of this app, and any unsaved data "
"will be lost. Save any data you need to, then click 'Reload' when ready."

msgid "Cancel"
msgstr "Cancel"

msgid "Reload"
msgstr "Reload"

msgid "An error occurred in the DHIS2 application."
msgstr "An error occurred in the DHIS2 application."
Expand Down Expand Up @@ -46,37 +71,3 @@ msgstr "Password"

msgid "Sign in"
msgstr "Sign in"

msgid "Save your data"
msgstr "Save your data"

msgid ""
"Updating will reload all {{n}} open instances of this app, and any unsaved "
"data will be lost. Save any data you need to, then click 'Reload' when "
"ready."
msgstr ""
"Updating will reload all {{n}} open instances of this app, and any unsaved "
"data will be lost. Save any data you need to, then click 'Reload' when "
"ready."

msgid ""
"Updating will reload all open instances of this app, and any unsaved data "
"will be lost. Save any data you need to, then click 'Reload' when ready."
msgstr ""
"Updating will reload all open instances of this app, and any unsaved data "
"will be lost. Save any data you need to, then click 'Reload' when ready."

msgid "Cancel"
msgstr "Cancel"

msgid "Reload"
msgstr "Reload"

msgid "There's an update available for this app."
msgstr "There's an update available for this app."

msgid "Update and reload"
msgstr "Update and reload"

msgid "Not now"
msgstr "Not now"
10 changes: 5 additions & 5 deletions adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dhis2/app-adapter",
"version": "10.0.0-beta.2",
"version": "10.3.10",
"repository": {
"type": "git",
"url": "https://github.com/amcgee/dhis2-app-platform",
Expand All @@ -21,11 +21,11 @@
"build"
],
"dependencies": {
"@dhis2/pwa": "10.0.0-beta.2",
"@dhis2/pwa": "10.3.10",
"moment": "^2.24.0"
},
"devDependencies": {
"@dhis2/cli-app-scripts": "10.0.0-beta.2",
"@dhis2/cli-app-scripts": "10.3.10",
"@testing-library/react": "^12.0.0",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.5",
Expand All @@ -37,9 +37,9 @@
"test": "d2-app-scripts test"
},
"peerDependencies": {
"@dhis2/app-runtime": "^3",
"@dhis2/app-runtime": "^3.5",
"@dhis2/d2-i18n": "^1",
"@dhis2/ui": ">=7",
"@dhis2/ui": ">=8.5",
"classnames": "^2",
"moment": "^2",
"prop-types": "^15",
Expand Down
9 changes: 6 additions & 3 deletions adapter/src/components/Alerts.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,12 @@ const Alerts = () => {
)

useEffect(() => {
if (alertManagerAlerts.length > 0 || alertStackAlerts.length > 0) {
setAlertStackAlerts(
mergeAlertStackAlerts(alertStackAlerts, alertManagerAlerts)
if (alertManagerAlerts.length > 0) {
setAlertStackAlerts((currentAlertStackAlerts) =>
mergeAlertStackAlerts(
currentAlertStackAlerts,
alertManagerAlerts
)
)
}
}, [alertManagerAlerts])
Expand Down
Loading
Loading