A number of task improvements. Not optimal tag selection
Some checks failed
Build BAB Application Deployment Artifact / build (push) Failing after 2m20s

This commit is contained in:
2024-03-31 14:43:45 -04:00
parent d752898865
commit 923d09d713
8 changed files with 232 additions and 42 deletions

View File

@@ -1,24 +1,9 @@
import ScheduleIndexPage from 'pages/schedule/ScheduleIndexPage.vue';
import ChecklistPageVue from 'pages/ChecklistPage.vue';
import LoginPageVue from 'pages/LoginPage.vue';
import ReferencePageVue from 'src/pages/reference/ReferencePage.vue';
import ReferenceIndexPageVue from 'src/pages/reference/ReferenceIndexPage.vue';
import ReferenceItemPageVue from 'src/pages/reference/ReferenceItemPage.vue';
import MainLayoutVue from 'src/layouts/MainLayout.vue';
import BoatPageVue from 'src/pages/BoatPage.vue';
import CertificationPageVue from 'src/pages/CertificationPage.vue';
import IndexPageVue from 'src/pages/IndexPage.vue';
import ProfilePageVue from 'src/pages/ProfilePage.vue';
import TaskPageVue from 'src/pages/TaskPage.vue';
import { RouteRecordRaw } from 'vue-router';
import SchedulePageView from 'pages/schedule/SchedulePageView.vue';
import BoatReservationPageVue from 'src/pages/schedule/BoatReservationPage.vue';
import BoatScheduleViewVue from 'src/pages/schedule/BoatScheduleView.vue';
const routes: RouteRecordRaw[] = [
{
path: '/',
component: MainLayoutVue,
component: () => import('src/layouts/MainLayout.vue'),
// If we get so big we need lazy loading, we can use imports again
// component: () => import('layouts/MainLayout.vue'),
children: [
@@ -26,69 +11,83 @@ const routes: RouteRecordRaw[] = [
path: '',
// If we get so big we need lazy loading, we can use imports again
// component: () => import('pages/IndexPage.vue'),
component: IndexPageVue,
component: () => import('src/pages/IndexPage.vue'),
name: 'index',
},
{
path: '/boat',
component: BoatPageVue,
component: () => import('src/pages/BoatPage.vue'),
name: 'boat',
},
{
path: '/schedule',
component: SchedulePageView,
component: () => import('pages/schedule/SchedulePageView.vue'),
name: 'schedule',
children: [
{
path: '',
component: ScheduleIndexPage,
component: () => import('pages/schedule/ScheduleIndexPage.vue'),
name: 'schedule-index',
},
{
path: 'book',
component: BoatReservationPageVue,
component: () =>
import('src/pages/schedule/BoatReservationPage.vue'),
name: 'reserve-boat',
},
{
path: 'view',
component: BoatScheduleViewVue,
component: () => import('src/pages/schedule/BoatScheduleView.vue'),
name: 'boat-schedule',
},
],
},
{
path: '/certification',
component: CertificationPageVue,
component: () => import('src/pages/CertificationPage.vue'),
name: 'certification',
},
{
path: '/task',
component: TaskPageVue,
name: 'task',
children: [
{
path: '',
component: () => import('src/pages/task/TaskPage.vue'),
name: 'task-index',
},
{
path: 'new',
component: () => import('pages/task/NewTaskPage.vue'),
name: 'new-task',
},
],
},
{
path: '/checklist',
component: ChecklistPageVue,
component: () => import('pages/ChecklistPage.vue'),
name: 'checklist',
},
{
path: '/profile',
component: ProfilePageVue,
component: () => import('src/pages/ProfilePage.vue'),
name: 'profile',
},
{
path: '/reference',
component: ReferencePageVue,
component: () => import('src/pages/reference/ReferencePage.vue'),
name: 'reference',
children: [
{
path: '',
component: ReferenceIndexPageVue,
component: () =>
import('src/pages/reference/ReferenceIndexPage.vue'),
name: 'reference-index',
},
{
path: '/reference/:id/view',
component: ReferenceItemPageVue,
component: () =>
import('src/pages/reference/ReferenceItemPage.vue'),
},
],
},
@@ -112,7 +111,7 @@ const routes: RouteRecordRaw[] = [
},
{
path: '/login',
component: LoginPageVue,
component: () => import('pages/LoginPageVue.vue'),
name: 'login',
meta: {
publicRoute: true,