Frontend Feature Removal of single file manual
This commit is contained in:
@@ -1,26 +1,34 @@
|
||||
import React, { useEffect, useState } from 'react';
|
||||
import { Wrench, Database, UploadCloud, Layers, Inbox, Workflow } from 'lucide-react';
|
||||
import { Wrench, Database, Layers, Inbox, Workflow } from 'lucide-react';
|
||||
import { api } from '../api/client';
|
||||
import { NavigationHeader } from '../components/NavigationHeader';
|
||||
import { StoreCatalogPanel } from './StoreCatalogPanel';
|
||||
import { BatchCatalogPanel } from './BatchCatalogPanel';
|
||||
import { InboxPanel } from './InboxPanel';
|
||||
import { OrchestrationPanel } from './OrchestrationPanel';
|
||||
|
||||
/*
|
||||
* The admin panel carries two views: the read-only project overview, and the
|
||||
* store-catalog ingestion workspace.
|
||||
* The admin panel carries the read-only project overview plus three ingestion
|
||||
* views: a multi-file batch upload, the review inbox, and the Dagster
|
||||
* orchestration screen.
|
||||
*
|
||||
* It briefly carried neither tab bar nor second view - three earlier sub-tabs
|
||||
* (train/test dataset upload, stock-remaining discount allocator, and a
|
||||
* trigger for the brand ingestion pipeline) were retired from the UI, leaving
|
||||
* only the overview. Their endpoints are all still registered and still work;
|
||||
* brand ingestion in particular is reachable from
|
||||
* TWO KINDS OF REMOVAL HAVE HAPPENED HERE, AND THE DIFFERENCE MATTERS.
|
||||
*
|
||||
* Three early sub-tabs (train/test dataset upload, stock-remaining discount
|
||||
* allocator, and a trigger for the brand ingestion pipeline) were retired from
|
||||
* the UI ONLY. Their endpoints are all still registered and still work; brand
|
||||
* ingestion in particular is reachable from
|
||||
* `python cli/ingest_brand.py "<brand>"` and from POST /api/catalog/generate.
|
||||
*
|
||||
* "Store Catalog Ingestion" - a single-file uploader - went further: the tab,
|
||||
* its panel, and the /api/admin/store-catalog/* routes behind it were all
|
||||
* deleted, because Batch Catalog Ingestion does the same job for up to twenty
|
||||
* files and POST /api/uploads/catalog now runs a colleague's upload
|
||||
* automatically. Do not go looking for those endpoints; they are gone. The
|
||||
* eleven-stage pipeline they drove is not - it lives in
|
||||
* app/core/store_catalog_pipeline.py and every route below still runs it.
|
||||
*/
|
||||
const TABS = [
|
||||
{ id: 'project', label: 'Project Overview Details', icon: Database },
|
||||
{ id: 'ingest', label: 'Store Catalog Ingestion', icon: UploadCloud },
|
||||
{ id: 'batch', label: 'Batch Catalog Ingestion', icon: Layers },
|
||||
{ id: 'inbox', label: 'Review Inbox', icon: Inbox },
|
||||
{ id: 'orchestration', label: 'Dagster Orchestration', icon: Workflow },
|
||||
@@ -121,8 +129,6 @@ export function AdminPage() {
|
||||
))}
|
||||
</div>
|
||||
|
||||
{activeTab === 'ingest' && <StoreCatalogPanel />}
|
||||
|
||||
{activeTab === 'batch' && <BatchCatalogPanel adoptBatch={adoptedBatch} />}
|
||||
|
||||
{activeTab === 'inbox' && (
|
||||
|
||||
Reference in New Issue
Block a user