chore: Add vr localstorage #5126
Annotations
10 errors and 10 warnings
renders nested components with correct strings in SSR:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useTelemetry (lib/components/internal/hooks/use-telemetry/lib/default/internal/hooks/use-telemetry/index.ts:8:33)
at I18nProvider (lib/components/i18n/lib/default/i18n/provider.tsx:40:15)
at processChild (node_modules/react-dom/cjs/react-dom-server.node.development.js:3043:14)
at resolve (node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/i18n/__tests__/ssr.test.ts:25:39)
|
outputs a warning if a locale wasn't provided during server rendering:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useTelemetry (lib/components/internal/hooks/use-telemetry/lib/default/internal/hooks/use-telemetry/index.ts:8:33)
at I18nProvider (lib/components/i18n/lib/default/i18n/provider.tsx:40:15)
at processChild (node_modules/react-dom/cjs/react-dom-server.node.development.js:3043:14)
at resolve (node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/i18n/__tests__/ssr.test.ts:41:39)
|
renders alert without crashing:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useBaseComponent (lib/components/internal/hooks/use-base-component/lib/default/internal/hooks/use-base-component/index.ts:20:43)
at Alert (lib/components/alert/lib/default/alert/index.tsx:15:46)
at processChild (node_modules/react-dom/cjs/react-dom-server.node.development.js:3043:14)
at resolve (node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/__tests__/ssr.test.ts:25:41)
|
renders annotation-context without crashing:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useTelemetry (lib/components/internal/hooks/use-telemetry/lib/default/internal/hooks/use-telemetry/index.ts:8:33)
at AnnotationContext (lib/components/annotation-context/lib/default/annotation-context/index.tsx:29:15)
at processChild (node_modules/react-dom/cjs/react-dom-server.node.development.js:3043:14)
at resolve (node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/__tests__/ssr.test.ts:25:41)
|
renders app-layout without crashing:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useBaseComponent (lib/components/internal/hooks/use-base-component/lib/default/internal/hooks/use-base-component/index.ts:20:43)
at Object.render (lib/components/app-layout/lib/default/app-layout/index.tsx:60:51)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3535:44)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/__tests__/ssr.test.ts:25:41)
|
renders area-chart without crashing:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useBaseComponent (lib/components/internal/hooks/use-base-component/lib/default/internal/hooks/use-base-component/index.ts:20:43)
at AreaChart (lib/components/area-chart/lib/default/area-chart/index.tsx:22:46)
at processChild (node_modules/react-dom/cjs/react-dom-server.node.development.js:3043:14)
at resolve (node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/__tests__/ssr.test.ts:25:41)
|
renders attribute-editor without crashing:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useBaseComponent (lib/components/internal/hooks/use-base-component/lib/default/internal/hooks/use-base-component/index.ts:20:43)
at Object.render (lib/components/attribute-editor/lib/default/attribute-editor/index.tsx:15:48)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3535:44)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/__tests__/ssr.test.ts:25:41)
|
renders autosuggest without crashing:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useBaseComponent (lib/components/internal/hooks/use-base-component/lib/default/internal/hooks/use-base-component/index.ts:20:43)
at Object.render (lib/components/autosuggest/lib/default/autosuggest/index.tsx:17:48)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3535:44)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/__tests__/ssr.test.ts:25:41)
|
renders badge without crashing:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useBaseComponent (lib/components/internal/hooks/use-base-component/lib/default/internal/hooks/use-base-component/index.ts:20:43)
at Badge (lib/components/badge/lib/default/badge/index.tsx:14:49)
at processChild (node_modules/react-dom/cjs/react-dom-server.node.development.js:3043:14)
at resolve (node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/__tests__/ssr.test.ts:25:41)
|
renders bar-chart without crashing:
lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts#L20
ReferenceError: localStorage is not defined
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:20:5)
at detectVisualRefresh (lib/components/internal/hooks/use-visual-mode/lib/default/internal/hooks/use-visual-mode/index.ts:27:26)
at useBaseComponent (lib/components/internal/hooks/use-base-component/lib/default/internal/hooks/use-base-component/index.ts:20:43)
at BarChart (lib/components/bar-chart/lib/default/bar-chart/index.tsx:27:46)
at processChild (node_modules/react-dom/cjs/react-dom-server.node.development.js:3043:14)
at resolve (node_modules/react-dom/cjs/react-dom-server.node.development.js:2960:5)
at ReactDOMServerRenderer.render (node_modules/react-dom/cjs/react-dom-server.node.development.js:3435:22)
at ReactDOMServerRenderer.read (node_modules/react-dom/cjs/react-dom-server.node.development.js:3373:29)
at renderToStaticMarkup (node_modules/react-dom/cjs/react-dom-server.node.development.js:4004:27)
at Object.<anonymous> (src/__tests__/ssr.test.ts:25:41)
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L36
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L44
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L52
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L60
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/notifications-refresh.page.tsx#L68
Prop "className" is forbidden on Components
|
build / build:
pages/app-layout/stateful.page.tsx#L25
Prop "id" is forbidden on Components
|
build / build:
pages/app-layout/stateful.page.tsx#L26
Prop "id" is forbidden on Components
|
build / build:
pages/app-layout/stateful.page.tsx#L27
Prop "id" is forbidden on Components
|
build / build:
pages/app-layout/stateful.page.tsx#L35
Prop "id" is forbidden on Components
|
build / build:
pages/app-layout/with-split-panel.page.tsx#L107
Prop "id" is forbidden on Components
|