mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 16:55:24 +02:00
feat: remove Data Completeness module
This commit is contained in:
+1
-5
@@ -4,7 +4,6 @@ import { AppState, ExcelRow, COLUMNS } from './types';
|
||||
import { Sidebar } from './components/Sidebar';
|
||||
import { TopBar } from './components/TopBar';
|
||||
import { ProductDescriptions } from './components/ProductDescriptions';
|
||||
import { DataCompleteness } from './components/DataCompleteness';
|
||||
import { MatrixView } from './components/MatrixView';
|
||||
import { UploadReload } from './components/UploadReload';
|
||||
import { EditPanel } from './components/EditPanel';
|
||||
@@ -18,7 +17,7 @@ export default function App() {
|
||||
fileDate: null,
|
||||
hasUnsavedChanges: false
|
||||
});
|
||||
const [activeModule, setActiveModule] = useState<'descriptions' | 'completeness' | 'matrix' | 'upload'>('descriptions');
|
||||
const [activeModule, setActiveModule] = useState<'descriptions' | 'matrix' | 'upload'>('descriptions');
|
||||
const [editingRowIndex, setEditingRowIndex] = useState<number | null>(null);
|
||||
const [isLoadingDefault, setIsLoadingDefault] = useState(true);
|
||||
const [defaultLoadError, setDefaultLoadError] = useState<string | null>(null);
|
||||
@@ -228,9 +227,6 @@ export default function App() {
|
||||
onEdit={(index) => setEditingRowIndex(index)}
|
||||
/>
|
||||
)}
|
||||
{activeModule === 'completeness' && (
|
||||
<DataCompleteness data={appState.data} headers={appState.headers} />
|
||||
)}
|
||||
{activeModule === 'matrix' && (
|
||||
<MatrixView data={appState.data} headers={appState.headers} />
|
||||
)}
|
||||
|
||||
@@ -10,7 +10,6 @@ interface SidebarProps {
|
||||
export function Sidebar({ activeModule, setActiveModule }: SidebarProps) {
|
||||
const navItems = [
|
||||
{ id: 'descriptions', label: 'Product Descriptions', icon: FileText },
|
||||
{ id: 'completeness', label: 'Data Completeness', icon: CheckSquare },
|
||||
{ id: 'matrix', label: 'Matrix', icon: Table },
|
||||
{ id: 'upload', label: 'Upload / Reload', icon: Upload },
|
||||
] as const;
|
||||
|
||||
Reference in New Issue
Block a user