slice-machine-ui 2.16.2-beta.1 → 2.16.2-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/out/404.html +1 -1
- package/out/_next/static/chunks/397-e6c340070a3bcb41.js +1 -0
- package/out/_next/static/chunks/pages/{_app-4f1854df4dfc747d.js → _app-472afac7b4805ab7.js} +46 -46
- package/out/_next/static/chunks/pages/custom-types/{[customTypeId]-61a3846ae1654f54.js → [customTypeId]-389d1b7a492fb3e7.js} +1 -1
- package/out/_next/static/chunks/pages/{custom-types-093f2e2213561492.js → custom-types-2a5fd94ee42ba593.js} +1 -1
- package/out/_next/static/chunks/pages/{index-0e27ae9805b59004.js → index-02dd147957c8b40f.js} +1 -1
- package/out/_next/static/chunks/pages/page-types/{[pageTypeId]-91a4eb622fa3cb7c.js → [pageTypeId]-3589bd1f9138a97b.js} +1 -1
- package/out/_next/static/chunks/pages/{settings-0da3553b3a0acc99.js → settings-170379902605f38a.js} +1 -1
- package/out/_next/static/chunks/pages/slices/[lib]/[sliceName]/{[variation]-c71823bf02dc292d.js → [variation]-6de02b8ed13b680d.js} +1 -1
- package/out/_next/static/chunks/pages/{slices-7e816c2b32cc6f19.js → slices-071bb494907adf0f.js} +1 -1
- package/out/_next/static/css/{f0e6d8449ce2bb46.css → 9c9a7de81f9ac811.css} +1 -1
- package/out/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js +1 -0
- package/out/changelog.html +1 -1
- package/out/changes.html +1 -1
- package/out/custom-types/[customTypeId].html +1 -1
- package/out/custom-types.html +1 -1
- package/out/index.html +1 -1
- package/out/labs.html +1 -1
- package/out/page-types/[pageTypeId].html +1 -1
- package/out/settings.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation]/simulator.html +1 -1
- package/out/slices/[lib]/[sliceName]/[variation].html +1 -1
- package/out/slices.html +1 -1
- package/package.json +3 -3
- package/src/legacy/components/App/index.tsx +0 -2
- package/src/modules/loading/types.ts +0 -1
- package/src/modules/useSliceMachineActions.ts +0 -23
- package/src/modules/userContext/index.ts +1 -33
- package/src/modules/userContext/types.ts +0 -13
- package/src/styles/modal.css +0 -22
- package/test/src/modules/userContext.test.ts +1 -50
- package/out/_next/static/9BX45OSSCQeaYmYslFbMt/_buildManifest.js +0 -1
- package/src/legacy/components/ReviewModal/ReviewForm.tsx +0 -169
- package/src/legacy/components/ReviewModal/ReviewFormSelect.tsx +0 -35
- package/src/legacy/components/ReviewModal/ReviewModal.tsx +0 -56
- package/src/legacy/components/ReviewModal/index.ts +0 -1
- /package/out/_next/static/{9BX45OSSCQeaYmYslFbMt → l70e849kl17-sTQxi8gN6}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,c,a,e,t,i,b,n,d,u,h,f,l,k,j,p,g,o,r,m){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[s,e,p,g,"static/chunks/pages/index-02dd147957c8b40f.js"],"/_error":["static/chunks/pages/_error-fedd2c6ebd3d27b9.js"],"/changelog":[c,t,"static/chunks/870-a72b74312773efea.js","static/chunks/pages/changelog-80a618708f44f25f.js"],"/changes":[c,i,"static/chunks/8eec4907-b712959d9f984b68.js","static/chunks/918-fa4f2563cb5fd014.js",a,n,"static/css/d98ebc475f8423a3.css","static/chunks/pages/changes-d40c17939854b984.js"],"/custom-types":[s,e,p,g,"static/chunks/pages/custom-types-2a5fd94ee42ba593.js"],"/custom-types/[customTypeId]":[c,d,u,h,f,s,t,b,l,o,a,e,k,j,r,m,"static/chunks/pages/custom-types/[customTypeId]-389d1b7a492fb3e7.js"],"/labs":["static/chunks/pages/labs-c6df252ea5d8fb6f.js"],"/page-types/[pageTypeId]":[c,d,u,h,f,s,t,b,l,o,a,e,k,j,r,m,"static/chunks/pages/page-types/[pageTypeId]-3589bd1f9138a97b.js"],"/settings":[s,"static/css/e5f781f20e24a5ea.css","static/chunks/pages/settings-170379902605f38a.js"],"/slices":[c,i,s,b,a,n,j,"static/css/efa5152b7c0f35c0.css","static/chunks/pages/slices-071bb494907adf0f.js"],"/slices/[lib]/[sliceName]/[variation]":[c,i,d,u,h,f,s,t,b,l,a,k,n,"static/css/cdee5b195444f185.css","static/chunks/pages/slices/[lib]/[sliceName]/[variation]-6de02b8ed13b680d.js"],"/slices/[lib]/[sliceName]/[variation]/simulator":[i,"static/chunks/72585f70-28b4d7d5384b3703.js","static/chunks/157-fca2f00f6df07660.js","static/chunks/pages/slices/[lib]/[sliceName]/[variation]/simulator-063fa88ba75f483e.js"],sortedPages:["/","/_app","/_error","/changelog","/changes","/custom-types","/custom-types/[customTypeId]","/labs","/page-types/[pageTypeId]","/settings","/slices","/slices/[lib]/[sliceName]/[variation]","/slices/[lib]/[sliceName]/[variation]/simulator"]}}("static/chunks/397-e6c340070a3bcb41.js","static/chunks/59b4e022-ef680789f7cc9b11.js","static/chunks/34-2911c905c8a6e9d9.js","static/chunks/867-8164160c810122c6.js","static/chunks/183-85de38d65a85dc2c.js","static/chunks/c8eae200-966ce352f7b5d2b9.js","static/chunks/44-a2056f993381ad0f.js","static/chunks/658-8231c0b729e0124a.js","static/chunks/f36c6662-1f3a854183168b10.js","static/chunks/4c744e84-480e426e4b1cfef3.js","static/chunks/065a3ddb-9a38ca0d60f0bf2f.js","static/chunks/1cc2734a-09fb3b997ad1eb70.js","static/chunks/349-7118116b93278f73.js","static/chunks/630-93339694ef30b82d.js","static/chunks/268-6d5fc7642a1b87c8.js","static/chunks/895-8c214ba470a4e23c.js","static/css/4e475d945cf8a890.css","static/chunks/385-b949173dfa03dd3e.js","static/chunks/882-28837678beff7e51.js","static/css/56f2a6684a524374.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
package/out/changelog.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/183-85de38d65a85dc2c.js" defer=""></script><script src="/_next/static/chunks/870-a72b74312773efea.js" defer=""></script><script src="/_next/static/chunks/pages/changelog-80a618708f44f25f.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/changelog","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/changes.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><link rel="preload" href="/_next/static/css/d98ebc475f8423a3.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d98ebc475f8423a3.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/8eec4907-b712959d9f984b68.js" defer=""></script><script src="/_next/static/chunks/918-fa4f2563cb5fd014.js" defer=""></script><script src="/_next/static/chunks/34-2911c905c8a6e9d9.js" defer=""></script><script src="/_next/static/chunks/658-8231c0b729e0124a.js" defer=""></script><script src="/_next/static/chunks/pages/changes-d40c17939854b984.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/changes","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><link rel="preload" href="/_next/static/css/56f2a6684a524374.css" as="style"/><link rel="stylesheet" href="/_next/static/css/56f2a6684a524374.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/f36c6662-1f3a854183168b10.js" defer=""></script><script src="/_next/static/chunks/4c744e84-480e426e4b1cfef3.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-09fb3b997ad1eb70.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/183-85de38d65a85dc2c.js" defer=""></script><script src="/_next/static/chunks/44-a2056f993381ad0f.js" defer=""></script><script src="/_next/static/chunks/349-7118116b93278f73.js" defer=""></script><script src="/_next/static/chunks/385-b949173dfa03dd3e.js" defer=""></script><script src="/_next/static/chunks/34-2911c905c8a6e9d9.js" defer=""></script><script src="/_next/static/chunks/867-8164160c810122c6.js" defer=""></script><script src="/_next/static/chunks/630-93339694ef30b82d.js" defer=""></script><script src="/_next/static/chunks/268-6d5fc7642a1b87c8.js" defer=""></script><script src="/_next/static/chunks/882-28837678beff7e51.js" defer=""></script><script src="/_next/static/chunks/pages/custom-types/%5BcustomTypeId%5D-389d1b7a492fb3e7.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/custom-types/[customTypeId]","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/custom-types.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><link rel="preload" href="/_next/static/css/4e475d945cf8a890.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4e475d945cf8a890.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/867-8164160c810122c6.js" defer=""></script><script src="/_next/static/chunks/895-8c214ba470a4e23c.js" defer=""></script><script src="/_next/static/chunks/pages/custom-types-2a5fd94ee42ba593.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/custom-types","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/index.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><link rel="preload" href="/_next/static/css/4e475d945cf8a890.css" as="style"/><link rel="stylesheet" href="/_next/static/css/4e475d945cf8a890.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/867-8164160c810122c6.js" defer=""></script><script src="/_next/static/chunks/895-8c214ba470a4e23c.js" defer=""></script><script src="/_next/static/chunks/pages/index-02dd147957c8b40f.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/labs.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/pages/labs-c6df252ea5d8fb6f.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/labs","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><link rel="preload" href="/_next/static/css/56f2a6684a524374.css" as="style"/><link rel="stylesheet" href="/_next/static/css/56f2a6684a524374.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/f36c6662-1f3a854183168b10.js" defer=""></script><script src="/_next/static/chunks/4c744e84-480e426e4b1cfef3.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-09fb3b997ad1eb70.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/183-85de38d65a85dc2c.js" defer=""></script><script src="/_next/static/chunks/44-a2056f993381ad0f.js" defer=""></script><script src="/_next/static/chunks/349-7118116b93278f73.js" defer=""></script><script src="/_next/static/chunks/385-b949173dfa03dd3e.js" defer=""></script><script src="/_next/static/chunks/34-2911c905c8a6e9d9.js" defer=""></script><script src="/_next/static/chunks/867-8164160c810122c6.js" defer=""></script><script src="/_next/static/chunks/630-93339694ef30b82d.js" defer=""></script><script src="/_next/static/chunks/268-6d5fc7642a1b87c8.js" defer=""></script><script src="/_next/static/chunks/882-28837678beff7e51.js" defer=""></script><script src="/_next/static/chunks/pages/page-types/%5BpageTypeId%5D-3589bd1f9138a97b.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/page-types/[pageTypeId]","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/settings.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><link rel="preload" href="/_next/static/css/e5f781f20e24a5ea.css" as="style"/><link rel="stylesheet" href="/_next/static/css/e5f781f20e24a5ea.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/pages/settings-170379902605f38a.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/settings","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/72585f70-28b4d7d5384b3703.js" defer=""></script><script src="/_next/static/chunks/157-fca2f00f6df07660.js" defer=""></script><script src="/_next/static/chunks/pages/slices/%5Blib%5D/%5BsliceName%5D/%5Bvariation%5D/simulator-063fa88ba75f483e.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices/[lib]/[sliceName]/[variation]/simulator","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><link rel="preload" href="/_next/static/css/cdee5b195444f185.css" as="style"/><link rel="stylesheet" href="/_next/static/css/cdee5b195444f185.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/f36c6662-1f3a854183168b10.js" defer=""></script><script src="/_next/static/chunks/4c744e84-480e426e4b1cfef3.js" defer=""></script><script src="/_next/static/chunks/065a3ddb-9a38ca0d60f0bf2f.js" defer=""></script><script src="/_next/static/chunks/1cc2734a-09fb3b997ad1eb70.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/183-85de38d65a85dc2c.js" defer=""></script><script src="/_next/static/chunks/44-a2056f993381ad0f.js" defer=""></script><script src="/_next/static/chunks/349-7118116b93278f73.js" defer=""></script><script src="/_next/static/chunks/34-2911c905c8a6e9d9.js" defer=""></script><script src="/_next/static/chunks/630-93339694ef30b82d.js" defer=""></script><script src="/_next/static/chunks/658-8231c0b729e0124a.js" defer=""></script><script src="/_next/static/chunks/pages/slices/%5Blib%5D/%5BsliceName%5D/%5Bvariation%5D-6de02b8ed13b680d.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices/[lib]/[sliceName]/[variation]","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/out/slices.html
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/
|
|
1
|
+
<!DOCTYPE html><html><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link rel="preload" href="/_next/static/css/9c9a7de81f9ac811.css" as="style"/><link rel="stylesheet" href="/_next/static/css/9c9a7de81f9ac811.css" data-n-g=""/><link rel="preload" href="/_next/static/css/efa5152b7c0f35c0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/efa5152b7c0f35c0.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-2f903acb0cccbf9e.js" defer=""></script><script src="/_next/static/chunks/framework-ab7ddb551c23d05a.js" defer=""></script><script src="/_next/static/chunks/main-1c0e53194ff2e726.js" defer=""></script><script src="/_next/static/chunks/pages/_app-472afac7b4805ab7.js" defer=""></script><script src="/_next/static/chunks/59b4e022-ef680789f7cc9b11.js" defer=""></script><script src="/_next/static/chunks/c8eae200-966ce352f7b5d2b9.js" defer=""></script><script src="/_next/static/chunks/397-e6c340070a3bcb41.js" defer=""></script><script src="/_next/static/chunks/44-a2056f993381ad0f.js" defer=""></script><script src="/_next/static/chunks/34-2911c905c8a6e9d9.js" defer=""></script><script src="/_next/static/chunks/658-8231c0b729e0124a.js" defer=""></script><script src="/_next/static/chunks/268-6d5fc7642a1b87c8.js" defer=""></script><script src="/_next/static/chunks/pages/slices-071bb494907adf0f.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_buildManifest.js" defer=""></script><script src="/_next/static/l70e849kl17-sTQxi8gN6/_ssgManifest.js" defer=""></script></head><body><div id="__next"></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/slices","query":{},"buildId":"l70e849kl17-sTQxi8gN6","runtimeConfig":{"sentryEnvironment":"beta"},"nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "slice-machine-ui",
|
|
3
|
-
"version": "2.16.2-beta.
|
|
3
|
+
"version": "2.16.2-beta.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "A visual builder for your Slice Models with all the tools you need to generate data models and mock CMS content locally.",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"start-slicemachine": "./bin/start-slicemachine.cjs"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@slicemachine/manager": "0.24.16-beta.
|
|
39
|
-
"start-slicemachine": "0.12.58-beta.
|
|
38
|
+
"@slicemachine/manager": "0.24.16-beta.2",
|
|
39
|
+
"start-slicemachine": "0.12.58-beta.2"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@emotion/react": "11.11.1",
|
|
@@ -7,7 +7,6 @@ import useSMTracker from "@/hooks/useSMTracker";
|
|
|
7
7
|
import { AppLayout, AppLayoutContent } from "@/legacy/components/AppLayout";
|
|
8
8
|
import LoginModal from "@/legacy/components/LoginModal";
|
|
9
9
|
import { MissingLibraries } from "@/legacy/components/MissingLibraries";
|
|
10
|
-
import { ReviewModal } from "@/legacy/components/ReviewModal";
|
|
11
10
|
import { getLibraries } from "@/modules/slices";
|
|
12
11
|
import { SliceMachineStoreType } from "@/redux/type";
|
|
13
12
|
|
|
@@ -37,7 +36,6 @@ const SliceMachineApp: FC<Props> = ({ children }) => {
|
|
|
37
36
|
</AppLayout>
|
|
38
37
|
)}
|
|
39
38
|
<LoginModal />
|
|
40
|
-
<ReviewModal />
|
|
41
39
|
</>
|
|
42
40
|
);
|
|
43
41
|
};
|
|
@@ -34,10 +34,7 @@ import {
|
|
|
34
34
|
changesPushSuccess,
|
|
35
35
|
hasSeenChangesToolTipCreator,
|
|
36
36
|
hasSeenSimulatorToolTipCreator,
|
|
37
|
-
sendAReviewCreator,
|
|
38
|
-
skipReviewCreator,
|
|
39
37
|
} from "./userContext";
|
|
40
|
-
import { UserReviewType } from "./userContext/types";
|
|
41
38
|
|
|
42
39
|
const useSliceMachineActions = () => {
|
|
43
40
|
const dispatch = useDispatch();
|
|
@@ -54,28 +51,12 @@ const useSliceMachineActions = () => {
|
|
|
54
51
|
dispatch(modalOpenCreator({ modalKey: ModalKeysEnum.SCREENSHOT_PREVIEW }));
|
|
55
52
|
|
|
56
53
|
// Loading module
|
|
57
|
-
const startLoadingReview = () =>
|
|
58
|
-
dispatch(startLoadingActionCreator({ loadingKey: LoadingKeysEnum.REVIEW }));
|
|
59
|
-
const stopLoadingReview = () =>
|
|
60
|
-
dispatch(stopLoadingActionCreator({ loadingKey: LoadingKeysEnum.REVIEW }));
|
|
61
54
|
const startLoadingLogin = () =>
|
|
62
55
|
dispatch(startLoadingActionCreator({ loadingKey: LoadingKeysEnum.LOGIN }));
|
|
63
56
|
const stopLoadingLogin = () =>
|
|
64
57
|
dispatch(stopLoadingActionCreator({ loadingKey: LoadingKeysEnum.LOGIN }));
|
|
65
58
|
|
|
66
59
|
// UserContext module
|
|
67
|
-
const skipReview = (reviewType: UserReviewType) =>
|
|
68
|
-
dispatch(
|
|
69
|
-
skipReviewCreator({
|
|
70
|
-
reviewType,
|
|
71
|
-
}),
|
|
72
|
-
);
|
|
73
|
-
const sendAReview = (reviewType: UserReviewType) =>
|
|
74
|
-
dispatch(
|
|
75
|
-
sendAReviewCreator({
|
|
76
|
-
reviewType,
|
|
77
|
-
}),
|
|
78
|
-
);
|
|
79
60
|
const setSeenSimulatorToolTip = () =>
|
|
80
61
|
dispatch(hasSeenSimulatorToolTipCreator());
|
|
81
62
|
const setSeenChangesToolTip = () => dispatch(hasSeenChangesToolTipCreator());
|
|
@@ -179,8 +160,6 @@ const useSliceMachineActions = () => {
|
|
|
179
160
|
openLoginModal,
|
|
180
161
|
startLoadingLogin,
|
|
181
162
|
stopLoadingLogin,
|
|
182
|
-
stopLoadingReview,
|
|
183
|
-
startLoadingReview,
|
|
184
163
|
deleteCustomTypeSuccess,
|
|
185
164
|
renameCustomTypeSuccess,
|
|
186
165
|
saveCustomTypeSuccess,
|
|
@@ -189,8 +168,6 @@ const useSliceMachineActions = () => {
|
|
|
189
168
|
createSliceSuccess,
|
|
190
169
|
renameSliceSuccess,
|
|
191
170
|
deleteSliceSuccess,
|
|
192
|
-
sendAReview,
|
|
193
|
-
skipReview,
|
|
194
171
|
setSeenSimulatorToolTip,
|
|
195
172
|
setSeenChangesToolTip,
|
|
196
173
|
openScreenshotPreviewModal,
|
|
@@ -2,12 +2,7 @@ import { Reducer } from "redux";
|
|
|
2
2
|
import { ActionType, createAction, getType } from "typesafe-actions";
|
|
3
3
|
|
|
4
4
|
import ErrorWithStatus from "@/legacy/lib/models/common/ErrorWithStatus";
|
|
5
|
-
import {
|
|
6
|
-
AuthStatus,
|
|
7
|
-
UserContextStoreType,
|
|
8
|
-
UserReviewState,
|
|
9
|
-
UserReviewType,
|
|
10
|
-
} from "@/modules/userContext/types";
|
|
5
|
+
import { AuthStatus, UserContextStoreType } from "@/modules/userContext/types";
|
|
11
6
|
import { SliceMachineStoreType } from "@/redux/type";
|
|
12
7
|
|
|
13
8
|
import { refreshStateCreator } from "../environment";
|
|
@@ -15,9 +10,6 @@ import { refreshStateCreator } from "../environment";
|
|
|
15
10
|
// NOTE: Be careful every key written in this store is persisted in the localstorage
|
|
16
11
|
|
|
17
12
|
const initialState: UserContextStoreType = {
|
|
18
|
-
userReview: {
|
|
19
|
-
onboarding: false,
|
|
20
|
-
},
|
|
21
13
|
hasSeenSimulatorToolTip: false,
|
|
22
14
|
hasSeenChangesToolTip: false,
|
|
23
15
|
authStatus: AuthStatus.UNKNOWN,
|
|
@@ -25,14 +17,6 @@ const initialState: UserContextStoreType = {
|
|
|
25
17
|
};
|
|
26
18
|
|
|
27
19
|
// Actions Creators
|
|
28
|
-
export const sendAReviewCreator = createAction("USER_CONTEXT/SEND_REVIEW")<{
|
|
29
|
-
reviewType: UserReviewType;
|
|
30
|
-
}>();
|
|
31
|
-
|
|
32
|
-
export const skipReviewCreator = createAction("USER_CONTEXT/SKIP_REVIEW")<{
|
|
33
|
-
reviewType: UserReviewType;
|
|
34
|
-
}>();
|
|
35
|
-
|
|
36
20
|
export const hasSeenSimulatorToolTipCreator = createAction(
|
|
37
21
|
"USER_CONTEXT/VIEW_SIMULATOR_TOOL_TIP",
|
|
38
22
|
)();
|
|
@@ -46,8 +30,6 @@ export const changesPushSuccess = createAction(
|
|
|
46
30
|
)();
|
|
47
31
|
|
|
48
32
|
type userContextActions = ActionType<
|
|
49
|
-
| typeof sendAReviewCreator
|
|
50
|
-
| typeof skipReviewCreator
|
|
51
33
|
| typeof hasSeenSimulatorToolTipCreator
|
|
52
34
|
| typeof hasSeenChangesToolTipCreator
|
|
53
35
|
| typeof refreshStateCreator
|
|
@@ -55,11 +37,6 @@ type userContextActions = ActionType<
|
|
|
55
37
|
>;
|
|
56
38
|
|
|
57
39
|
// Selectors
|
|
58
|
-
export const getUserReview = (state: SliceMachineStoreType): UserReviewState =>
|
|
59
|
-
state.userContext.userReview ?? {
|
|
60
|
-
onboarding: state.userContext.hasSendAReview ?? false,
|
|
61
|
-
};
|
|
62
|
-
|
|
63
40
|
export const userHasSeenSimulatorToolTip = (
|
|
64
41
|
state: SliceMachineStoreType,
|
|
65
42
|
): boolean => state.userContext.hasSeenSimulatorToolTip || false;
|
|
@@ -78,15 +55,6 @@ export const userContextReducer: Reducer<
|
|
|
78
55
|
userContextActions
|
|
79
56
|
> = (state = initialState, action) => {
|
|
80
57
|
switch (action.type) {
|
|
81
|
-
case getType(sendAReviewCreator):
|
|
82
|
-
case getType(skipReviewCreator):
|
|
83
|
-
return {
|
|
84
|
-
...state,
|
|
85
|
-
userReview: {
|
|
86
|
-
...state.userReview,
|
|
87
|
-
[action.payload.reviewType]: true,
|
|
88
|
-
},
|
|
89
|
-
};
|
|
90
58
|
case getType(hasSeenSimulatorToolTipCreator): {
|
|
91
59
|
return {
|
|
92
60
|
...state,
|
|
@@ -6,21 +6,8 @@ export enum AuthStatus {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export type UserContextStoreType = {
|
|
9
|
-
userReview: UserReviewState;
|
|
10
9
|
hasSeenSimulatorToolTip: boolean;
|
|
11
10
|
hasSeenChangesToolTip: boolean;
|
|
12
11
|
authStatus: AuthStatus;
|
|
13
12
|
lastSyncChange: number | null;
|
|
14
|
-
} & LegacyUserContextStoreType;
|
|
15
|
-
|
|
16
|
-
export type UserReviewState = {
|
|
17
|
-
onboarding: boolean;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export type UserReviewType = keyof UserReviewState;
|
|
21
|
-
|
|
22
|
-
// Allow to handle old property that users can have
|
|
23
|
-
// in their local storage
|
|
24
|
-
type LegacyUserContextStoreType = {
|
|
25
|
-
hasSendAReview?: boolean;
|
|
26
13
|
};
|
package/src/styles/modal.css
CHANGED
|
@@ -13,25 +13,3 @@
|
|
|
13
13
|
.react-datepicker-wrapper {
|
|
14
14
|
width: 100%;
|
|
15
15
|
}
|
|
16
|
-
|
|
17
|
-
/* Review modal animation */
|
|
18
|
-
.ReactModal__Overlay {
|
|
19
|
-
z-index: 1;
|
|
20
|
-
}
|
|
21
|
-
.ReviewModal .ReactModal__Overlay {
|
|
22
|
-
opacity: 0;
|
|
23
|
-
transform: translateX(100px);
|
|
24
|
-
transition: all 500ms ease-in-out;
|
|
25
|
-
bottom: 16px;
|
|
26
|
-
right: 16px;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.ReviewModal .ReactModal__Overlay--after-open {
|
|
30
|
-
opacity: 1;
|
|
31
|
-
transform: translateX(0px);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.ReviewModal .ReactModal__Overlay--before-close {
|
|
35
|
-
opacity: 0;
|
|
36
|
-
transform: translateX(100px);
|
|
37
|
-
}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
1
|
import { describe, expect, it } from "vitest";
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
sendAReviewCreator,
|
|
5
|
-
skipReviewCreator,
|
|
6
|
-
userContextReducer,
|
|
7
|
-
} from "@/modules/userContext";
|
|
8
|
-
import { UserContextStoreType } from "@/modules/userContext/types";
|
|
3
|
+
import { userContextReducer } from "@/modules/userContext";
|
|
9
4
|
|
|
10
5
|
describe("[UserContext module]", () => {
|
|
11
6
|
describe("[Reducer]", () => {
|
|
@@ -18,49 +13,5 @@ describe("[UserContext module]", () => {
|
|
|
18
13
|
// @ts-expect-error TS(2345) FIXME: Argument of type '{}' is not assignable to paramet... Remove this comment to see the full error message
|
|
19
14
|
expect(userContextReducer({}, { type: "NO.MATCH" })).toEqual({});
|
|
20
15
|
});
|
|
21
|
-
|
|
22
|
-
it("should update user review onboarding to true when given USER_CONTEXT/SEND_REVIEW action", () => {
|
|
23
|
-
// @ts-expect-error TS(2739) FIXME: Type '{ hasSendAReview: false;... Remove this comment to see the full error message
|
|
24
|
-
const initialState: UserContextStoreType = {
|
|
25
|
-
userReview: {
|
|
26
|
-
onboarding: false,
|
|
27
|
-
},
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
const action = sendAReviewCreator({
|
|
31
|
-
reviewType: "onboarding",
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
const expectedState: UserContextStoreType = {
|
|
35
|
-
...initialState,
|
|
36
|
-
userReview: {
|
|
37
|
-
onboarding: true,
|
|
38
|
-
},
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
expect(userContextReducer(initialState, action)).toEqual(expectedState);
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
it("should update user review onboarding to true when given USER_CONTEXT/SKIP_REVIEW action", () => {
|
|
45
|
-
// @ts-expect-error TS(2739) FIXME: Type '{ hasSendAReview: false;... Remove this comment to see the full error message
|
|
46
|
-
const initialState: UserContextStoreType = {
|
|
47
|
-
userReview: {
|
|
48
|
-
onboarding: false,
|
|
49
|
-
},
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
const action = skipReviewCreator({
|
|
53
|
-
reviewType: "onboarding",
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
const expectedState: UserContextStoreType = {
|
|
57
|
-
...initialState,
|
|
58
|
-
userReview: {
|
|
59
|
-
onboarding: true,
|
|
60
|
-
},
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
expect(userContextReducer(initialState, action)).toEqual(expectedState);
|
|
64
|
-
});
|
|
65
16
|
});
|
|
66
17
|
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
self.__BUILD_MANIFEST=function(s,c,a,e,t,i,d,n,b,u,f,h,l,k,p,j,g,o,r){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[a,p,j,"static/chunks/pages/index-0e27ae9805b59004.js"],"/_error":["static/chunks/pages/_error-fedd2c6ebd3d27b9.js"],"/changelog":[s,e,"static/chunks/870-a72b74312773efea.js","static/chunks/pages/changelog-80a618708f44f25f.js"],"/changes":[s,t,"static/chunks/8eec4907-b712959d9f984b68.js","static/chunks/918-fa4f2563cb5fd014.js",c,d,"static/css/d98ebc475f8423a3.css","static/chunks/pages/changes-d40c17939854b984.js"],"/custom-types":[a,p,j,"static/chunks/pages/custom-types-093f2e2213561492.js"],"/custom-types/[customTypeId]":[s,n,b,u,f,e,i,h,g,c,a,l,k,o,r,"static/chunks/pages/custom-types/[customTypeId]-61a3846ae1654f54.js"],"/labs":["static/chunks/pages/labs-c6df252ea5d8fb6f.js"],"/page-types/[pageTypeId]":[s,n,b,u,f,e,i,h,g,c,a,l,k,o,r,"static/chunks/pages/page-types/[pageTypeId]-91a4eb622fa3cb7c.js"],"/settings":["static/css/e5f781f20e24a5ea.css","static/chunks/pages/settings-0da3553b3a0acc99.js"],"/slices":[s,t,i,c,d,k,"static/css/efa5152b7c0f35c0.css","static/chunks/pages/slices-7e816c2b32cc6f19.js"],"/slices/[lib]/[sliceName]/[variation]":[s,t,n,b,u,f,e,i,h,c,l,d,"static/css/cdee5b195444f185.css","static/chunks/pages/slices/[lib]/[sliceName]/[variation]-c71823bf02dc292d.js"],"/slices/[lib]/[sliceName]/[variation]/simulator":[t,"static/chunks/72585f70-28b4d7d5384b3703.js","static/chunks/157-fca2f00f6df07660.js","static/chunks/pages/slices/[lib]/[sliceName]/[variation]/simulator-063fa88ba75f483e.js"],sortedPages:["/","/_app","/_error","/changelog","/changes","/custom-types","/custom-types/[customTypeId]","/labs","/page-types/[pageTypeId]","/settings","/slices","/slices/[lib]/[sliceName]/[variation]","/slices/[lib]/[sliceName]/[variation]/simulator"]}}("static/chunks/59b4e022-ef680789f7cc9b11.js","static/chunks/34-2911c905c8a6e9d9.js","static/chunks/867-8164160c810122c6.js","static/chunks/183-85de38d65a85dc2c.js","static/chunks/c8eae200-966ce352f7b5d2b9.js","static/chunks/44-a2056f993381ad0f.js","static/chunks/658-8231c0b729e0124a.js","static/chunks/f36c6662-1f3a854183168b10.js","static/chunks/4c744e84-480e426e4b1cfef3.js","static/chunks/065a3ddb-9a38ca0d60f0bf2f.js","static/chunks/1cc2734a-09fb3b997ad1eb70.js","static/chunks/349-7118116b93278f73.js","static/chunks/630-93339694ef30b82d.js","static/chunks/268-6d5fc7642a1b87c8.js","static/chunks/895-8c214ba470a4e23c.js","static/css/4e475d945cf8a890.css","static/chunks/385-b949173dfa03dd3e.js","static/chunks/882-28837678beff7e51.js","static/css/56f2a6684a524374.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|