feat(web/mazenet): glide transitions for service fleet + inspector panels

This commit is contained in:
2026-04-22 18:16:17 -04:00
parent e0231bf990
commit 1674316788
4 changed files with 52 additions and 33 deletions

View File

@@ -27,12 +27,14 @@ interface Props {
onAddDecky?: (netId: string) => void;
setSelection?: (sel: Selection) => void;
pendingChanges?: number;
className?: string;
}
const Inspector: React.FC<Props> = ({
selection, nets, nodes, edges, topologyStatus, onClose,
onDeleteNet, onDeleteNode, onDeleteEdge, onRemoveService, onAddDecky, setSelection,
pendingChanges = 0,
className = '',
}) => {
const net = selection?.type === 'net' ? nets.find((n) => n.id === selection.id) : undefined;
const node = selection?.type === 'node' ? nodes.find((n) => n.id === selection.id) : undefined;
@@ -58,7 +60,7 @@ const Inspector: React.FC<Props> = ({
const isObserved = node?.kind === 'observed';
return (
<aside className="maze-inspector">
<aside className={`maze-inspector ${className}`}>
<div className="maze-inspector-title">
<Crosshair size={12} className="violet-accent" />
<span>INSPECTOR</span>