Merge same-named vendors and products in the filter bar

Fixkamo-internal
Shipped
August 5, 2026 at 7:41 PM UTC
Author
kamo
Commit
99399b1

An org routinely holds one lead supplier under several vendor records, so on the "All Markets" tab the Vendor dropdown listed the same name once per record — identical rows the member could not tell apart, and duplicate React keys. Vendors that share a name now collapse into a single option, and so do the products underneath them: selecting the merged vendor loads the union of every merged vendor's products, with same-named products merged in turn. Selecting either returns all the leads behind the name, because the grid filters now compare through the same normalization used to build the options (trimmed, whitespace-collapsed, case-insensitive) instead of an exact string equality. Grouping products per vendor group also fixes a bug on market tabs: product names were deduped globally, so when two differently-named vendors both sold "Refi 30" only the first kept it and picking the second gave an empty Product dropdown. Option building moves out of the component into **************** so the grouping and the lead-matching rule sit together and are unit tested.

All changes

Like what you see shipping?

Every one of these updates lands in your workspace automatically. Start free and watch it grow week after week.

Start Free ForeverView Pricing