diff --git a/dashboard/components/dialog/Feedback.vue b/dashboard/components/dialog/Feedback.vue new file mode 100644 index 0000000..9b107dd --- /dev/null +++ b/dashboard/components/dialog/Feedback.vue @@ -0,0 +1,56 @@ + + + + + + + + Share everything with us. + + + Need help ? Check the docs here + Send + + + + + + \ No newline at end of file diff --git a/dashboard/layouts/dashboard.vue b/dashboard/layouts/dashboard.vue index 901f77c..c86c753 100644 --- a/dashboard/layouts/dashboard.vue +++ b/dashboard/layouts/dashboard.vue @@ -3,10 +3,13 @@ import type { Section } from '~/components/CVerticalNavigation.vue'; import { Lit } from 'litlyx-js'; +import { DialogFeedback } from '#components'; const { userRoles, isLogged } = useLoggedUser(); const { project } = useProject(); +const modal = useModal(); + const selfhosted = useSelfhosted(); const sections: Section[] = [ @@ -25,7 +28,13 @@ const sections: Section[] = [ { label: 'Settings', to: '/settings', icon: 'fal fa-gear' }, { grow: true, - label: 'Docs', to: 'https://docs.litlyx.com', icon: 'fal fa-book', external: true, + label: 'Leave a Feedback', icon: 'fal fa-message', + action() { + modal.open(DialogFeedback, {}); + }, + }, + { + label: 'Documentation', to: 'https://docs.litlyx.com', icon: 'fal fa-book', external: true, action() { Lit.event('docs_clicked') }, }, {