Skip to content

Conversation

arielWix
Copy link
Contributor

No description provided.

const minPrice = getMinPrice(aggregationData);
const maxPrice = getMaxPrice(aggregationData);

console.log("Extracted catalog price range:", { minPrice, maxPrice });
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Comment on lines 139 to 145
userFilterMinPrice: Signal<number>;
/** Reactive signal containing the user's selected maximum price filter value */
userFilterMaxPrice: Signal<number>;
/** Reactive signal containing the catalog minimum price (for UI bounds) */
catalogMinPrice: Signal<number>;
/** Reactive signal containing the catalog maximum price (for UI bounds) */
catalogMaxPrice: Signal<number>;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's change the API to:

Suggested change
userFilterMinPrice: Signal<number>;
/** Reactive signal containing the user's selected maximum price filter value */
userFilterMaxPrice: Signal<number>;
/** Reactive signal containing the catalog minimum price (for UI bounds) */
catalogMinPrice: Signal<number>;
/** Reactive signal containing the catalog maximum price (for UI bounds) */
catalogMaxPrice: Signal<number>;
selectedMinPrice: Signal<number>;
/** Reactive signal containing the user's selected maximum price filter value */
selectedMaxPrice: Signal<number>;
/** Reactive signal containing the catalog minimum price (for UI bounds) */
availableMinPrice: Signal<number>;
/** Reactive signal containing the catalog maximum price (for UI bounds) */
availableMaxPrice: Signal<number>;

Also in all other places

@arielWix arielWix merged commit 62fbd1e into main Jul 28, 2025
1 of 2 checks passed
Paveltarno pushed a commit that referenced this pull request Aug 13, 2025
ttsahi pushed a commit that referenced this pull request Aug 17, 2025
valeriihorsharik-wix pushed a commit that referenced this pull request Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants