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
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
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
887c72be64
Require at least 3 characters for queries.
2023-06-18 19:24:07 +02:00
Mario Zechner
b6a9ec80b5
Added BM25 search index implementation. Run node site/js/bm25.js
for testing.
2023-06-17 14:40:09 +02:00
Mario Zechner
ea5c133003
Binary compression (it's worse), unit prices in charts, small improvements.
2023-06-16 16:01:13 +02:00
Mario Zechner
bd1fa721e4
Settings page and settings for default selected stores, chart start date, and chart type.
2023-06-15 21:12:01 +02:00
Mario Zechner
9e5e8e00fc
Merge pull request #92 from iantsch/select-all-stores-ux
...
Fix select all stores ux
2023-06-15 19:49:36 +02:00
Mario Zechner
6281e66dc7
Various improvements, perf, style, live-reload.
2023-06-15 19:25:35 +02:00
Christian Tschugg
1d574eba81
Fix select all stores ux
2023-06-13 22:04:12 +02:00
Mario Zechner
9bb9e94440
When filter is set to priceChangesToday, show the price of the date, not the current price. Make item in price history bold.
2023-06-13 20:13:29 +02:00
Mario Zechner
031114ebca
The great refactor.
2023-06-13 01:16:27 +02:00
Mario Zechner
d70d7bbfe3
New cart page.
2023-06-13 01:04:12 +02:00
Mario Zechner
fce2f928c7
Spar SI fixes
2023-06-12 15:31:46 +02:00
Mario Zechner
599207ea4c
Disable non-Austrian stores by default.
2023-06-12 14:19:49 +02:00
Mario Zechner
5a25b1560d
Don't render list if item chart checkmark changed.
2023-06-12 12:31:30 +02:00
Mario Zechner
03a349356f
Fix name-similarity shareability.
2023-06-12 12:26:08 +02:00
Mario Zechner
df5b78c1d5
Query serialization.
2023-06-12 11:46:59 +02:00
Mario Zechner
833dd632fa
Fix alaquery filtering.
2023-06-12 10:02:20 +02:00
Mario Zechner
cec7132ff9
Shareable charted items, alasql related improvements.
2023-06-12 00:32:48 +02:00
Mario Zechner
75367c6852
New index.html/index.js using the new framework. State serialization fixes.
2023-06-11 23:49:18 +02:00
Mario Zechner
27fc3cd922
Views emit x-change, not change. Reason: listening for change is just to noisy. We only want events from x-id elements marked with x-change, x-click, x-input, etc.
2023-06-11 21:57:01 +02:00
Mario Zechner
416db5b5b4
Charts, various fixes.
2023-06-11 18:29:31 +02:00
Mario Zechner
0df29311f7
Clean-up.
2023-06-11 02:37:35 +02:00
Mario Zechner
1bb276addb
Implement sorts in items-list, fix items-filter filtering.
2023-06-10 23:43:58 +02:00
Mario Zechner
5964cc5de2
Finished items-filter component, changes-new and index-new. items-list incomplete, no charting yet.
2023-06-10 22:34:28 +02:00
Mario Zechner
323fd15a62
More components, checkbox, items filter.
2023-06-10 13:08:08 +02:00
Mario Zechner
12ef72feae
New changes.html/.js WIP
2023-06-09 02:03:57 +02:00