Commit Graph

480 Commits

Author SHA1 Message Date
Mario Zechner
d7af971798 Category files may change, git checkout before deployment. 2023-06-23 23:01:53 +02:00
Mario Zechner
f5940dcd79 CSV export, for details see https://docs.google.com/document/d/1Q5OWJOICXjSzTEIHBZgJl1p3FsiWFO0lzXIuwGbXBck/edit#heading=h.2nh5hygulv36 2023-06-23 23:01:03 +02:00
Mario Zechner
9420c3ae3e Penny categories. 2023-06-22 23:54:44 +02:00
Mario Zechner
29e827c71d Fix Lidl bio handling and budget brands. See #93 2023-06-22 22:55:25 +02:00
Mario Zechner
8d2d8fd80b support umlauts in tokenizer 2023-06-22 22:36:33 +02:00
Mario Zechner
7578f544db Fix query parser, allow smushing parts of quantity queries together without whitespace. 2023-06-22 22:30:54 +02:00
Mario Zechner
362864761b Highlight query tokens. 2023-06-22 22:17:12 +02:00
Mario Zechner
1309500e1c Forward to the real site from GH pages. 2023-06-22 21:39:20 +02:00
Mario Zechner
ef0c52ea58 Twitter link. 2023-06-22 20:47:31 +02:00
Mario Zechner
a931ac5535 I hate UX 2023-06-22 20:23:07 +02:00
Mario Zechner
1f5fdf4d29 Link video externally. 2023-06-22 18:58:25 +02:00
Mario Zechner
7c0861ba96 Add links to video and text guide. 2023-06-22 17:12:24 +02:00
Mario Zechner
5a8e3a0528 Fix price changes filter visibility. 2023-06-22 16:46:42 +02:00
Mario Zechner
ffe4f4c4f8 Don't ignore unavailable. 2023-06-22 12:40:58 +02:00
Mario Zechner
ac03c20c39 Closes #103 2023-06-21 22:01:06 +02:00
Mario Zechner
c8a1e41abb Setting to show only available items. On by default. 2023-06-21 21:39:33 +02:00
Mario Zechner
97b4b25933 Show alaSQL errors in the UI. 2023-06-21 21:29:57 +02:00
Mario Zechner
52748c1d70 Re-evaluate unavailable flag on every history merge. 2023-06-21 21:21:30 +02:00
Mario Zechner
1b9505d9cc Mario is an idiot. 2023-06-21 18:38:09 +02:00
Mario Zechner
c3abf97363 More import fixes. 2023-06-21 18:28:35 +02:00
Mario Zechner
d16c7005d6 More import fixes. 2023-06-21 18:27:32 +02:00
Mario Zechner
807c6e90e2 Fix import. 2023-06-21 18:25:21 +02:00
Mario Zechner
bb2511eefc Use local category file instead of querying site. 2023-06-21 18:20:36 +02:00
Mario Zechner
4fc46fc335 Fix visibility of filter groups, fix diagram show/hide. 2023-06-21 17:25:48 +02:00
Mario Zechner
60ecb68924 Mark unavailable items in data and with 💀 in ui, add emojis to category names, hide filter groups if ! query, 2023-06-21 17:07:45 +02:00
Mario Zechner
d9ed69f578 Fix Penny URLs, invert category filter checkbox logic. 2023-06-21 16:15:05 +02:00
Mario Zechner
f2ef75e5c4 Remove old entries for discount only stores. Closes #102 2023-06-21 16:00:59 +02:00
Mario Zechner
b05702aff5 Hofer and MPREIS categories. 2023-06-21 15:20:28 +02:00
Mario Zechner
8419689f11 Clean-up, initial Hofer mapping. 2023-06-21 02:43:04 +02:00
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
Mario Zechner
55b8a79107 Try to unfuck some chart related CSS. 2023-06-20 00:22:22 +02:00
Mario Zechner
18fcf6497e Further simplify README.md 2023-06-19 17:46:09 +02:00
Mario Zechner
35c4117689 Update README.md 2023-06-19 17:45:08 +02:00
Mario Zechner
9f4d06467f Clean-up. 2023-06-19 01:53:08 +02:00
Mario Zechner
b0edbf88a5 Fix id of dm-de items, category of billa items. 2023-06-19 01:52:20 +02:00
Mario Zechner
6569b17da2 Remove binary encoding, web worker, clean-up. 2023-06-18 23:23:02 +02:00
Mario Zechner
be552fcd9e Hard code JSON data usage. 2023-06-18 22:52:32 +02:00
Mario Zechner
ae470972b0 Lower items list batch size for faster rendering. 2023-06-18 22:44:33 +02:00
Mario Zechner
f315d03829 Remove sparSi, use getters instead of precalculated values in item. See #99 145mb - 92mb 2023-06-18 22:35:48 +02:00
Mario Zechner
a93c581ef9 Intern strings. See #99. 2023-06-18 20:29:03 +02:00
Mario Zechner
d636362acc Don't precalculate item url. See #99 166 -> 159mb 2023-06-18 20:14:36 +02:00
Mario Zechner
887c72be64 Require at least 3 characters for queries. 2023-06-18 19:24:07 +02:00
Mario Zechner
be0516fca6 Fix log message. 2023-06-18 17:36:46 +02:00
Mario Zechner
e2b38aec95 Higher debounce delay on mobile. 2023-06-18 16:24:32 +02:00
Mario Zechner
916f7af5ec Add web worker support for loading items. It's much slower than just blocking on the main thread. 2023-06-18 16:16:01 +02:00
Mario Zechner
0d8ed03934 Deploy script. 2023-06-18 15:36:43 +02:00
Mario Zechner
c34c5c7343 Added loader. Stalls because to much work is done on the main thread. Good enough. 2023-06-18 15:35:09 +02:00
Mario Zechner
d13a0e2d55 Final answer. 2023-06-18 14:55:57 +02:00
Mario Zechner
e065057f81 Sigh #2... 2023-06-18 14:53:56 +02:00
Mario Zechner
538bf08d0b Sigh. 2023-06-18 14:51:37 +02:00