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
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
c1e703fd28
Fix cart management (import, save)
2023-06-16 19:24:43 +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
6281e66dc7
Various improvements, perf, style, live-reload.
2023-06-15 19:25:35 +02:00
Mario Zechner
32083105f8
Minor clean-up.
2023-06-13 01:19:07 +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
Florian Bauer
4961995839
Improve performance
2023-06-07 23:37:53 +02:00
Florian Bauer
02b26051f9
Minor Template String Change
2023-06-07 00:10:39 +02:00
Florian Bauer
eb24f8ff95
Change Color Structure to tailwindCSS Colors
2023-06-07 00:07:53 +02:00
Florian Bauer
57a495f224
Merge branch 'main' of github.com:flobauer/heissepreise
2023-06-07 00:05:37 +02:00
Florian Bauer
d46f52e891
tailwind rewrite
2023-06-06 23:56:57 +02:00
Mario Zechner
241c3a83ec
Fix cart all checkbox.
2023-06-06 18:50:44 +02:00
Mario Zechner
23b1ec978a
JSON download of cart.
2023-06-06 15:14:57 +02:00
Mario Zechner
e714d720b0
Fix charting in cart.
2023-06-05 08:12:29 +02:00
Mario Zechner
a63cfa7c91
Remove aktionen and billiger, all done in changes.html now.
2023-06-04 21:30:55 +02:00
Mario Zechner
f61f0d1a0e
Fix cart header on mobile, some prettification.
2023-06-04 19:54:28 +02:00
Mario Zechner
002279593f
Fix cart table header on mobile.
2023-06-04 19:32:13 +02:00
Mario Zechner
b913097a99
Tons of frontend refactoring. Bug: cart table shows header on mobile
2023-06-04 14:45:05 +02:00
Mario Zechner
21e7566cfa
Removed the sticky search field, refactoring, WIP
2023-06-04 02:19:13 +02:00
Mario Zechner
c6bbd0e03b
Increased maxWidth to 150 in prettier config, formatted all the things. See #52 .
2023-06-02 16:45:54 +02:00
Christian Tschugg
3b2cfa4bf9
Fix broken initial load of default cart
2023-06-02 14:38:46 +02:00
Christian Tschugg
677b7032ac
Escape cart name, fixes badlogic/heissepreise#47
2023-06-02 08:00:54 +02:00
Mario Zechner
6449ec971a
Improve responsiveness of input box via timeout delay, add date range to chart, add sum and sum by store charting to main page.
2023-06-01 17:40:11 +02:00
Mario Zechner
08103a4c95
Make showCharts reusable, refactor carts.
2023-06-01 15:54:44 +02:00
Mario Zechner
c7533691b1
Refactor cart.js spaghetti.
2023-06-01 15:47:17 +02:00
Mario Zechner
df5043c197
Add similarity and price sort for search results.
2023-05-31 16:42:41 +02:00
Mario Zechner
774d445749
Today only charting in cart.
2023-05-30 21:42:47 +02:00
Mario Zechner
80f17e3f3d
Chart type selection and sum per chain chart in cart.html
2023-05-30 20:02:03 +02:00
HannesOberreiter
df9d516a8f
fix: 🎨 change to plural form
2023-05-29 19:05:02 +02:00
HannesOberreiter
c56ac89d6f
refactor: ♻️ refactor some utils
2023-05-29 17:31:00 +02:00
Mario Zechner
2459bf05f5
Shareable link in cart
2023-05-28 21:43:50 +02:00
Mario Zechner
6995bcec66
Fix filter in cart.
2023-05-28 21:37:42 +02:00
Mario Zechner
488d22d269
Don't use hard coded store UI elements anywhere.
2023-05-28 21:26:49 +02:00
Mario Zechner
5499f3b9da
Add filtering to cart, refactor charting.
2023-05-27 22:46:59 +02:00
Mario Zechner
dee74f925e
Share carts via link and allow to save them to own cart list. Limited by maximum URL length but easier than export/import.
2023-05-27 21:44:22 +02:00
Mario Zechner
9d22062ca0
Fix button cell in cart table.
2023-05-26 16:13:15 +02:00
Christian Tschugg
0788e7cd53
Add responsive tables
2023-05-26 14:09:15 +02:00
simmac
8711edb503
Added MPREIS support
2023-05-26 00:34:26 +02:00
Christian Tschugg
661ca82f6c
Add limited support for LIDL
2023-05-25 14:03:19 +02:00
Mario Zechner
72ec079de2
Fix up DM integration.
2023-05-25 13:38:39 +02:00
Simeon Macke (01505675)
fadb104d72
Add DM support
2023-05-25 12:28:12 +02:00
Mario Zechner
a52ca5c51a
More charting in cart.
2023-05-24 16:59:43 +02:00
Mario Zechner
32dd0d9776
Refactoring search and charting, charts in product search.
2023-05-23 20:07:26 +02:00
Mario Zechner
dc8b4ece3d
Allow SQL-like queries, enabled by prepending query with ! character, e.g. !price > 0.4
2023-05-23 11:21:48 +02:00
Mario Zechner
a870446485
Cart charts.
2023-05-22 16:02:01 +02:00
Mario Zechner
df6b4cdd9d
Add Momentum Eigenmarken cart as default cart.
2023-05-22 14:39:57 +02:00
Mario Zechner
8f67580822
Add carts.
2023-05-19 16:01:43 +02:00