diff --git a/frontend/src/components/Ai_tools/configureAi_toolsCols.tsx b/frontend/src/components/Ai_tools/configureAi_toolsCols.tsx index 26e2d59..9f467b5 100644 --- a/frontend/src/components/Ai_tools/configureAi_toolsCols.tsx +++ b/frontend/src/components/Ai_tools/configureAi_toolsCols.tsx @@ -43,7 +43,7 @@ export const loadColumns = async ( { field: 'name', - headerName: 'ToolName', + headerName: 'Tool Name', flex: 1, minWidth: 120, filterable: false, @@ -58,7 +58,7 @@ export const loadColumns = async ( { field: 'tool_type', - headerName: 'ToolType', + headerName: 'Tool Type', flex: 1, minWidth: 120, filterable: false, @@ -95,7 +95,7 @@ export const loadColumns = async ( { field: 'deployment_model', - headerName: 'DeploymentModel', + headerName: 'Deployment Model', flex: 1, minWidth: 120, filterable: false, @@ -110,7 +110,7 @@ export const loadColumns = async ( { field: 'approval_status', - headerName: 'ApprovalStatus', + headerName: 'Approval Status', flex: 1, minWidth: 120, filterable: false, @@ -125,7 +125,7 @@ export const loadColumns = async ( { field: 'supports_sso', - headerName: 'SupportsSSO', + headerName: 'Supports SSO', flex: 1, minWidth: 120, filterable: false, @@ -141,7 +141,7 @@ export const loadColumns = async ( { field: 'supports_audit_logs', - headerName: 'SupportsAuditLogs', + headerName: 'Supports Audit Logs', flex: 1, minWidth: 120, filterable: false, @@ -157,7 +157,7 @@ export const loadColumns = async ( { field: 'soc2_status', - headerName: 'SOC2Status', + headerName: 'SOC2 Status', flex: 1, minWidth: 120, filterable: false, @@ -172,7 +172,7 @@ export const loadColumns = async ( { field: 'data_retention_policy', - headerName: 'DataRetentionPolicy', + headerName: 'Data Retention Policy', flex: 1, minWidth: 120, filterable: false, @@ -187,7 +187,7 @@ export const loadColumns = async ( { field: 'training_on_client_data_policy', - headerName: 'TrainingOnClientDataPolicy', + headerName: 'Training On Client Data Policy', flex: 1, minWidth: 120, filterable: false, @@ -202,7 +202,7 @@ export const loadColumns = async ( { field: 'data_residency', - headerName: 'DataResidency', + headerName: 'Data Residency', flex: 1, minWidth: 120, filterable: false, @@ -217,7 +217,7 @@ export const loadColumns = async ( { field: 'deletion_policy', - headerName: 'DeletionPolicy', + headerName: 'Deletion Policy', flex: 1, minWidth: 120, filterable: false, @@ -232,7 +232,7 @@ export const loadColumns = async ( { field: 'security_posture_summary', - headerName: 'SecurityPostureSummary', + headerName: 'Security Posture Summary', flex: 1, minWidth: 120, filterable: false, @@ -247,7 +247,7 @@ export const loadColumns = async ( { field: 'security_documents', - headerName: 'SecurityDocuments', + headerName: 'Security Documents', flex: 1, minWidth: 120, filterable: false, @@ -273,7 +273,7 @@ export const loadColumns = async ( { field: 'monthly_cost', - headerName: 'MonthlyCost', + headerName: 'Monthly Cost', flex: 1, minWidth: 120, filterable: false, diff --git a/frontend/src/components/Approval_steps/configureApproval_stepsCols.tsx b/frontend/src/components/Approval_steps/configureApproval_stepsCols.tsx index 836689b..20f222d 100644 --- a/frontend/src/components/Approval_steps/configureApproval_stepsCols.tsx +++ b/frontend/src/components/Approval_steps/configureApproval_stepsCols.tsx @@ -43,7 +43,7 @@ export const loadColumns = async ( { field: 'use_case', - headerName: 'AIUseCase', + headerName: 'AI Use Case', flex: 1, minWidth: 120, filterable: false, @@ -65,7 +65,7 @@ export const loadColumns = async ( { field: 'step_type', - headerName: 'StepType', + headerName: 'Step Type', flex: 1, minWidth: 120, filterable: false, @@ -80,7 +80,7 @@ export const loadColumns = async ( { field: 'assigned_reviewer', - headerName: 'AssignedReviewer', + headerName: 'Assigned Reviewer', flex: 1, minWidth: 120, filterable: false, @@ -132,7 +132,7 @@ export const loadColumns = async ( { field: 'assigned_at', - headerName: 'AssignedAt', + headerName: 'Assigned At', flex: 1, minWidth: 120, filterable: false, @@ -150,7 +150,7 @@ export const loadColumns = async ( { field: 'decided_at', - headerName: 'DecidedAt', + headerName: 'Decided At', flex: 1, minWidth: 120, filterable: false, @@ -168,7 +168,7 @@ export const loadColumns = async ( { field: 'step_order', - headerName: 'StepOrder', + headerName: 'Step Order', flex: 1, minWidth: 120, filterable: false, diff --git a/frontend/src/components/Data_classifications/configureData_classificationsCols.tsx b/frontend/src/components/Data_classifications/configureData_classificationsCols.tsx index 01cbb88..7096a2e 100644 --- a/frontend/src/components/Data_classifications/configureData_classificationsCols.tsx +++ b/frontend/src/components/Data_classifications/configureData_classificationsCols.tsx @@ -43,7 +43,7 @@ export const loadColumns = async ( { field: 'label', - headerName: 'ClassificationLabel', + headerName: 'Classification Label', flex: 1, minWidth: 120, filterable: false, @@ -58,7 +58,7 @@ export const loadColumns = async ( { field: 'level', - headerName: 'SensitivityLevel', + headerName: 'Sensitivity Level', flex: 1, minWidth: 120, filterable: false, @@ -88,7 +88,7 @@ export const loadColumns = async ( { field: 'risk_notes', - headerName: 'RiskNotes', + headerName: 'Risk Notes', flex: 1, minWidth: 120, filterable: false, @@ -103,7 +103,7 @@ export const loadColumns = async ( { field: 'required_human_review_level', - headerName: 'RequiredHumanReviewLevel', + headerName: 'Required Human Review Level', flex: 1, minWidth: 120, filterable: false, @@ -118,7 +118,7 @@ export const loadColumns = async ( { field: 'requires_client_notice', - headerName: 'RequiresClientNotice', + headerName: 'Requires Client Notice', flex: 1, minWidth: 120, filterable: false, diff --git a/frontend/src/components/Human_review_checklists/configureHuman_review_checklistsCols.tsx b/frontend/src/components/Human_review_checklists/configureHuman_review_checklistsCols.tsx index 6f03ad3..7b839c7 100644 --- a/frontend/src/components/Human_review_checklists/configureHuman_review_checklistsCols.tsx +++ b/frontend/src/components/Human_review_checklists/configureHuman_review_checklistsCols.tsx @@ -43,7 +43,7 @@ export const loadColumns = async ( { field: 'name', - headerName: 'ChecklistName', + headerName: 'Checklist Name', flex: 1, minWidth: 120, filterable: false, @@ -88,7 +88,7 @@ export const loadColumns = async ( { field: 'practice_group', - headerName: 'PracticeGroupScope', + headerName: 'Practice Group Scope', flex: 1, minWidth: 120, filterable: false, @@ -110,7 +110,7 @@ export const loadColumns = async ( { field: 'data_classification', - headerName: 'DataClassificationScope', + headerName: 'Data Classification Scope', flex: 1, minWidth: 120, filterable: false, @@ -132,7 +132,7 @@ export const loadColumns = async ( { field: 'required_reviewer_role', - headerName: 'RequiredReviewerRole', + headerName: 'Required Reviewer Role', flex: 1, minWidth: 120, filterable: false, diff --git a/frontend/src/components/Integrations/configureIntegrationsCols.tsx b/frontend/src/components/Integrations/configureIntegrationsCols.tsx index f2ed0b0..b4837c3 100644 --- a/frontend/src/components/Integrations/configureIntegrationsCols.tsx +++ b/frontend/src/components/Integrations/configureIntegrationsCols.tsx @@ -43,7 +43,7 @@ export const loadColumns = async ( { field: 'name', - headerName: 'IntegrationName', + headerName: 'Integration Name', flex: 1, minWidth: 120, filterable: false, @@ -104,7 +104,7 @@ export const loadColumns = async ( { field: 'configuration_notes', - headerName: 'ConfigurationNotes', + headerName: 'Configuration Notes', flex: 1, minWidth: 120, filterable: false, @@ -119,7 +119,7 @@ export const loadColumns = async ( { field: 'configuration_files', - headerName: 'ConfigurationFiles', + headerName: 'Configuration Files', flex: 1, minWidth: 120, filterable: false, diff --git a/frontend/src/components/Matter_types/CardMatter_types.tsx b/frontend/src/components/Matter_types/CardMatter_types.tsx index 2556978..eb223ad 100644 --- a/frontend/src/components/Matter_types/CardMatter_types.tsx +++ b/frontend/src/components/Matter_types/CardMatter_types.tsx @@ -1,135 +1,3 @@ -import React from 'react'; -import ImageField from '../ImageField'; -import ListActionsPopover from '../ListActionsPopover'; -import { useAppSelector } from '../../stores/hooks'; -import dataFormatter from '../../helpers/dataFormatter'; -import { Pagination } from '../Pagination'; -import {saveFile} from "../../helpers/fileSaver"; -import LoadingSpinner from "../LoadingSpinner"; -import Link from 'next/link'; +import ListMatter_types from './ListMatter_types'; -import {hasPermission} from "../../helpers/userPermissions"; - - -type Props = { - matter_types: any[]; - loading: boolean; - onDelete: (id: string) => void; - currentPage: number; - numPages: number; - onPageChange: (page: number) => void; -}; - -const CardMatter_types = ({ - matter_types, - loading, - onDelete, - currentPage, - numPages, - onPageChange, -}: Props) => { - const asideScrollbarsStyle = useAppSelector( - (state) => state.style.asideScrollbarsStyle, - ); - const bgColor = useAppSelector((state) => state.style.cardsColor); - const darkMode = useAppSelector((state) => state.style.darkMode); - const corners = useAppSelector((state) => state.style.corners); - const focusRing = useAppSelector((state) => state.style.focusRingColor); - - const currentUser = useAppSelector((state) => state.auth.currentUser); - const hasUpdatePermission = hasPermission(currentUser, 'UPDATE_MATTER_TYPES') - - - return ( -
No data to display
-MatterType
-{ item.name }
++ Matter type +
+ + {item.name || 'Unnamed matter type'} + +Description
-{ item.description }
-Active
-{ dataFormatter.booleanFormatter(item.is_active) }
-+ {item.description || 'No matter-type description yet.'} +
+ ++ Governance use +
++ Helps classify AI use cases by legal matter context before risk review and approval. +
+No data to display
-No matter types to display
+