refactor: enhance UI components and navigation structure, implement export functionality for wizard steps, and update routing for improved user experience

This commit is contained in:
Jennie Robinson Faber 2025-08-16 13:17:36 +01:00
parent 37ab8d7bab
commit d7e52293e4
18 changed files with 3802 additions and 3318 deletions

View file

@ -1,6 +1,11 @@
export default defineNuxtRouteMiddleware((to) => {
// Skip middleware for wizard, templates, and API routes
if (to.path === "/wizard" || to.path.startsWith("/templates") || to.path.startsWith("/api/")) {
// Skip middleware for coop-planner, wizards, templates, and API routes
if (
to.path === "/coop-planner" ||
to.path === "/wizards" ||
to.path.startsWith("/templates") ||
to.path.startsWith("/api/")
) {
return;
}
@ -15,6 +20,6 @@ export default defineNuxtRouteMiddleware((to) => {
streamsStore.hasValidStreams;
if (!setupComplete) {
return navigateTo("/wizard");
return navigateTo("/coop-planner");
}
});