Skip to content

A modern platform for visual, flexible, and extensible graph-based investigations. For cybersecurity analysts and investigators.

feat(app): typo

dextmorgnd7e2d86ae3b3
diff --git a/flowsint-api/app/api/routes/analysis.py b/flowsint-api/app/api/routes/analysis.py
index b7f41caf..c593fcfc 100644
--- a/flowsint-api/app/api/routes/analysis.py
+++ b/flowsint-api/app/api/routes/analysis.py
@@ -20,7 +20,7 @@ def get_analyses(
return analyses
-# Create a new analysis
+# Create a New analysis
@router.post(
"/create", response_model=AnalysisRead, status_code=status.HTTP_201_CREATED
)
diff --git a/flowsint-app/src/components/analyses/README.md b/flowsint-app/src/components/analyses/README.md
index 2bf0f862..6a4dda01 100644
--- a/flowsint-app/src/components/analyses/README.md
+++ b/flowsint-app/src/components/analyses/README.md
@@ -12,7 +12,7 @@ The main reusable component that contains all analysis editing logic.
- `investigationId: string` - The investigation ID
- `onAnalysisUpdate?: (analysis: Analysis) => void` - Callback when analysis is updated
- `onAnalysisDelete?: (analysisId: string) => void` - Callback when analysis is deleted
-- `onAnalysisCreate?: (investigationId: string) => void` - Callback when new analysis is created
+- `onAnalysisCreate?: (investigationId: string) => void` - Callback when New analysis is created
- `onAnalysisSelect?: (analysisId: string) => void` - Callback when analysis is selected from dropdown
- `showHeader?: boolean` - Whether to show the header (default: true)
- `showActions?: boolean` - Whether to show action buttons (default: true)
@@ -42,7 +42,7 @@ A panel component that uses `AnalysisEditor` with analysis selection functionali
- Analysis selector dropdown
- Integration with analysis panel store
- Navigation to full-page view
-- All original action buttons (Save, AI Chat, New Analysis, Delete, Open in Page)
+- All original action buttons (Save, AI Chat, New analysis, Delete, Open in Page)
### `AnalysisPage` (Full Page Component)
A full-page component that uses `AnalysisEditor` for dedicated analysis editing.
@@ -116,7 +116,7 @@ The `AnalysisEditor` includes all the original action buttons:
- **Save** (πŸ’Ύ) - Save the current analysis
- **AI Chat** (✨) - Open AI prompt panel
-- **New Analysis** (βž•) - Create a new analysis
+- **New analysis** (βž•) - Create a New analysis
- **Delete** (πŸ—‘οΈ) - Delete the current analysis
- **Open in Page** (πŸ”—) - Open analysis in full page view
@@ -133,7 +133,7 @@ The `AnalysisEditor` includes all the original action buttons:
The existing `AnalysisPanel` has been refactored to use the new `AnalysisEditor` component. All original functionality including:
- Analysis selector dropdown
-- All action buttons (Save, AI Chat, New Analysis, Delete, Open in Page)
+- All action buttons (Save, AI Chat, New analysis, Delete, Open in Page)
- Navigation controls
- AI prompt integration
- Keyboard shortcuts
diff --git a/flowsint-app/src/components/analyses/analyses-list.tsx b/flowsint-app/src/components/analyses/analyses-list.tsx
index 963d30f1..53cc2012 100644
--- a/flowsint-app/src/components/analyses/analyses-list.tsx
+++ b/flowsint-app/src/components/analyses/analyses-list.tsx
@@ -117,7 +117,7 @@ const AnalysisList = () => {
className="h-7 w-7"
onClick={() => createMutation.mutate()}
disabled={createMutation.isPending}
- title="Create new analysis"
+ title="Create New analysis"
>
<PlusIcon className="h-4 w-4" />
</Button>
diff --git a/flowsint-app/src/components/analyses/analysis-editor.tsx b/flowsint-app/src/components/analyses/analysis-editor.tsx
index 76fe703f..7aecf18f 100644
--- a/flowsint-app/src/components/analyses/analysis-editor.tsx
+++ b/flowsint-app/src/components/analyses/analysis-editor.tsx
@@ -243,7 +243,7 @@ export const AnalysisEditor = ({
}
if (
!(await confirm({
- title: 'Delete Analysis',
+ title: 'Delete analysis',
message: 'Are you sure you want to delete this analysis?'
}))
) {
@@ -420,7 +420,7 @@ export const AnalysisEditor = ({
}}
>
<ExternalLink className="w-4 h-4 mr-2" strokeWidth={1.5} />
- Open in Full Page
+ Open in full page
</Link>
</DropdownMenuItem>
)}
@@ -430,7 +430,7 @@ export const AnalysisEditor = ({
disabled={createMutation.isPending}
>
<PlusIcon className="w-4 h-4 mr-2" strokeWidth={1.5} />
- New Analysis
+ New analysis
</DropdownMenuItem>
)}
{analysis && (
@@ -442,7 +442,7 @@ export const AnalysisEditor = ({
variant="destructive"
>
<Trash2 className="w-4 h-4 mr-2" strokeWidth={1.5} />
- Delete Analysis
+ Delete analysis
</DropdownMenuItem>
</>
)}
diff --git a/flowsint-app/src/components/dashboard/analysis-cards.tsx b/flowsint-app/src/components/dashboard/analysis-cards.tsx
index 58c422d2..64ee27db 100644
--- a/flowsint-app/src/components/dashboard/analysis-cards.tsx
+++ b/flowsint-app/src/components/dashboard/analysis-cards.tsx
@@ -125,7 +125,7 @@ export function AnalysisCards() {
</div>
<Button size="sm" variant="outline">
<Plus className="w-4 h-4 mr-2" />
- New Analysis
+ New analysis
</Button>
</div>
<div className="text-center py-12">
@@ -154,7 +154,7 @@ export function AnalysisCards() {
<div className="flex items-center gap-2">
<Button size="sm" variant="outline">
<Plus className="w-4 h-4 mr-2" />
- New Analysis
+ New analysis
</Button>
</div>
</div>
diff --git a/flowsint-app/src/components/dashboard/investigation-analyses.tsx b/flowsint-app/src/components/dashboard/investigation-analyses.tsx
index ee0b7210..d5c376fe 100644
--- a/flowsint-app/src/components/dashboard/investigation-analyses.tsx
+++ b/flowsint-app/src/components/dashboard/investigation-analyses.tsx
@@ -128,7 +128,7 @@ export function InvestigationAnalyses({ investigationId }: InvestigationAnalyses
</div>
<Button size="sm" variant="outline">
<Plus className="w-4 h-4 mr-2" />
- New Analysis
+ New analysis
</Button>
</div>
<div className="text-center py-12">
@@ -157,7 +157,7 @@ export function InvestigationAnalyses({ investigationId }: InvestigationAnalyses
<div className="flex items-center gap-2">
<Button size="sm" variant="outline">
<Plus className="w-4 h-4 mr-2" />
- New Analysis
+ New analysis
</Button>
</div>
</div>
diff --git a/flowsint-app/src/routes/_auth.dashboard.investigations.$investigationId.index.tsx b/flowsint-app/src/routes/_auth.dashboard.investigations.$investigationId.index.tsx
index a4918c0b..0b2d0f23 100644
--- a/flowsint-app/src/routes/_auth.dashboard.investigations.$investigationId.index.tsx
+++ b/flowsint-app/src/routes/_auth.dashboard.investigations.$investigationId.index.tsx
@@ -93,7 +93,7 @@ function InvestigationPage() {
onSuccess: async (data) => {
queryClient.invalidateQueries({ queryKey: ['analyses', 'investigation', investigation.id] })
toast.success('New analysis created')
- // Navigate to the new analysis page
+ // Navigate to the New analysis page
navigate({
to: '/dashboard/investigations/$investigationId/$type/$id',
params: {
@@ -150,7 +150,7 @@ function InvestigationPage() {
disabled={createAnalysisMutation.isPending}
>
<FileText className="h-4 w-4 mr-2" />
- New Analysis
+ New analysis
{createAnalysisMutation.isPending && (
<span className="ml-2 text-xs text-muted-foreground">Creating...</span>
)}