From edadc02404964f1aa2a2a19e6042533a111a5318 Mon Sep 17 00:00:00 2001 From: Amy Yeung Date: Mon, 1 Jul 2024 11:35:12 -0400 Subject: [PATCH 1/3] Changed properties in view to total properties --- src/components/SidePanelControlBar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SidePanelControlBar.tsx b/src/components/SidePanelControlBar.tsx index a21d4bb0..3f2b8228 100644 --- a/src/components/SidePanelControlBar.tsx +++ b/src/components/SidePanelControlBar.tsx @@ -80,7 +80,7 @@ const SearchBarComponent: FC = ({ ? savedPropertyCount : featureCount.toLocaleString()}{" "} - Properties in View + Total Properties {/* Right-aligned content: Buttons */} From 4513e0f16fa1cc7bb040cc412937c16a67392dca Mon Sep 17 00:00:00 2001 From: Amy Yeung Date: Mon, 1 Jul 2024 12:02:27 -0400 Subject: [PATCH 2/3] Added features in view counter --- src/components/PropertyDetailSection.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/PropertyDetailSection.tsx b/src/components/PropertyDetailSection.tsx index c87039f4..1effdac1 100644 --- a/src/components/PropertyDetailSection.tsx +++ b/src/components/PropertyDetailSection.tsx @@ -250,6 +250,9 @@ const PropertyDetailSection: FC = ({ disableCursorAnimation={true} > +

+ {`${((page - 1) * 6) + 1}-${page === pages ? featuresInView.length : (page * 6)} of ${featuresInView.length}`} +

Note: only the first 100 properties can be viewed in list. From 222a038dc9e00c310f6b342dea8293224695bf12 Mon Sep 17 00:00:00 2001 From: Amy Yeung Date: Tue, 2 Jul 2024 11:25:09 -0400 Subject: [PATCH 3/3] Replaced - with to --- src/components/PropertyDetailSection.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PropertyDetailSection.tsx b/src/components/PropertyDetailSection.tsx index 1effdac1..0d92c765 100644 --- a/src/components/PropertyDetailSection.tsx +++ b/src/components/PropertyDetailSection.tsx @@ -251,7 +251,7 @@ const PropertyDetailSection: FC = ({ >

- {`${((page - 1) * 6) + 1}-${page === pages ? featuresInView.length : (page * 6)} of ${featuresInView.length}`} + {`${((page - 1) * 6) + 1} to ${page === pages ? featuresInView.length : (page * 6)} of ${featuresInView.length}`}