Skip to content

Commit

Permalink
feat(dashboard): remove beta tags from ui (#7438)
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy authored Jan 7, 2025
1 parent 4b099cd commit 9d05a6f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ export const EditorBreadcrumbs = () => {
{
label: 'Workflows',
href: workflowsRoute,
node: (
<Badge kind="pill" size="2xs" className="no-underline">
BETA
</Badge>
),
},
];

Expand All @@ -57,11 +52,10 @@ export const EditorBreadcrumbs = () => {
></CompactButton>
<Breadcrumb>
<BreadcrumbList>
{breadcrumbs.map(({ label, href, node }) => (
{breadcrumbs.map(({ label, href }) => (
<React.Fragment key={`${href}_${label}`}>
<BreadcrumbItem className="flex items-center gap-1">
<BreadcrumbLink to={href}>{label}</BreadcrumbLink>
{node}
</BreadcrumbItem>
<BreadcrumbSeparator />
</React.Fragment>
Expand Down
12 changes: 4 additions & 8 deletions apps/dashboard/src/pages/activity-feed.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import { DashboardLayout } from '@/components/dashboard-layout';
import { ActivityTable } from '@/components/activity/activity-table';
import { ActivityFilters, defaultActivityFilters } from '@/components/activity/activity-filters';
import { motion, AnimatePresence } from 'motion/react';
import { ActivityPanel } from '@/components/activity/activity-panel';
import { Badge } from '../components/primitives/badge';
import { PageMeta } from '../components/page-meta';
import { ActivityTable } from '@/components/activity/activity-table';
import { DashboardLayout } from '@/components/dashboard-layout';
import { useActivityUrlState } from '@/hooks/use-activity-url-state';
import { AnimatePresence, motion } from 'motion/react';
import { PageMeta } from '../components/page-meta';

export function ActivityFeed() {
const { activityItemId, filters, filterValues, handleActivitySelect, handleFiltersChange } = useActivityUrlState();
Expand All @@ -32,9 +31,6 @@ export function ActivityFeed() {
headerStartItems={
<h1 className="text-foreground-950 flex items-center gap-1">
<span>Activity Feed</span>
<Badge kind="pill" size="2xs">
BETA
</Badge>
</h1>
}
>
Expand Down
3 changes: 0 additions & 3 deletions apps/dashboard/src/pages/integrations-list-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ export function IntegrationsListPage() {
headerStartItems={
<h1 className="text-foreground-950 flex items-center gap-1">
<span>Integration Store</span>
<Badge kind="pill" size="2xs">
BETA
</Badge>
</h1>
}
>
Expand Down
22 changes: 6 additions & 16 deletions apps/dashboard/src/pages/workflows.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
import { useEffect } from 'react';
import { RiRouteFill } from 'react-icons/ri';
import { WorkflowList } from '@/components/workflow-list';
import { DashboardLayout } from '@/components/dashboard-layout';
import { Button } from '@/components/primitives/button';
import { CreateWorkflowButton } from '@/components/create-workflow-button';
import { DashboardLayout } from '@/components/dashboard-layout';
import { OptInModal } from '@/components/opt-in-modal';
import { PageMeta } from '@/components/page-meta';
import { Button } from '@/components/primitives/button';
import { WorkflowList } from '@/components/workflow-list';
import { useTelemetry } from '@/hooks/use-telemetry';
import { TelemetryEvent } from '@/utils/telemetry';
import { Badge } from '@/components/primitives/badge';
import { useEffect } from 'react';
import { RiRouteFill } from 'react-icons/ri';

export const WorkflowsPage = () => {
const track = useTelemetry();
Expand All @@ -20,16 +19,7 @@ export const WorkflowsPage = () => {
return (
<>
<PageMeta title="Workflows" />
<DashboardLayout
headerStartItems={
<h1 className="text-foreground-950 flex items-center gap-1">
<span>Workflows</span>
<Badge kind="pill" size="2xs">
BETA
</Badge>
</h1>
}
>
<DashboardLayout headerStartItems={<h1 className="text-foreground-950 flex items-center gap-1">Workflows</h1>}>
<OptInModal />
<div className="flex justify-between px-2.5 py-2.5">
<div className="invisible flex w-[20ch] items-center gap-2 rounded-lg bg-neutral-50 p-2"></div>
Expand Down

0 comments on commit 9d05a6f

Please sign in to comment.