feat(help): basic setup for chatbot help

This commit is contained in:
Matthieu Haineault 2026-01-16 09:11:24 -05:00
parent e86dff3026
commit 7a20aa5d4e
2 changed files with 44 additions and 44 deletions

View File

@ -1,7 +1,4 @@
<script
setup
lang="ts"
>
<script setup lang="ts">
//default images
// import default_dashboard from 'src/assets/help-ss/default-dashboard.png';
import default_personal_profile from 'src/assets/help-ss/default-personnal_profile.png';
@ -32,6 +29,7 @@
const help_module = props.help_module;
const current_path = ref<string>(default_images[help_module]);
const EXCLUDED_MODULES = ['dashboard', 'chatbot']
const switchSide = (index: number) => {
if (index % 2 !== 0) {
@ -44,7 +42,7 @@
<template>
<div
v-if="help_module !== 'dashboard'"
v-if="!EXCLUDED_MODULES.includes(help_module)"
class="column q-my-xs bg-secondary q-py-xl"
>
<!-- Card Header -->

View File

@ -10,8 +10,6 @@ export type HelpModuleOptions = {
export type Options = Record<UserModuleAccess, HelpModuleOptions[]>;
export type PartialOptions = Partial<Record<UserModuleAccess, HelpModuleOptions[]>>;
//Shared images and descriptions
import calendar from 'src/assets/help-ss/calendar.png';
import employee_list_display from 'src/assets/help-ss/employee-list-grid.png';
@ -134,6 +132,15 @@ export const timesheets_approval_options: HelpModuleOptions[] = [
{ label: 'help.tutorial.shared.calendar', path: calendar, description: calendar_nav_desc, icon: 'calendar_month' },
];
// Chatbot images and descriptions
import chatbot_access from 'src/assets/help-ss/access-management.png';
const chatbot_access_desc = "descriptions.chatbot.access";
export const chatbot_options: HelpModuleOptions[] = [
{ label: 'help.tutorial.chatbot.access', path: chatbot_access, description: chatbot_access_desc, icon: "access"}
];
export const help_module_details: Options = {
dashboard: [],
personal_profile: profile_options,
@ -143,8 +150,3 @@ export const help_module_details: Options = {
timesheets_approval: timesheets_approval_options,
chatbot: [],
};