heissepreise/site/views
Mario Zechner 303d25ccb5 Categories for Billa & Spar, infra to add catgories for other stores.
Billa maps directly to the canonical categories. Spar uses a mapping file stores/spar-categories.json.

Each store has a generateCategoryMapping() function which is called once in analysis.js:updateData() and analysis.js:replay(). The function is responsible for

* Fetching the latest categories
* Merging them with already mapped categories
* Report new categories that haven't been mapped yet
* Report categories that have been mapped but are no longer part of the latest set of categories
* Save the merged mappings to disk

This schema might not work for all stores, in which case updateData() and replay() will use a knn approach to figure out the category for an item. See #81
2023-06-21 01:29:00 +02:00
..
carts-list.js The great refactor. 2023-06-13 01:16:27 +02:00
custom-checkbox.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
index.js New cart page. 2023-06-13 01:04:12 +02:00
items-chart.js Try to unfuck some chart related CSS. 2023-06-20 00:22:22 +02:00
items-filter.js Categories for Billa & Spar, infra to add catgories for other stores. 2023-06-21 01:29:00 +02:00
items-list.js Try to unfuck some chart related CSS. 2023-06-20 00:22:22 +02:00
view.js Higher debounce delay on mobile. 2023-06-18 16:24:32 +02:00