Categories & Groups / Group
34 entries across 6 modules.
The price alert watchlist, and the rules for what counts as a price drop. Price changes themselves are logged in the price history; an alert only remembers the latest prices.
A price as the supplier lists it. Kept in the native currency, so a change in exchange rate can't look like a drop.
One price that went down.
A watched product.
The result of comparing fresh prices with an alert's last known ones.
References to specific supplier products, used to refetch them without running a search.
The identifiers of one size of a product. Suppliers with grouped listings refetch each member.
Everything needed to refetch one specific product. It carries several identifiers because no single field works for every supplier.
The builders a supplier found for a batch of refs.
The outcome of refetching one product. Only OK carries a product.
How the toolbar badge shows price drops the user hasn't seen. A ChemPal page that is visible or searching controls the badge (see "./badgeController"); otherwise the background worker shows the drops. A hidden page couldn't flash it, since browsers slow its timers down.
Updates cached copies of one product after it was refetched on its own.