diff --git a/.husky/pre-push b/.husky/pre-push index 70f6f75ef..481eb1137 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -15,7 +15,7 @@ yarn yt:backend clean-test-db # yarn pm2 save # run tests one after the other to be sure the data doesn't overlap and make some of them fail -yarn test --ci --bail --forceExit +yarn test --ci --bail --forceExit --coverage # restart backends and parsers with 'development' environment # yarn pm2 restart -a --env development platforms/ecosystem.dev.config.js diff --git a/.yarn/cache/@babel-runtime-npm-7.20.1-8f9256f2ed-00567a333d.zip b/.yarn/cache/@babel-runtime-npm-7.20.1-8f9256f2ed-00567a333d.zip new file mode 100644 index 000000000..357ec9657 Binary files /dev/null and b/.yarn/cache/@babel-runtime-npm-7.20.1-8f9256f2ed-00567a333d.zip differ diff --git a/.yarn/cache/@material-ui-utils-npm-5.0.0-beta.5-3a2f71beeb-397d318861.zip b/.yarn/cache/@material-ui-utils-npm-5.0.0-beta.5-3a2f71beeb-397d318861.zip deleted file mode 100644 index 102b58bef..000000000 Binary files a/.yarn/cache/@material-ui-utils-npm-5.0.0-beta.5-3a2f71beeb-397d318861.zip and /dev/null differ diff --git a/.yarn/cache/@material-ui-x-license-npm-4.0.0-alpha.37-0a3717b097-71861879e4.zip b/.yarn/cache/@material-ui-x-license-npm-4.0.0-alpha.37-0a3717b097-71861879e4.zip deleted file mode 100644 index 964746ac3..000000000 Binary files a/.yarn/cache/@material-ui-x-license-npm-4.0.0-alpha.37-0a3717b097-71861879e4.zip and /dev/null differ diff --git a/.yarn/cache/@mui-utils-npm-5.10.14-254df22c29-8b30b0a2d2.zip b/.yarn/cache/@mui-utils-npm-5.10.14-254df22c29-8b30b0a2d2.zip new file mode 100644 index 000000000..ff5ef1540 Binary files /dev/null and b/.yarn/cache/@mui-utils-npm-5.10.14-254df22c29-8b30b0a2d2.zip differ diff --git a/.yarn/cache/@mui-x-data-grid-npm-5.12.3-f977f61a06-afe320b06a.zip b/.yarn/cache/@mui-x-data-grid-npm-5.12.3-f977f61a06-afe320b06a.zip deleted file mode 100644 index 4e7d69161..000000000 Binary files a/.yarn/cache/@mui-x-data-grid-npm-5.12.3-f977f61a06-afe320b06a.zip and /dev/null differ diff --git a/.yarn/cache/@mui-x-data-grid-npm-5.17.11-ed6fcdf726-ea64d67e6b.zip b/.yarn/cache/@mui-x-data-grid-npm-5.17.11-ed6fcdf726-ea64d67e6b.zip new file mode 100644 index 000000000..b4ce35034 Binary files /dev/null and b/.yarn/cache/@mui-x-data-grid-npm-5.17.11-ed6fcdf726-ea64d67e6b.zip differ diff --git a/.yarn/cache/@react-theming-storybook-addon-npm-1.1.7-f55998d2be-dc8ec3a7eb.zip b/.yarn/cache/@react-theming-storybook-addon-npm-1.1.10-7395cee532-cd0557c01b.zip similarity index 95% rename from .yarn/cache/@react-theming-storybook-addon-npm-1.1.7-f55998d2be-dc8ec3a7eb.zip rename to .yarn/cache/@react-theming-storybook-addon-npm-1.1.10-7395cee532-cd0557c01b.zip index 1098f590d..672b17aa7 100644 Binary files a/.yarn/cache/@react-theming-storybook-addon-npm-1.1.7-f55998d2be-dc8ec3a7eb.zip and b/.yarn/cache/@react-theming-storybook-addon-npm-1.1.10-7395cee532-cd0557c01b.zip differ diff --git a/.yarn/cache/@storybook-addon-actions-npm-6.5.13-c87e087712-2679174b14.zip b/.yarn/cache/@storybook-addon-actions-npm-6.5.14-12467dd890-536a5afb4b.zip similarity index 92% rename from .yarn/cache/@storybook-addon-actions-npm-6.5.13-c87e087712-2679174b14.zip rename to .yarn/cache/@storybook-addon-actions-npm-6.5.14-12467dd890-536a5afb4b.zip index ae62e229e..ce8934c54 100644 Binary files a/.yarn/cache/@storybook-addon-actions-npm-6.5.13-c87e087712-2679174b14.zip and b/.yarn/cache/@storybook-addon-actions-npm-6.5.14-12467dd890-536a5afb4b.zip differ diff --git a/.yarn/cache/@storybook-addon-backgrounds-npm-6.5.13-fd2b59f76b-1b18255e0d.zip b/.yarn/cache/@storybook-addon-backgrounds-npm-6.5.14-9f5c616743-10e7833578.zip similarity index 89% rename from .yarn/cache/@storybook-addon-backgrounds-npm-6.5.13-fd2b59f76b-1b18255e0d.zip rename to .yarn/cache/@storybook-addon-backgrounds-npm-6.5.14-9f5c616743-10e7833578.zip index 744ed8aec..2d41dd471 100644 Binary files a/.yarn/cache/@storybook-addon-backgrounds-npm-6.5.13-fd2b59f76b-1b18255e0d.zip and b/.yarn/cache/@storybook-addon-backgrounds-npm-6.5.14-9f5c616743-10e7833578.zip differ diff --git a/.yarn/cache/@storybook-addon-controls-npm-6.5.13-71c8b111ed-a4f8633268.zip b/.yarn/cache/@storybook-addon-controls-npm-6.5.14-75d4ea6ee3-cebb9b33f9.zip similarity index 88% rename from .yarn/cache/@storybook-addon-controls-npm-6.5.13-71c8b111ed-a4f8633268.zip rename to .yarn/cache/@storybook-addon-controls-npm-6.5.14-75d4ea6ee3-cebb9b33f9.zip index 1ab883a67..0e9b468cb 100644 Binary files a/.yarn/cache/@storybook-addon-controls-npm-6.5.13-71c8b111ed-a4f8633268.zip and b/.yarn/cache/@storybook-addon-controls-npm-6.5.14-75d4ea6ee3-cebb9b33f9.zip differ diff --git a/.yarn/cache/@storybook-addon-docs-npm-6.5.13-1dd9c770f4-41755593a2.zip b/.yarn/cache/@storybook-addon-docs-npm-6.5.14-f5a3128720-1fbeea31f1.zip similarity index 95% rename from .yarn/cache/@storybook-addon-docs-npm-6.5.13-1dd9c770f4-41755593a2.zip rename to .yarn/cache/@storybook-addon-docs-npm-6.5.14-f5a3128720-1fbeea31f1.zip index 8dc9e083a..b8f8fbf70 100644 Binary files a/.yarn/cache/@storybook-addon-docs-npm-6.5.13-1dd9c770f4-41755593a2.zip and b/.yarn/cache/@storybook-addon-docs-npm-6.5.14-f5a3128720-1fbeea31f1.zip differ diff --git a/.yarn/cache/@storybook-addon-essentials-npm-6.5.13-cbf57546e6-a7b1b34c7f.zip b/.yarn/cache/@storybook-addon-essentials-npm-6.5.14-48d13550f2-2f0b5d67e1.zip similarity index 83% rename from .yarn/cache/@storybook-addon-essentials-npm-6.5.13-cbf57546e6-a7b1b34c7f.zip rename to .yarn/cache/@storybook-addon-essentials-npm-6.5.14-48d13550f2-2f0b5d67e1.zip index b341397db..3744bf2d6 100644 Binary files a/.yarn/cache/@storybook-addon-essentials-npm-6.5.13-cbf57546e6-a7b1b34c7f.zip and b/.yarn/cache/@storybook-addon-essentials-npm-6.5.14-48d13550f2-2f0b5d67e1.zip differ diff --git a/.yarn/cache/@storybook-addon-interactions-npm-6.5.13-ddf1fe3273-5c940dc55b.zip b/.yarn/cache/@storybook-addon-interactions-npm-6.5.14-a10d498216-50f5cd4258.zip similarity index 96% rename from .yarn/cache/@storybook-addon-interactions-npm-6.5.13-ddf1fe3273-5c940dc55b.zip rename to .yarn/cache/@storybook-addon-interactions-npm-6.5.14-a10d498216-50f5cd4258.zip index a5e7f6865..18e90163b 100644 Binary files a/.yarn/cache/@storybook-addon-interactions-npm-6.5.13-ddf1fe3273-5c940dc55b.zip and b/.yarn/cache/@storybook-addon-interactions-npm-6.5.14-a10d498216-50f5cd4258.zip differ diff --git a/.yarn/cache/@storybook-addon-links-npm-6.5.13-e7115940f1-0bbe146523.zip b/.yarn/cache/@storybook-addon-links-npm-6.5.14-b982ebbe6e-7dc537aab3.zip similarity index 97% rename from .yarn/cache/@storybook-addon-links-npm-6.5.13-e7115940f1-0bbe146523.zip rename to .yarn/cache/@storybook-addon-links-npm-6.5.14-b982ebbe6e-7dc537aab3.zip index ea7d31ced..b9d24c8fd 100644 Binary files a/.yarn/cache/@storybook-addon-links-npm-6.5.13-e7115940f1-0bbe146523.zip and b/.yarn/cache/@storybook-addon-links-npm-6.5.14-b982ebbe6e-7dc537aab3.zip differ diff --git a/.yarn/cache/@storybook-addon-measure-npm-6.5.13-e87716abca-4bf1823f83.zip b/.yarn/cache/@storybook-addon-measure-npm-6.5.14-2379006852-e6adcde744.zip similarity index 93% rename from .yarn/cache/@storybook-addon-measure-npm-6.5.13-e87716abca-4bf1823f83.zip rename to .yarn/cache/@storybook-addon-measure-npm-6.5.14-2379006852-e6adcde744.zip index dc6094d09..05f363145 100644 Binary files a/.yarn/cache/@storybook-addon-measure-npm-6.5.13-e87716abca-4bf1823f83.zip and b/.yarn/cache/@storybook-addon-measure-npm-6.5.14-2379006852-e6adcde744.zip differ diff --git a/.yarn/cache/@storybook-addon-outline-npm-6.5.13-3dbfd5b638-f9ea9278ba.zip b/.yarn/cache/@storybook-addon-outline-npm-6.5.14-77667caad3-e38d860cef.zip similarity index 95% rename from .yarn/cache/@storybook-addon-outline-npm-6.5.13-3dbfd5b638-f9ea9278ba.zip rename to .yarn/cache/@storybook-addon-outline-npm-6.5.14-77667caad3-e38d860cef.zip index 6c4b23688..973fed8e8 100644 Binary files a/.yarn/cache/@storybook-addon-outline-npm-6.5.13-3dbfd5b638-f9ea9278ba.zip and b/.yarn/cache/@storybook-addon-outline-npm-6.5.14-77667caad3-e38d860cef.zip differ diff --git a/.yarn/cache/@storybook-addon-toolbars-npm-6.5.13-a49e99ffdd-ec85023ffd.zip b/.yarn/cache/@storybook-addon-toolbars-npm-6.5.14-de6e55f25d-99e39310c2.zip similarity index 93% rename from .yarn/cache/@storybook-addon-toolbars-npm-6.5.13-a49e99ffdd-ec85023ffd.zip rename to .yarn/cache/@storybook-addon-toolbars-npm-6.5.14-de6e55f25d-99e39310c2.zip index d8c521ed3..6d2bd53cd 100644 Binary files a/.yarn/cache/@storybook-addon-toolbars-npm-6.5.13-a49e99ffdd-ec85023ffd.zip and b/.yarn/cache/@storybook-addon-toolbars-npm-6.5.14-de6e55f25d-99e39310c2.zip differ diff --git a/.yarn/cache/@storybook-addon-viewport-npm-6.5.13-aff5fa0e1e-ff602c8080.zip b/.yarn/cache/@storybook-addon-viewport-npm-6.5.14-8dbb73f28b-66f66715d3.zip similarity index 91% rename from .yarn/cache/@storybook-addon-viewport-npm-6.5.13-aff5fa0e1e-ff602c8080.zip rename to .yarn/cache/@storybook-addon-viewport-npm-6.5.14-8dbb73f28b-66f66715d3.zip index c80eed3ca..f46e98ede 100644 Binary files a/.yarn/cache/@storybook-addon-viewport-npm-6.5.13-aff5fa0e1e-ff602c8080.zip and b/.yarn/cache/@storybook-addon-viewport-npm-6.5.14-8dbb73f28b-66f66715d3.zip differ diff --git a/.yarn/cache/@storybook-addons-npm-6.5.14-89cab29f89-99d06641ba.zip b/.yarn/cache/@storybook-addons-npm-6.5.14-89cab29f89-99d06641ba.zip new file mode 100644 index 000000000..a19cc75aa Binary files /dev/null and b/.yarn/cache/@storybook-addons-npm-6.5.14-89cab29f89-99d06641ba.zip differ diff --git a/.yarn/cache/@storybook-api-npm-6.5.14-2a8a426bba-0d421c3211.zip b/.yarn/cache/@storybook-api-npm-6.5.14-2a8a426bba-0d421c3211.zip new file mode 100644 index 000000000..2bcca94bb Binary files /dev/null and b/.yarn/cache/@storybook-api-npm-6.5.14-2a8a426bba-0d421c3211.zip differ diff --git a/.yarn/cache/@storybook-builder-webpack4-npm-6.5.13-aeacd78720-a95fea3951.zip b/.yarn/cache/@storybook-builder-webpack4-npm-6.5.14-cf6facf18e-16749d2d03.zip similarity index 94% rename from .yarn/cache/@storybook-builder-webpack4-npm-6.5.13-aeacd78720-a95fea3951.zip rename to .yarn/cache/@storybook-builder-webpack4-npm-6.5.14-cf6facf18e-16749d2d03.zip index 4f9d8783f..ab911cd08 100644 Binary files a/.yarn/cache/@storybook-builder-webpack4-npm-6.5.13-aeacd78720-a95fea3951.zip and b/.yarn/cache/@storybook-builder-webpack4-npm-6.5.14-cf6facf18e-16749d2d03.zip differ diff --git a/.yarn/cache/@storybook-builder-webpack5-npm-6.5.13-fcd71cd3ce-f980ab5c83.zip b/.yarn/cache/@storybook-builder-webpack5-npm-6.5.14-048bb9e46a-3aa60285ba.zip similarity index 95% rename from .yarn/cache/@storybook-builder-webpack5-npm-6.5.13-fcd71cd3ce-f980ab5c83.zip rename to .yarn/cache/@storybook-builder-webpack5-npm-6.5.14-048bb9e46a-3aa60285ba.zip index caefff215..744cbb707 100644 Binary files a/.yarn/cache/@storybook-builder-webpack5-npm-6.5.13-fcd71cd3ce-f980ab5c83.zip and b/.yarn/cache/@storybook-builder-webpack5-npm-6.5.14-048bb9e46a-3aa60285ba.zip differ diff --git a/.yarn/cache/@storybook-channel-postmessage-npm-6.5.13-9b45c68c33-8d6ccfff2a.zip b/.yarn/cache/@storybook-channel-postmessage-npm-6.5.14-a6254145d0-2ea7aed1e4.zip similarity index 92% rename from .yarn/cache/@storybook-channel-postmessage-npm-6.5.13-9b45c68c33-8d6ccfff2a.zip rename to .yarn/cache/@storybook-channel-postmessage-npm-6.5.14-a6254145d0-2ea7aed1e4.zip index a987c5632..18622de94 100644 Binary files a/.yarn/cache/@storybook-channel-postmessage-npm-6.5.13-9b45c68c33-8d6ccfff2a.zip and b/.yarn/cache/@storybook-channel-postmessage-npm-6.5.14-a6254145d0-2ea7aed1e4.zip differ diff --git a/.yarn/cache/@storybook-channel-websocket-npm-6.5.13-35b56342ff-16e3b1a51a.zip b/.yarn/cache/@storybook-channel-websocket-npm-6.5.14-4ead76a08e-76bd573489.zip similarity index 86% rename from .yarn/cache/@storybook-channel-websocket-npm-6.5.13-35b56342ff-16e3b1a51a.zip rename to .yarn/cache/@storybook-channel-websocket-npm-6.5.14-4ead76a08e-76bd573489.zip index 1f3d56808..b3751a737 100644 Binary files a/.yarn/cache/@storybook-channel-websocket-npm-6.5.13-35b56342ff-16e3b1a51a.zip and b/.yarn/cache/@storybook-channel-websocket-npm-6.5.14-4ead76a08e-76bd573489.zip differ diff --git a/.yarn/cache/@storybook-channels-npm-6.5.14-9e451054bb-ff1ee3fea3.zip b/.yarn/cache/@storybook-channels-npm-6.5.14-9e451054bb-ff1ee3fea3.zip new file mode 100644 index 000000000..41b7c1537 Binary files /dev/null and b/.yarn/cache/@storybook-channels-npm-6.5.14-9e451054bb-ff1ee3fea3.zip differ diff --git a/.yarn/cache/@storybook-client-api-npm-6.5.13-9e2abd4d1f-b0af25786b.zip b/.yarn/cache/@storybook-client-api-npm-6.5.14-c46568f1a5-46fe2bec19.zip similarity index 94% rename from .yarn/cache/@storybook-client-api-npm-6.5.13-9e2abd4d1f-b0af25786b.zip rename to .yarn/cache/@storybook-client-api-npm-6.5.14-c46568f1a5-46fe2bec19.zip index a8c1279c2..3f53eb1a1 100644 Binary files a/.yarn/cache/@storybook-client-api-npm-6.5.13-9e2abd4d1f-b0af25786b.zip and b/.yarn/cache/@storybook-client-api-npm-6.5.14-c46568f1a5-46fe2bec19.zip differ diff --git a/.yarn/cache/@storybook-client-logger-npm-6.5.14-89c2edc860-29cc0b58db.zip b/.yarn/cache/@storybook-client-logger-npm-6.5.14-89c2edc860-29cc0b58db.zip new file mode 100644 index 000000000..eb1b8909d Binary files /dev/null and b/.yarn/cache/@storybook-client-logger-npm-6.5.14-89c2edc860-29cc0b58db.zip differ diff --git a/.yarn/cache/@storybook-components-npm-6.5.13-f35259c4e0-5d01c0f445.zip b/.yarn/cache/@storybook-components-npm-6.5.14-f0621adc55-73d0ff418f.zip similarity index 99% rename from .yarn/cache/@storybook-components-npm-6.5.13-f35259c4e0-5d01c0f445.zip rename to .yarn/cache/@storybook-components-npm-6.5.14-f0621adc55-73d0ff418f.zip index d3a345e43..d2301a781 100644 Binary files a/.yarn/cache/@storybook-components-npm-6.5.13-f35259c4e0-5d01c0f445.zip and b/.yarn/cache/@storybook-components-npm-6.5.14-f0621adc55-73d0ff418f.zip differ diff --git a/.yarn/cache/@storybook-core-client-npm-6.5.13-17eb95de25-c4350b1b57.zip b/.yarn/cache/@storybook-core-client-npm-6.5.14-a0c9f388f9-ff867021ab.zip similarity index 92% rename from .yarn/cache/@storybook-core-client-npm-6.5.13-17eb95de25-c4350b1b57.zip rename to .yarn/cache/@storybook-core-client-npm-6.5.14-a0c9f388f9-ff867021ab.zip index c6801ecd3..ffcd41346 100644 Binary files a/.yarn/cache/@storybook-core-client-npm-6.5.13-17eb95de25-c4350b1b57.zip and b/.yarn/cache/@storybook-core-client-npm-6.5.14-a0c9f388f9-ff867021ab.zip differ diff --git a/.yarn/cache/@storybook-core-common-npm-6.5.13-49981d30f1-369fbe41e9.zip b/.yarn/cache/@storybook-core-common-npm-6.5.14-d6aa008a56-a1cd6e9752.zip similarity index 99% rename from .yarn/cache/@storybook-core-common-npm-6.5.13-49981d30f1-369fbe41e9.zip rename to .yarn/cache/@storybook-core-common-npm-6.5.14-d6aa008a56-a1cd6e9752.zip index f7f73d4f5..1914e36df 100644 Binary files a/.yarn/cache/@storybook-core-common-npm-6.5.13-49981d30f1-369fbe41e9.zip and b/.yarn/cache/@storybook-core-common-npm-6.5.14-d6aa008a56-a1cd6e9752.zip differ diff --git a/.yarn/cache/@storybook-core-events-npm-6.5.14-1e01df4906-6787925c52.zip b/.yarn/cache/@storybook-core-events-npm-6.5.14-1e01df4906-6787925c52.zip new file mode 100644 index 000000000..51e6b34d4 Binary files /dev/null and b/.yarn/cache/@storybook-core-events-npm-6.5.14-1e01df4906-6787925c52.zip differ diff --git a/.yarn/cache/@storybook-core-npm-6.5.13-d0c9f72666-e0dbe5d8d5.zip b/.yarn/cache/@storybook-core-npm-6.5.14-190ef7e48f-16a2b8c589.zip similarity index 78% rename from .yarn/cache/@storybook-core-npm-6.5.13-d0c9f72666-e0dbe5d8d5.zip rename to .yarn/cache/@storybook-core-npm-6.5.14-190ef7e48f-16a2b8c589.zip index a99e0840c..e1a2210a0 100644 Binary files a/.yarn/cache/@storybook-core-npm-6.5.13-d0c9f72666-e0dbe5d8d5.zip and b/.yarn/cache/@storybook-core-npm-6.5.14-190ef7e48f-16a2b8c589.zip differ diff --git a/.yarn/cache/@storybook-core-server-npm-6.5.13-53e03d05a0-142b13ef4f.zip b/.yarn/cache/@storybook-core-server-npm-6.5.14-f8d433fb81-ca61b13ff0.zip similarity index 96% rename from .yarn/cache/@storybook-core-server-npm-6.5.13-53e03d05a0-142b13ef4f.zip rename to .yarn/cache/@storybook-core-server-npm-6.5.14-f8d433fb81-ca61b13ff0.zip index 9247b7148..3f119cc28 100644 Binary files a/.yarn/cache/@storybook-core-server-npm-6.5.13-53e03d05a0-142b13ef4f.zip and b/.yarn/cache/@storybook-core-server-npm-6.5.14-f8d433fb81-ca61b13ff0.zip differ diff --git a/.yarn/cache/@storybook-csf-tools-npm-6.5.13-2b643e6735-2b8a5bed04.zip b/.yarn/cache/@storybook-csf-tools-npm-6.5.14-cea5eda901-12e6bb4d9d.zip similarity index 96% rename from .yarn/cache/@storybook-csf-tools-npm-6.5.13-2b643e6735-2b8a5bed04.zip rename to .yarn/cache/@storybook-csf-tools-npm-6.5.14-cea5eda901-12e6bb4d9d.zip index ab7fc7582..7a6242e98 100644 Binary files a/.yarn/cache/@storybook-csf-tools-npm-6.5.13-2b643e6735-2b8a5bed04.zip and b/.yarn/cache/@storybook-csf-tools-npm-6.5.14-cea5eda901-12e6bb4d9d.zip differ diff --git a/.yarn/cache/@storybook-docs-tools-npm-6.5.13-7e20549641-d3ad467492.zip b/.yarn/cache/@storybook-docs-tools-npm-6.5.14-25ff302e5b-1a69dae1f9.zip similarity index 92% rename from .yarn/cache/@storybook-docs-tools-npm-6.5.13-7e20549641-d3ad467492.zip rename to .yarn/cache/@storybook-docs-tools-npm-6.5.14-25ff302e5b-1a69dae1f9.zip index 2f40dbd45..bf809e853 100644 Binary files a/.yarn/cache/@storybook-docs-tools-npm-6.5.13-7e20549641-d3ad467492.zip and b/.yarn/cache/@storybook-docs-tools-npm-6.5.14-25ff302e5b-1a69dae1f9.zip differ diff --git a/.yarn/cache/@storybook-instrumenter-npm-6.5.14-94e2596393-99d4809680.zip b/.yarn/cache/@storybook-instrumenter-npm-6.5.14-94e2596393-99d4809680.zip new file mode 100644 index 000000000..8bf0be196 Binary files /dev/null and b/.yarn/cache/@storybook-instrumenter-npm-6.5.14-94e2596393-99d4809680.zip differ diff --git a/.yarn/cache/@storybook-manager-webpack4-npm-6.5.13-fc02a6ff3a-6645f30b61.zip b/.yarn/cache/@storybook-manager-webpack4-npm-6.5.14-f1499af8e2-c8547b64f8.zip similarity index 72% rename from .yarn/cache/@storybook-manager-webpack4-npm-6.5.13-fc02a6ff3a-6645f30b61.zip rename to .yarn/cache/@storybook-manager-webpack4-npm-6.5.14-f1499af8e2-c8547b64f8.zip index a9757ea29..4a54dd0d5 100644 Binary files a/.yarn/cache/@storybook-manager-webpack4-npm-6.5.13-fc02a6ff3a-6645f30b61.zip and b/.yarn/cache/@storybook-manager-webpack4-npm-6.5.14-f1499af8e2-c8547b64f8.zip differ diff --git a/.yarn/cache/@storybook-manager-webpack5-npm-6.5.13-1b7803b648-95e720d00e.zip b/.yarn/cache/@storybook-manager-webpack5-npm-6.5.14-57955b97c3-1fe525b777.zip similarity index 72% rename from .yarn/cache/@storybook-manager-webpack5-npm-6.5.13-1b7803b648-95e720d00e.zip rename to .yarn/cache/@storybook-manager-webpack5-npm-6.5.14-57955b97c3-1fe525b777.zip index 6ce580e33..dffb2eb6a 100644 Binary files a/.yarn/cache/@storybook-manager-webpack5-npm-6.5.13-1b7803b648-95e720d00e.zip and b/.yarn/cache/@storybook-manager-webpack5-npm-6.5.14-57955b97c3-1fe525b777.zip differ diff --git a/.yarn/cache/@storybook-node-logger-npm-6.5.13-9b8430e9af-bcd1d98822.zip b/.yarn/cache/@storybook-node-logger-npm-6.5.14-49a67f739b-d36d17816b.zip similarity index 78% rename from .yarn/cache/@storybook-node-logger-npm-6.5.13-9b8430e9af-bcd1d98822.zip rename to .yarn/cache/@storybook-node-logger-npm-6.5.14-49a67f739b-d36d17816b.zip index 55feca458..0aee368a4 100644 Binary files a/.yarn/cache/@storybook-node-logger-npm-6.5.13-9b8430e9af-bcd1d98822.zip and b/.yarn/cache/@storybook-node-logger-npm-6.5.14-49a67f739b-d36d17816b.zip differ diff --git a/.yarn/cache/@storybook-postinstall-npm-6.5.13-2876571799-87e57e55c7.zip b/.yarn/cache/@storybook-postinstall-npm-6.5.14-8dcef44997-7f5cec2cca.zip similarity index 89% rename from .yarn/cache/@storybook-postinstall-npm-6.5.13-2876571799-87e57e55c7.zip rename to .yarn/cache/@storybook-postinstall-npm-6.5.14-8dcef44997-7f5cec2cca.zip index fbf614605..37ff2eef8 100644 Binary files a/.yarn/cache/@storybook-postinstall-npm-6.5.13-2876571799-87e57e55c7.zip and b/.yarn/cache/@storybook-postinstall-npm-6.5.14-8dcef44997-7f5cec2cca.zip differ diff --git a/.yarn/cache/@storybook-preview-web-npm-6.5.13-5c97598fdf-d66d29667a.zip b/.yarn/cache/@storybook-preview-web-npm-6.5.14-e34935fd73-ef4d2222fe.zip similarity index 77% rename from .yarn/cache/@storybook-preview-web-npm-6.5.13-5c97598fdf-d66d29667a.zip rename to .yarn/cache/@storybook-preview-web-npm-6.5.14-e34935fd73-ef4d2222fe.zip index 7748814b5..99ba04e37 100644 Binary files a/.yarn/cache/@storybook-preview-web-npm-6.5.13-5c97598fdf-d66d29667a.zip and b/.yarn/cache/@storybook-preview-web-npm-6.5.14-e34935fd73-ef4d2222fe.zip differ diff --git a/.yarn/cache/@storybook-react-npm-6.5.13-a3e3de31d4-5a21e4e49a.zip b/.yarn/cache/@storybook-react-npm-6.5.14-40801465c8-b94b7b3ef1.zip similarity index 94% rename from .yarn/cache/@storybook-react-npm-6.5.13-a3e3de31d4-5a21e4e49a.zip rename to .yarn/cache/@storybook-react-npm-6.5.14-40801465c8-b94b7b3ef1.zip index d0c912953..c894342ff 100644 Binary files a/.yarn/cache/@storybook-react-npm-6.5.13-a3e3de31d4-5a21e4e49a.zip and b/.yarn/cache/@storybook-react-npm-6.5.14-40801465c8-b94b7b3ef1.zip differ diff --git a/.yarn/cache/@storybook-router-npm-6.5.14-41947fcbd4-ec2550568c.zip b/.yarn/cache/@storybook-router-npm-6.5.14-41947fcbd4-ec2550568c.zip new file mode 100644 index 000000000..9dc195b81 Binary files /dev/null and b/.yarn/cache/@storybook-router-npm-6.5.14-41947fcbd4-ec2550568c.zip differ diff --git a/.yarn/cache/@storybook-source-loader-npm-6.5.13-1c6543074f-93da14a367.zip b/.yarn/cache/@storybook-source-loader-npm-6.5.14-f7286a9649-81f8908a31.zip similarity index 96% rename from .yarn/cache/@storybook-source-loader-npm-6.5.13-1c6543074f-93da14a367.zip rename to .yarn/cache/@storybook-source-loader-npm-6.5.14-f7286a9649-81f8908a31.zip index 464398cad..9f2d3bb71 100644 Binary files a/.yarn/cache/@storybook-source-loader-npm-6.5.13-1c6543074f-93da14a367.zip and b/.yarn/cache/@storybook-source-loader-npm-6.5.14-f7286a9649-81f8908a31.zip differ diff --git a/.yarn/cache/@storybook-store-npm-6.5.13-9afd4f2c08-69f55927bd.zip b/.yarn/cache/@storybook-store-npm-6.5.14-45f30c8ad3-7330a2492c.zip similarity index 98% rename from .yarn/cache/@storybook-store-npm-6.5.13-9afd4f2c08-69f55927bd.zip rename to .yarn/cache/@storybook-store-npm-6.5.14-45f30c8ad3-7330a2492c.zip index eef7c8d34..a61f21836 100644 Binary files a/.yarn/cache/@storybook-store-npm-6.5.13-9afd4f2c08-69f55927bd.zip and b/.yarn/cache/@storybook-store-npm-6.5.14-45f30c8ad3-7330a2492c.zip differ diff --git a/.yarn/cache/@storybook-telemetry-npm-6.5.13-8c55e244ed-94ad6fb58b.zip b/.yarn/cache/@storybook-telemetry-npm-6.5.14-7210305bb0-6f6323fe0e.zip similarity index 97% rename from .yarn/cache/@storybook-telemetry-npm-6.5.13-8c55e244ed-94ad6fb58b.zip rename to .yarn/cache/@storybook-telemetry-npm-6.5.14-7210305bb0-6f6323fe0e.zip index f9d4cd8f2..11cf181ad 100644 Binary files a/.yarn/cache/@storybook-telemetry-npm-6.5.13-8c55e244ed-94ad6fb58b.zip and b/.yarn/cache/@storybook-telemetry-npm-6.5.14-7210305bb0-6f6323fe0e.zip differ diff --git a/.yarn/cache/@storybook-theming-npm-6.5.14-3f9bba346b-d139325dd5.zip b/.yarn/cache/@storybook-theming-npm-6.5.14-3f9bba346b-d139325dd5.zip new file mode 100644 index 000000000..c0d410d9e Binary files /dev/null and b/.yarn/cache/@storybook-theming-npm-6.5.14-3f9bba346b-d139325dd5.zip differ diff --git a/.yarn/cache/@storybook-ui-npm-6.5.13-fe509c86bc-d2866987f5.zip b/.yarn/cache/@storybook-ui-npm-6.5.14-c4b58b88ff-898bf81d9a.zip similarity index 99% rename from .yarn/cache/@storybook-ui-npm-6.5.13-fe509c86bc-d2866987f5.zip rename to .yarn/cache/@storybook-ui-npm-6.5.14-c4b58b88ff-898bf81d9a.zip index 01167c8d5..9d3eab1cf 100644 Binary files a/.yarn/cache/@storybook-ui-npm-6.5.13-fe509c86bc-d2866987f5.zip and b/.yarn/cache/@storybook-ui-npm-6.5.14-c4b58b88ff-898bf81d9a.zip differ diff --git a/.yarn/cache/esm-npm-3.2.25-762b3ebd40-978aabe2de.zip b/.yarn/cache/esm-npm-3.2.25-762b3ebd40-978aabe2de.zip deleted file mode 100644 index c1bfaf13f..000000000 Binary files a/.yarn/cache/esm-npm-3.2.25-762b3ebd40-978aabe2de.zip and /dev/null differ diff --git a/.yarn/cache/loader-utils-npm-2.0.4-ba3800585b-a5281f5fff.zip b/.yarn/cache/loader-utils-npm-2.0.4-ba3800585b-a5281f5fff.zip new file mode 100644 index 000000000..4600246f5 Binary files /dev/null and b/.yarn/cache/loader-utils-npm-2.0.4-ba3800585b-a5281f5fff.zip differ diff --git a/.yarn/cache/regenerator-runtime-npm-0.13.11-90bf536060-27481628d2.zip b/.yarn/cache/regenerator-runtime-npm-0.13.11-90bf536060-27481628d2.zip new file mode 100644 index 000000000..599a0d4ee Binary files /dev/null and b/.yarn/cache/regenerator-runtime-npm-0.13.11-90bf536060-27481628d2.zip differ diff --git a/platforms/ycai/studio/__mocks__/fileMock.js b/__mocks__/fileMock.js similarity index 100% rename from platforms/ycai/studio/__mocks__/fileMock.js rename to __mocks__/fileMock.js diff --git a/platforms/ycai/studio/__mocks__/styleMock.js b/__mocks__/styleMock.js similarity index 100% rename from platforms/ycai/studio/__mocks__/styleMock.js rename to __mocks__/styleMock.js diff --git a/jest.config.base.js b/jest.config.base.js index 641dc0a2a..5486d1531 100644 --- a/jest.config.base.js +++ b/jest.config.base.js @@ -30,9 +30,9 @@ module.exports = { coverageThreshold: { global: { branches: 30, - functions: 60, - lines: 60, - statements: 60, + functions: 44, + lines: 53, + statements: 54, }, }, coveragePathIgnorePatterns: [ diff --git a/package.json b/package.json index a6014af3f..2aab4b009 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "@types/react": "^17" }, "dependencies": { - "@react-theming/storybook-addon": "^1.1.7", + "@react-theming/storybook-addon": "^1.1.10", "pm2": "^5.2.2" } } diff --git a/packages/shared/jest.config.js b/packages/shared/jest.config.js index bae50ef7e..3fffb5d71 100644 --- a/packages/shared/jest.config.js +++ b/packages/shared/jest.config.js @@ -3,9 +3,11 @@ const jestBaseConfig = require('../../jest.config.base'); /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ module.exports = { ...jestBaseConfig, - rootDir: __dirname, testEnvironment: 'jsdom', displayName: '@shared', + moduleNameMapper: { + '\\.(css)$': '/../../__mocks__/styleMock.js', + }, modulePathIgnorePatterns: [ ...jestBaseConfig.modulePathIgnorePatterns, 'profiles', diff --git a/packages/shared/src/components/Error/ErrorBox.tsx b/packages/shared/src/components/Error/ErrorBox.tsx index 4430fcdab..8176699a8 100644 --- a/packages/shared/src/components/Error/ErrorBox.tsx +++ b/packages/shared/src/components/Error/ErrorBox.tsx @@ -1,4 +1,4 @@ -import { Card, CardContent, Typography } from '@material-ui/core'; +import { Card } from '@material-ui/core'; import { Alert, AlertTitle } from '@material-ui/lab'; import * as React from 'react'; import { isAPIError } from '../../errors/APIError'; @@ -10,25 +10,20 @@ export const ErrorBox = (e: unknown): React.ReactElement => { const errorName = isAPIError(e) ? e.name : 'Error'; const message = isAPIError(e) ? e.message : 'Unknown Error'; return ( - - + + {errorName}

{message}

{isAPIError(e) && e.details?.kind === 'DecodingError' ? ( -
    - {(e.details.errors ?? []).map((d: any) => ( -
  • {d}
  • - ))} -
+
+
    + {((e.details.errors as any[]) ?? []).map((d: any) => ( +
  • {d}
  • + ))} +
+
) : null}
- - - Debug -
-          {JSON.stringify(e, null, 2)}
-        
-
); }; diff --git a/packages/shared/src/components/ErrorModal/errorModal.css b/packages/shared/src/components/ErrorModal/errorModal.css index 01145870a..c7f876fe1 100644 --- a/packages/shared/src/components/ErrorModal/errorModal.css +++ b/packages/shared/src/components/ErrorModal/errorModal.css @@ -1,7 +1,8 @@ -.ErrorModal{ +.ErrorModal { width: 100%; max-width: 500px; overflow: hidden; + background: white; border: 2px solid #de605f; border-radius: 3px; justify-content: space-between; diff --git a/packages/shared/src/components/ErrorModal/index.tsx b/packages/shared/src/components/ErrorModal/index.tsx index 44c4f794b..afc141760 100644 --- a/packages/shared/src/components/ErrorModal/index.tsx +++ b/packages/shared/src/components/ErrorModal/index.tsx @@ -10,11 +10,12 @@ export interface ErrorModalProps { message: string; details: string[]; position?: string[]; + style?: React.CSSProperties; onClick: (action: string) => void; } const ErrorModal = (props: ErrorModalProps): JSX.Element => { - const { name, message, details, position, onClick } = props; + const { name, message, details, position, style, onClick } = props; const [detailsShown, setDetailsShown] = React.useState(false); const handleDetailsClick = (): void => { @@ -25,7 +26,7 @@ const ErrorModal = (props: ErrorModalProps): JSX.Element => { }; return ( - +
{ })} >