🎨 feat(model-pricing): refactor layout and component structure (#1365)
* Re-architected model-pricing page into modular components: * PricingPage / PricingSidebar / PricingContent * Removed obsolete `ModelPricing*` components and column defs * Introduced reusable `SelectableButtonGroup` in `common/ui` * Supports Row/Col grid (3 per row) * Optional collapsible mode with gradient mask & toggle * Rebuilt filter panels with the new button-group: * Model categories, token groups, and quota types * Added dynamic `tagCount` badges to display item totals * Extended `useModelPricingData` hook * Added `filterGroup` and `filterQuotaType` state and logic * Updated PricingTable columns & sidebar reset logic to respect new states * Ensured backward compatibility via re-export in `index.jsx` * Polished styling, icons and i18n keys
This commit is contained in:
@@ -21,9 +21,9 @@ import React from 'react';
|
||||
import ModelPricingPage from '../../components/table/model-pricing';
|
||||
|
||||
const Pricing = () => (
|
||||
<div className="mt-[60px] px-2">
|
||||
<>
|
||||
<ModelPricingPage />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
||||
export default Pricing;
|
||||
|
||||
Reference in New Issue
Block a user