feat: sidebar beta badge for workflows, settings and profile improvements
Add beta badge to Workflows in the sidebar. Include settings page improvements, workflow detail updates, profile info and sidebar nav refinements, and validate-api-key endpoint.
This commit is contained in:
@@ -48,6 +48,11 @@ export default function Sidebar() {
|
||||
>
|
||||
{nav.icon}
|
||||
{nav.title}
|
||||
{nav.badge && (
|
||||
<span className="ml-auto text-[10px] font-medium px-1.5 py-0.5 rounded-full bg-amber-500/15 text-amber-600 dark:text-amber-400 leading-none">
|
||||
{nav.badge}
|
||||
</span>
|
||||
)}
|
||||
</Link>
|
||||
))}
|
||||
</div>
|
||||
|
||||
@@ -4,6 +4,7 @@ interface SidebarNav {
|
||||
title: string;
|
||||
link: string;
|
||||
icon: React.ReactNode;
|
||||
badge?: string;
|
||||
}
|
||||
|
||||
interface SidebarGroup {
|
||||
@@ -34,7 +35,7 @@ export const sidebarGroups: SidebarGroup[] = [
|
||||
{
|
||||
label: "Automation",
|
||||
items: [
|
||||
{ title: "Workflows", link: "/workflows", icon: <Workflow className="h-4 w-4" /> },
|
||||
{ title: "Workflows", link: "/workflows", icon: <Workflow className="h-4 w-4" />, badge: "Beta" },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user