mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-03 04:27:53 +00:00
feat: Add full change log to profile (#12215)
**Preview** <img width="400" height="600" alt="CleanShot 2025-08-18 at 19 48 37@2x" src="https://github.com/user-attachments/assets/28983793-adf4-4145-bb80-573e21cf5a0d" />
This commit is contained in:
@@ -86,6 +86,15 @@ const menuItems = computed(() => {
|
|||||||
nativeLink: true,
|
nativeLink: true,
|
||||||
target: '_blank',
|
target: '_blank',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
show: true,
|
||||||
|
showOnCustomBrandedInstance: false,
|
||||||
|
label: t('SIDEBAR_ITEMS.CHANGELOG'),
|
||||||
|
icon: 'i-lucide-scroll-text',
|
||||||
|
link: 'https://www.chatwoot.com/changelog/',
|
||||||
|
nativeLink: true,
|
||||||
|
target: '_blank',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
show: currentUser.value.type === 'SuperAdmin',
|
show: currentUser.value.type === 'SuperAdmin',
|
||||||
showOnCustomBrandedInstance: true,
|
showOnCustomBrandedInstance: true,
|
||||||
@@ -114,7 +123,7 @@ const allowedMenuItems = computed(() => {
|
|||||||
<DropdownContainer class="relative w-full min-w-0" @close="emit('close')">
|
<DropdownContainer class="relative w-full min-w-0" @close="emit('close')">
|
||||||
<template #trigger="{ toggle, isOpen }">
|
<template #trigger="{ toggle, isOpen }">
|
||||||
<button
|
<button
|
||||||
class="flex gap-2 items-center rounded-lg cursor-pointer text-left w-full hover:bg-n-alpha-1 p-1"
|
class="flex gap-2 items-center p-1 w-full text-left rounded-lg cursor-pointer hover:bg-n-alpha-1"
|
||||||
:class="{ 'bg-n-alpha-1': isOpen }"
|
:class="{ 'bg-n-alpha-1': isOpen }"
|
||||||
@click="toggle"
|
@click="toggle"
|
||||||
>
|
>
|
||||||
@@ -127,16 +136,16 @@ const allowedMenuItems = computed(() => {
|
|||||||
rounded-full
|
rounded-full
|
||||||
/>
|
/>
|
||||||
<div class="min-w-0">
|
<div class="min-w-0">
|
||||||
<div class="text-n-slate-12 text-sm leading-4 font-medium truncate">
|
<div class="text-sm font-medium leading-4 truncate text-n-slate-12">
|
||||||
{{ currentUser.available_name }}
|
{{ currentUser.available_name }}
|
||||||
</div>
|
</div>
|
||||||
<div class="text-n-slate-11 text-xs truncate">
|
<div class="text-xs truncate text-n-slate-11">
|
||||||
{{ currentUser.email }}
|
{{ currentUser.email }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
</template>
|
</template>
|
||||||
<DropdownBody class="ltr:left-0 rtl:right-0 bottom-12 z-50 w-80 mb-2">
|
<DropdownBody class="bottom-12 z-50 mb-2 w-80 ltr:left-0 rtl:right-0">
|
||||||
<SidebarProfileMenuStatus />
|
<SidebarProfileMenuStatus />
|
||||||
<DropdownSeparator />
|
<DropdownSeparator />
|
||||||
<template v-for="item in allowedMenuItems" :key="item.label">
|
<template v-for="item in allowedMenuItems" :key="item.label">
|
||||||
|
|||||||
@@ -226,6 +226,7 @@
|
|||||||
"APPEARANCE": "Change appearance",
|
"APPEARANCE": "Change appearance",
|
||||||
"SUPER_ADMIN_CONSOLE": "SuperAdmin console",
|
"SUPER_ADMIN_CONSOLE": "SuperAdmin console",
|
||||||
"DOCS": "Read documentation",
|
"DOCS": "Read documentation",
|
||||||
|
"CHANGELOG": "Changelog",
|
||||||
"LOGOUT": "Log out"
|
"LOGOUT": "Log out"
|
||||||
},
|
},
|
||||||
"APP_GLOBAL": {
|
"APP_GLOBAL": {
|
||||||
|
|||||||
Reference in New Issue
Block a user