From 20dcc6b2454258805479912e991a654e7f07511c Mon Sep 17 00:00:00 2001 From: Benjamin Sutter Date: Tue, 9 Jun 2026 22:52:19 +0200 Subject: [PATCH] fix: remove FUTURE_SIGNAL from supply availability filter MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FUTURE_SIGNAL is a demand/AI market intelligence concept — it applies to properties not in the manager's portfolio. Own properties can only be AVAILABLE_NOW, AVAILABLE_SOON, or OCCUPIED. Co-Authored-By: Claude Sonnet 4.6 --- src/components/supply/PropertyFilterBar.tsx | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/components/supply/PropertyFilterBar.tsx b/src/components/supply/PropertyFilterBar.tsx index ffcae6a..72e892e 100644 --- a/src/components/supply/PropertyFilterBar.tsx +++ b/src/components/supply/PropertyFilterBar.tsx @@ -33,7 +33,14 @@ const SORT_OPTIONS = [ ] as const const ALL_ASSET_TYPES = Object.values(AssetType) -const ALL_AVAILABILITY = Object.values(AvailabilityStatus) + +// Supply-side only: FUTURE_SIGNAL is a demand/AI concept (market intelligence for unknown properties) +// A property manager's own inventory can only be in one of these three states +const SUPPLY_AVAILABILITY_STATUSES = [ + AvailabilityStatus.AVAILABLE_NOW, + AvailabilityStatus.AVAILABLE_SOON, + AvailabilityStatus.OCCUPIED, +] as const export function PropertyFilterBar({ filters, onFiltersChange }: PropertyFilterBarProps) { const isActive = @@ -95,7 +102,7 @@ export function PropertyFilterBar({ filters, onFiltersChange }: PropertyFilterBa sx={{ minWidth: 160 }} > Verfügbarkeit (alle) - {ALL_AVAILABILITY.map(s => ( + {SUPPLY_AVAILABILITY_STATUSES.map(s => ( {getAvailabilityLabel(s)} ))}