diff --git a/frontend/components/MenuList/MenuList.vue b/frontend/components/MenuList/MenuList.vue
new file mode 100644
index 0000000..6dc7909
--- /dev/null
+++ b/frontend/components/MenuList/MenuList.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/components/MenuPlaceholder/MenuPlaceholder.vue b/frontend/components/MenuPlaceholder/MenuPlaceholder.vue
new file mode 100644
index 0000000..ed40f5d
--- /dev/null
+++ b/frontend/components/MenuPlaceholder/MenuPlaceholder.vue
@@ -0,0 +1,36 @@
+
+
+
+
Click on a Menu Item to get started!
+
+
+
+
\ No newline at end of file
diff --git a/frontend/components/MenuPreview/MenuPreview.vue b/frontend/components/MenuPreview/MenuPreview.vue
new file mode 100644
index 0000000..4abda61
--- /dev/null
+++ b/frontend/components/MenuPreview/MenuPreview.vue
@@ -0,0 +1,167 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/components/TemplatesMenu/TemplatesMenu.vue b/frontend/components/TemplatesMenu/TemplatesMenu.vue
new file mode 100644
index 0000000..2fedfa3
--- /dev/null
+++ b/frontend/components/TemplatesMenu/TemplatesMenu.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/frontend/components/ThreadList/ThreadList.vue b/frontend/components/ThreadList/ThreadList.vue
index 55614f7..8832034 100644
--- a/frontend/components/ThreadList/ThreadList.vue
+++ b/frontend/components/ThreadList/ThreadList.vue
@@ -161,6 +161,7 @@ export default {
Conversations
diff --git a/frontend/components/conversation/Conversation.vue b/frontend/components/conversation/Conversation.vue
index 000ab61..0b48766 100644
--- a/frontend/components/conversation/Conversation.vue
+++ b/frontend/components/conversation/Conversation.vue
@@ -484,4 +484,5 @@ table {
height: 80vh;
}
-}
\ No newline at end of file
+}
+
\ No newline at end of file
diff --git a/frontend/lib/global.ts b/frontend/lib/global.ts
index a34754d..dd59843 100644
--- a/frontend/lib/global.ts
+++ b/frontend/lib/global.ts
@@ -13,6 +13,9 @@ type ThreadChangePayload = {
threadUUID?: string
};
+type MenuChangePayload = {
+ name: String
+}
type MessageData = {
direction: string;
@@ -142,4 +145,4 @@ function updateOldestMessage(newOldestTimestamp: Number){
//console.log(state.oldestMessage)
return state.oldestMessage;
}
-export { state, emitter, QUERY_LIMIT, MessageData, GlobalState, ThreadChangePayload, addMessage, addPreview, updatePageNumber }
+export { state, emitter, QUERY_LIMIT, MessageData, GlobalState, ThreadChangePayload, MenuChangePayload, addMessage, addPreview, updatePageNumber }
diff --git a/frontend/routes/index.ts b/frontend/routes/index.ts
index aabc8f0..c8caa28 100644
--- a/frontend/routes/index.ts
+++ b/frontend/routes/index.ts
@@ -4,6 +4,9 @@ import ThreadList from '@/components/ThreadList/ThreadList.vue';
import NewMessage from '@/components/NewMessage.vue';
import ConversationVue from '@/components/conversation/Conversation.vue';
import ConvoPlaceholderVue from '@/components/ConvoPlaceholder.vue';
+import MenuPlaceHolder from '@/components/MenuPlaceholder/MenuPlaceholder.vue';
+import MenuList from '../components/MenuList/MenuList.vue';
+import TemplatesMenu from '@/components/TemplatesMenu/TemplatesMenu.vue';
export const router = createRouter({
history: createWebHistory("/app/webtexting/"),
@@ -35,6 +38,20 @@ export const router = createRouter({
}
},
+ {
+ path:'/menu.php',
+ components:{
+ leftSide: MenuList,
+ rightSide: MenuPlaceHolder,
+ }
+ },
+ {
+ path:"/templates.php",
+ components:{
+ leftSide:MenuList,
+ rightSide: TemplatesMenu,
+ }
+ },
]
}
diff --git a/vite.config.js b/vite.config.js
index 5624bee..ea12339 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -12,7 +12,7 @@ export default defineConfig({
}
},
define: {
- "process.env.NODE_ENV": "'production'",
+ "process.env.NODE_ENV": "'development'",
},
root: "frontend",
build: {