diff --git a/frontend/package-lock.json b/frontend/package-lock.json index f259c01d..cd02c6f0 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -18,7 +18,6 @@ "@sentry/vite-plugin": "^5.1.1", "@stripe/stripe-js": "^8.7.0", "@tailwindcss/vite": "^4.2.1", - "@types/react-syntax-highlighter": "^15.5.13", "@xyflow/react": "^12.10.0", "axios": "^1.13.4", "class-variance-authority": "^0.7.1", @@ -51,6 +50,7 @@ "@types/node": "^24.10.9", "@types/react": "^19.2.5", "@types/react-dom": "^19.2.3", + "@types/react-syntax-highlighter": "^15.5.13", "@vitejs/plugin-react": "^5.1.1", "@vitest/coverage-v8": "^4.0.18", "eslint": "^9.39.1", @@ -3021,6 +3021,7 @@ "version": "15.5.13", "resolved": "https://registry.npmjs.org/@types/react-syntax-highlighter/-/react-syntax-highlighter-15.5.13.tgz", "integrity": "sha512-uLGJ87j6Sz8UaBAooU0T6lWJ0dBmjZgN1PZTrj05TNql2/XpC6+4HhMT5syIdFUUt+FASfCeLLv4kBygNU+8qA==", + "dev": true, "license": "MIT", "dependencies": { "@types/react": "*" diff --git a/frontend/package.json b/frontend/package.json index 16079d27..d93a3831 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -31,7 +31,6 @@ "@sentry/vite-plugin": "^5.1.1", "@stripe/stripe-js": "^8.7.0", "@tailwindcss/vite": "^4.2.1", - "@types/react-syntax-highlighter": "^15.5.13", "@xyflow/react": "^12.10.0", "axios": "^1.13.4", "class-variance-authority": "^0.7.1", @@ -64,6 +63,7 @@ "@types/node": "^24.10.9", "@types/react": "^19.2.5", "@types/react-dom": "^19.2.3", + "@types/react-syntax-highlighter": "^15.5.13", "@vitejs/plugin-react": "^5.1.1", "@vitest/coverage-v8": "^4.0.18", "eslint": "^9.39.1", diff --git a/frontend/src/components/editor-ai/NodeSummary.tsx b/frontend/src/components/editor-ai/NodeSummary.tsx index 84994ad6..b506fa29 100644 --- a/frontend/src/components/editor-ai/NodeSummary.tsx +++ b/frontend/src/components/editor-ai/NodeSummary.tsx @@ -29,7 +29,7 @@ export function NodeSummary({ node, flowName, flowType, nodeCount }: NodeSummary {flowName || 'Untitled Flow'} -
+
{flowType || 'flow'} {nodeCount !== undefined && {nodeCount} nodes}
@@ -44,7 +44,7 @@ export function NodeSummary({ node, flowName, flowType, nodeCount }: NodeSummary
- + {node.type}
diff --git a/frontend/src/components/editor-ai/SuggestionsTab.tsx b/frontend/src/components/editor-ai/SuggestionsTab.tsx index d178c9c5..14299cf4 100644 --- a/frontend/src/components/editor-ai/SuggestionsTab.tsx +++ b/frontend/src/components/editor-ai/SuggestionsTab.tsx @@ -28,7 +28,7 @@ export function SuggestionsTab({ suggestions }: SuggestionsTabProps) { return (
- + {s.action_type.replace(/_/g, ' ')} @@ -39,7 +39,7 @@ export function SuggestionsTab({ suggestions }: SuggestionsTabProps) { {s.target_node_id && (

Node: {s.target_node_id}

)} -

+

{new Date(s.created_at).toLocaleDateString()}

diff --git a/frontend/src/components/guides/GuideCard.tsx b/frontend/src/components/guides/GuideCard.tsx index b0970d83..e062f2d2 100644 --- a/frontend/src/components/guides/GuideCard.tsx +++ b/frontend/src/components/guides/GuideCard.tsx @@ -24,7 +24,7 @@ export function GuideCard({ guide }: GuideCardProps) {

{guide.summary}

- + {guide.sections.length} {guide.sections.length === 1 ? 'section' : 'sections'}
diff --git a/frontend/src/components/guides/GuideSection.tsx b/frontend/src/components/guides/GuideSection.tsx index 5bc0ff7d..13933fa5 100644 --- a/frontend/src/components/guides/GuideSection.tsx +++ b/frontend/src/components/guides/GuideSection.tsx @@ -18,7 +18,7 @@ export function GuideSection({ section, index }: GuideSectionProps) {
    {section.steps.map((step, i) => (
  1. - + {i + 1}.