mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
chore(ui): rename customer support to support desk (#11508)
This commit is contained in:
@@ -8,6 +8,10 @@ All notable changes to the **Prowler UI** are documented in this file.
|
||||
|
||||
- DORA compliance framework support [(#11131)](https://github.com/prowler-cloud/prowler/pull/11131)
|
||||
|
||||
### 🔄 Changed
|
||||
|
||||
- Renamed "Customer Support" to "Support Desk" in the side menu, showing it only in Prowler Cloud/Enterprise, while "Community Support" now shows only in Prowler OSS [(#11508)](https://github.com/prowler-cloud/prowler/pull/11508)
|
||||
|
||||
---
|
||||
|
||||
## [1.29.3] (Prowler v5.29.3)
|
||||
|
||||
@@ -45,13 +45,13 @@ export const SubmenuItem = ({
|
||||
<Tooltip>
|
||||
<TooltipTrigger asChild>
|
||||
<Button
|
||||
className="pointer-events-none mt-1 w-[calc(100%-12px)] cursor-not-allowed justify-start py-1"
|
||||
className="pointer-events-none mt-1 w-[calc(100%-12px)] cursor-not-allowed justify-start px-2 py-1"
|
||||
disabled
|
||||
>
|
||||
<span className="mr-2">
|
||||
<Icon size={16} />
|
||||
</span>
|
||||
<p className="max-w-[170px] truncate">{label}</p>
|
||||
<p className="min-w-0 truncate">{label}</p>
|
||||
</Button>
|
||||
</TooltipTrigger>
|
||||
<TooltipContent side="right">
|
||||
@@ -75,7 +75,7 @@ export const SubmenuItem = ({
|
||||
>
|
||||
<Button
|
||||
variant="menu-inactive"
|
||||
className="text-text-neutral-tertiary w-full cursor-not-allowed justify-start py-1"
|
||||
className="text-text-neutral-tertiary w-full cursor-not-allowed justify-start px-2 py-1"
|
||||
aria-disabled="true"
|
||||
tabIndex={-1}
|
||||
type="button"
|
||||
@@ -83,8 +83,8 @@ export const SubmenuItem = ({
|
||||
<span className="mr-2">
|
||||
<Icon size={16} />
|
||||
</span>
|
||||
<p className="flex max-w-[170px] items-center gap-2 truncate">
|
||||
<span>{label}</span>
|
||||
<p className="flex min-w-0 items-center gap-2">
|
||||
<span className="truncate">{label}</span>
|
||||
{highlight && (
|
||||
<MenuFeatureBadge label="New" variant="new" size="sm" />
|
||||
)}
|
||||
@@ -100,7 +100,7 @@ export const SubmenuItem = ({
|
||||
return (
|
||||
<Button
|
||||
variant={isActive ? "menu-active" : "menu-inactive"}
|
||||
className="mt-1 w-[calc(100%-12px)] justify-start py-1"
|
||||
className="mt-1 w-[calc(100%-12px)] justify-start px-2 py-1"
|
||||
asChild={!disabled}
|
||||
disabled={disabled}
|
||||
>
|
||||
@@ -113,8 +113,8 @@ export const SubmenuItem = ({
|
||||
<span className="mr-2">
|
||||
<Icon size={16} />
|
||||
</span>
|
||||
<p className="flex max-w-[170px] items-center truncate">
|
||||
<span>{label}</span>
|
||||
<p className="flex min-w-0 items-center">
|
||||
<span className="truncate">{label}</span>
|
||||
{highlight && (
|
||||
<MenuFeatureBadge
|
||||
label="New"
|
||||
|
||||
+17
-12
@@ -172,18 +172,23 @@ export const getMenuList = ({ pathname }: MenuListOptions): GroupProps[] => {
|
||||
label: "API reference",
|
||||
icon: APIdocIcon,
|
||||
},
|
||||
{
|
||||
href: "https://customer.support.prowler.com/servicedesk/customer/portal/9/create/102",
|
||||
target: "_blank",
|
||||
label: "Customer Support",
|
||||
icon: MessageCircleQuestion,
|
||||
},
|
||||
{
|
||||
href: "https://github.com/prowler-cloud/prowler/issues",
|
||||
target: "_blank",
|
||||
label: "Community Support",
|
||||
icon: GithubIcon,
|
||||
},
|
||||
...(isCloudEnv
|
||||
? [
|
||||
{
|
||||
href: "https://customer.support.prowler.com/servicedesk/customer/portal/9/create/102",
|
||||
target: "_blank",
|
||||
label: "Support Desk",
|
||||
icon: MessageCircleQuestion,
|
||||
},
|
||||
]
|
||||
: [
|
||||
{
|
||||
href: "https://github.com/prowler-cloud/prowler/issues",
|
||||
target: "_blank",
|
||||
label: "Community Support",
|
||||
icon: GithubIcon,
|
||||
},
|
||||
]),
|
||||
],
|
||||
defaultOpen: false,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user