import { Square, Tags } from 'lucide-react'; import { useLicense } from '@/context/LicenseContext'; import type { FleetNode } from '@/components/FleetView/types'; import { LabelFleetStopCard } from './cards/LabelFleetStopCard'; import { BulkLabelAssignCard } from './cards/BulkLabelAssignCard'; interface Props { nodes: FleetNode[]; } export function FleetActionsTab({ nodes }: Props) { const { isPaid } = useLicense(); if (nodes.length === 0) { return (
Add a node to the fleet to use bulk actions.
); } if (!isPaid) { // Both actions are Skipper+. Community users see a calm empty state with // upgrade context rather than a stripped-down launcher. return ( ); } return (
); } function EmptyState() { return (

Fleet-wide bulk actions

Stop stacks across every node by label name, and assign labels to many stacks in one shot. Available on Skipper and Admiral.

); }