From c079995fdc84dde695923bc99a6c0948877d7efe Mon Sep 17 00:00:00 2001 From: KarthiKKVardhan Date: Wed, 13 May 2026 13:24:24 +0530 Subject: [PATCH] Change UI month to quarter --- .../ManufacturingIndex/ManufacturingIndex.jsx | 20 +++++++++---------- .../ManufacturingIndexPopup/ISIC2Digit.jsx | 4 ++-- .../ManufacturingIndexPopup/ISIC3Digit.jsx | 4 ++-- .../ManufacturingIndexPopup/ISIC4Digit.jsx | 4 ++-- .../ManufacturingTotal.jsx | 12 +++++------ 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndex.jsx b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndex.jsx index 5271ab3..a62516c 100644 --- a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndex.jsx +++ b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndex.jsx @@ -400,7 +400,7 @@ const ManufacturingIndex = () => { className="relative" > - Monthly ISIC breakdown {selectedMonth?.quarter} - {selectedMonth?.month} + Quarterly ISIC breakdown {selectedMonth?.quarter} - {selectedMonth?.month} { ) : (

- Start from the manufacturing total, then drill down into ISIC 2-digit and 3 & 4-digit groups for the selected month. + Start from the manufacturing total, then drill down into ISIC 2-digit and 3 & 4-digit groups for the selected quarter.

{/* Tabs Header */}
@@ -508,10 +508,10 @@ const ManufacturingIndex = () => {

- Manufacturing Index - Monthly overview + Manufacturing Index - Quarterly overview

- Monthly manufacturing indices are automatically generated on the 11th of each month using the finalized Laspeyres item indices. This view enables users to monitor trends and drill down into ISIC group–level details. + Quarterly manufacturing indices are automatically generated on the 11th of each quarter using the finalized Laspeyres item indices. This view enables users to monitor trends and drill down into ISIC group–level details.

@@ -543,10 +543,10 @@ const ManufacturingIndex = () => {

- Manufacturing index — by reference month ({filteredMonths.length}) + Manufacturing Index

- Filter by year and quickly jump to a month to see its ISIC breakdown. + Filter by year and quickly jump to a quarter to see its ISIC breakdown.

@@ -565,7 +565,7 @@ const ManufacturingIndex = () => {
{
{ const isSelected = selectedMonth?.month === row.month; return [
- {row.month} + {row.year}
, {row.quarter} diff --git a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC2Digit.jsx b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC2Digit.jsx index f6372cc..c7e34ad 100644 --- a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC2Digit.jsx +++ b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC2Digit.jsx @@ -208,8 +208,8 @@ const ISIC2Digit = ({ setActiveTab, apiData }) => {

Operational notes

    -
  • Manufacturing indices are auto-generated on the 11th using the latest validated item-level data for the previous reference month.
  • -
  • If an automated run fails, the status for that month will show as Error; admins can re-trigger the calculation from the technical tools page.
  • +
  • Manufacturing indices are auto-generated on the 11th using the latest validated item-level data for the previous reference quarter.
  • +
  • If an automated run fails, the status for that quarter will show as Error; admins can re-trigger the calculation from the technical tools page.
  • All drill-down views (ISIC 2-digit and ISIC 3 & 4-digit) use the same Laspeyres weights and base year as the headline manufacturing index.
diff --git a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC3Digit.jsx b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC3Digit.jsx index 324e07e..b838023 100644 --- a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC3Digit.jsx +++ b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC3Digit.jsx @@ -183,8 +183,8 @@ const ISIC3Digit = ({ setActiveTab, apiData }) => {

Operational notes

    -
  • Manufacturing indices are auto-generated on the 11th using the latest validated item-level data for the previous reference month.
  • -
  • If an automated run fails, the status for that month will show as Error; admins can re-trigger the calculation from the technical tools page.
  • +
  • Manufacturing indices are auto-generated on the 11th using the latest validated item-level data for the previous reference quarter.
  • +
  • If an automated run fails, the status for that quarter will show as Error; admins can re-trigger the calculation from the technical tools page.
  • All drill-down views (ISIC 2-digit and ISIC 3 & 4-digit) use the same Laspeyres weights and base year as the headline manufacturing index.
diff --git a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC4Digit.jsx b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC4Digit.jsx index 22f699d..1c8f578 100644 --- a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC4Digit.jsx +++ b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ISIC4Digit.jsx @@ -183,8 +183,8 @@ const ISIC4Digit = ({ setActiveTab, apiData }) => {

Operational notes

    -
  • Manufacturing indices are auto-generated on the 11th using the latest validated item-level data for the previous reference month.
  • -
  • If an automated run fails, the status for that month will show as Error; admins can re-trigger the calculation from the technical tools page.
  • +
  • Manufacturing indices are auto-generated on the 11th using the latest validated item-level data for the previous reference quarter.
  • +
  • If an automated run fails, the status for that quarter will show as Error; admins can re-trigger the calculation from the technical tools page.
  • All drill-down views (ISIC 2-digit and ISIC 3 & 4-digit) use the same Laspeyres weights and base year as the headline manufacturing index.
diff --git a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ManufacturingTotal.jsx b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ManufacturingTotal.jsx index 69bd3a5..245b964 100644 --- a/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ManufacturingTotal.jsx +++ b/ipi-survey-platform/src/pages/ManufacturingIndex/ManufacturingIndexPopup/ManufacturingTotal.jsx @@ -13,7 +13,7 @@ const ManufacturingTotal = ({ selectedMonthData, setActiveTab, monthlyOverviewDa

Manufacturing Index (Headline)

-

No data available for this month.

+

No data available for this quarter.

); } @@ -68,7 +68,7 @@ const ManufacturingTotal = ({ selectedMonthData, setActiveTab, monthlyOverviewDa
- MoM:{' '} + QOQ:{' '} = 0 @@ -98,10 +98,10 @@ const ManufacturingTotal = ({ selectedMonthData, setActiveTab, monthlyOverviewDa The manufacturing index{' '} {momNumeric >= 0 ? 'increased' : 'decreased'} by{' '} {Math.abs(momNumeric)}% compared to - the previous month and{' '} + the previous quarter and{' '} {yoyNumeric >= 0 ? 'increased' : 'decreased'} by{' '} {Math.abs(yoyNumeric)}% compared to - the same month last year. + the same quarter last year.

@@ -114,8 +114,8 @@ const ManufacturingTotal = ({ selectedMonthData, setActiveTab, monthlyOverviewDa

Operational notes

    -
  • Manufacturing indices are auto-generated on the 11th using the latest validated item-level data for the previous reference month.
  • -
  • If an automated run fails, the status for that month will show as Error; admins can re-trigger the calculation from the technical tools page.
  • +
  • Manufacturing indices are auto-generated on the 11th using the latest validated item-level data for the previous reference quarter.
  • +
  • If an automated run fails, the status for that quarter will show as Error; admins can re-trigger the calculation from the technical tools page.
  • All drill-down views (ISIC 2-digit and ISIC 3 & 4-digit) use the same Laspeyres weights and base year as the headline manufacturing index.