You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: provide helpful messages for v4 migration (#1244)
* fix: do not display warning for empty custom filters
* fix: show alert when using .form() or .renderTwig
This means you should probably change import paths from src/util/ui to src/util/twig
`found .form or .renderTwig calls. You likely import them from src/util/ui, which is not longer supported. Must import from src/util/twig. Occurences:\n
808
+
${alerts
809
+
.map(
810
+
(module)=>
811
+
`Module ${module.id}, displayed on layers:\n${Object.entries(
812
+
module.layers,
813
+
)
814
+
.filter(([,layer])=>layer.display)
815
+
.map(([name,layer])=>` ${name}: ${layer.title}`)
816
+
.join('\n')}`,
817
+
)
818
+
.join('\n\n')}
819
+
`,
820
+
);
821
+
}
822
+
},
764
823
// Add new migration functions here
765
824
// Do not forget to `npm run prerelease` before creating your migration script
0 commit comments