From c227d9ee039f780abfd1e6fc340d8fa8062faec2 Mon Sep 17 00:00:00 2001 From: "IGNY8 VPS (Salman)" Date: Sat, 27 Dec 2025 09:25:31 +0000 Subject: [PATCH] final ui of planner and writer --- .../src/components/header/HeaderMetrics.tsx | 3 +- frontend/src/layout/AppHeader.tsx | 9 +-- .../pages/Setup/IndustriesSectorsKeywords.tsx | 67 ++++++++----------- frontend/src/styles/igny8-colors.css | 5 ++ frontend/src/templates/TablePageTemplate.tsx | 8 +-- 5 files changed, 44 insertions(+), 48 deletions(-) diff --git a/frontend/src/components/header/HeaderMetrics.tsx b/frontend/src/components/header/HeaderMetrics.tsx index a563d8f7..33cfd6b2 100644 --- a/frontend/src/components/header/HeaderMetrics.tsx +++ b/frontend/src/components/header/HeaderMetrics.tsx @@ -11,6 +11,7 @@ export const HeaderMetrics: React.FC = () => { return (
{metrics.map((metric, index) => { + const isCredits = metric.label.toLowerCase() === 'credits'; const metricElement = (
@@ -20,7 +21,7 @@ export const HeaderMetrics: React.FC = () => { )} - + {typeof metric.value === 'number' ? metric.value.toLocaleString() : metric.value}
diff --git a/frontend/src/layout/AppHeader.tsx b/frontend/src/layout/AppHeader.tsx index 19e07519..529218a9 100644 --- a/frontend/src/layout/AppHeader.tsx +++ b/frontend/src/layout/AppHeader.tsx @@ -105,10 +105,6 @@ const AppHeader: React.FC = () => {
)} - {/* Site and Sector Selector - Desktop */} -
- -
{/* Right side actions */} @@ -121,6 +117,11 @@ const AppHeader: React.FC = () => { {/* Header Metrics */} + {/* Site and Sector Selector - Desktop */} +
+ +
+ {/* Search Icon */} - )} - - {/* Coming Soon Teaser */} -

- Looking for more keywords? Keyword Research coming soon! -

- - )} - + + {addedCount} in workflow + +
+ + {availableCount} available + + {addedCount > 0 && ( + <> +
+ + + )} +
+ ) : undefined} onFilterChange={(key, value) => { const stringValue = value === null || value === undefined ? '' : String(value); diff --git a/frontend/src/styles/igny8-colors.css b/frontend/src/styles/igny8-colors.css index a83f0d57..c614b89c 100644 --- a/frontend/src/styles/igny8-colors.css +++ b/frontend/src/styles/igny8-colors.css @@ -383,6 +383,11 @@ select.igny8-select-styled option:checked { margin-left: 4px; } +/* Credits-specific value - 20% smaller than other metrics */ +.igny8-header-metric-value-credits { + font-size: 13px; /* 16px * 0.8 = 12.8px ≈ 13px */ +} + .dark .igny8-header-metric-value { color: #fff; } diff --git a/frontend/src/templates/TablePageTemplate.tsx b/frontend/src/templates/TablePageTemplate.tsx index 5fb641d9..67b3d1bc 100644 --- a/frontend/src/templates/TablePageTemplate.tsx +++ b/frontend/src/templates/TablePageTemplate.tsx @@ -545,7 +545,7 @@ export default function TablePageTemplate({ return (
{/* Bulk Actions and Action Buttons Row - Reduced padding */} -
+
{/* Main row with buttons and metrics */}
{/* Left side - Create Button, Primary Action, Bulk Actions, Filter Toggle */} @@ -728,10 +728,10 @@ export default function TablePageTemplate({
- {/* Filters Row - Below action buttons, centered */} + {/* Filters Row - Below action buttons, left aligned with shadow */} {showFilters && (renderFilters || filters.length > 0) && ( -
-
+
+
{renderFilters ? ( renderFilters