Commit Graph

198 Commits

Author SHA1 Message Date
Mario Zechner
d85d9d4f24 Make name links take up entire <td> 2023-06-05 21:52:02 +02:00
simmac
2b497d600e Add legal disclaimer 2023-06-05 16:27:37 +02:00
Mario Zechner
e714d720b0 Fix charting in cart. 2023-06-05 08:12:29 +02:00
Mario Zechner
81ecd54760 Fix charting in main. 2023-06-05 00:06:10 +02:00
Mario Zechner
352b397515 Fix charting in product search. 2023-06-04 23:38:52 +02:00
Mario Zechner
f06622f5d6 Merge branch 'main' into site-refactor 2023-06-04 21:52:01 +02:00
Mario Zechner
402aed16e5 Fixes #63, penny urls 2023-06-04 21:51:50 +02:00
Mario Zechner
25f63b18dc Fix bug in calculateOverallPriceChanges, date range was applied in the wrong place. 2023-06-04 21:37:33 +02:00
Mario Zechner
7b9b478520 Add menu to changes. 2023-06-04 21:31:35 +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
665b2b5c25 .js clean-up, add second pattern to template "engine" so we can also bundle .js files eventually. Not great for development, as line numbers no longer match. 2023-06-04 03:30:05 +02:00
Mario Zechner
21e7566cfa Removed the sticky search field, refactoring, WIP 2023-06-04 02:19:13 +02:00
Mario Zechner
2ef5be9e9b Server-side generation with watcher and live-reload. pages.js still broken. 2023-06-03 23:46:43 +02:00
Mario Zechner
d357caf7f1 First pass, everything is broken. 2023-06-03 22:00:52 +02:00
Mario Zechner
31a5cccec6 Revert change to currentDate(). Date.toISOString() gives time in UTC... 2023-06-03 01:24:22 +02:00
Mario Zechner
8bf0d65d89
Merge branch 'main' into compress-json 2023-06-02 16:56:22 +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
02bd7e5ff8 Compress raw data files on disk, fixes badlogic/heissepreise#51 2023-06-02 16:24:58 +02:00
Christian Tschugg
d3b498450a Add style tweaks 2023-06-02 15:05:11 +02:00
Christian Tschugg
f6649ca1cc Remove console.logs 2023-06-02 14:56:45 +02:00
Christian Tschugg
52f9fb32bf Fix IntersectionObserver entries below window size 2023-06-02 14:39:12 +02:00
Christian Tschugg
3b2cfa4bf9 Fix broken initial load of default cart 2023-06-02 14:38:46 +02:00
Christian Tschugg
8481a32d4f PoC: Sticky Header 2023-06-02 14:36:24 +02:00
Werner Robitza
9358548d0f add 'alle' checkbox 2023-06-02 14:17:00 +02:00
Mario Zechner
648927a294 Merge branch 'main' of https://github.com/badlogic/heissepreise 2023-06-02 09:56:56 +02:00
Mario Zechner
64fe6babfb Add lowestPrice field to item for alasql queries. 2023-06-02 09:56:48 +02:00
Mario Zechner
5082452685
Merge pull request #53 from iantsch/escape-cart-name
Escape cart name, fixes badlogic/heissepreise#47
2023-06-02 09:54:24 +02:00
Christian Tschugg
9f287e10e5 Add 🔥 as favicon 2023-06-02 08:04:48 +02:00
Christian Tschugg
677b7032ac Escape cart name, fixes badlogic/heissepreise#47 2023-06-02 08:00:54 +02:00
Mario Zechner
c34be43048 Fix query sharing with 1 checked item. 2023-06-01 20:08:24 +02:00
Mario Zechner
c5f0812e02 Mario tests in prod only... 2023-06-01 19:29:49 +02:00
Mario Zechner
dcc839cccb Fix query sharing. 2023-06-01 19:10:14 +02:00
Mario Zechner
cb287167d9 Add hasPriceChange function that can be called from alasql queries, e.g. !store="billa" and hasPriceChange(priceHistory, "2023-05-16", "2023-05-21") 2023-06-01 18:28:45 +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
6b1f84cfe3 Manually merged PR #48, Penny support (only gets us 275 products) 2023-06-01 14:40:28 +02:00
Mario Zechner
53fd866617 Show number of results in changes.html, fix search input width. 2023-06-01 14:25:12 +02:00
Mario Zechner
4302ed8137 Fix visibility of query sharing/json download in search component. Add price1/date1-10 to items for easier access via alasql 2023-06-01 14:24:50 +02:00
Mario Zechner
2a53cbd91a Added Rewe Germany 2023-06-01 01:09:25 +02:00
Mario Zechner
f498ab3c88 Ignore null quantity/unit in vectorization 2023-05-31 17:06:38 +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
Mario Zechner
1270002b99 Initial DM Germany support. 2023-05-30 19:29:33 +02:00
Mario Zechner
e05e5a62a3 Fix text of query link and margin. 2023-05-30 13:57:54 +02:00
Mario Zechner
74ce151c7d
Merge pull request #42 from iantsch/fetch-canonical-parallel
Fetch canonical compressed in parallel
2023-05-30 13:57:14 +02:00
Christian Tschugg
0f5a08d723 Fetch canonical compressed in parallel 2023-05-30 13:09:27 +02:00
Christian Tschugg
a9c37acb59 Allow searches to be shared, fixes badlogic/heissepreise#33 2023-05-30 11:57:00 +02:00
Mario Zechner
984166cca6 Search field lacked quantity. 2023-05-30 10:46:45 +02:00
Mario Zechner
9a6c6a3589 Fix division by zero. 2023-05-30 10:41:51 +02:00
Mario Zechner
ed5e9b6d60
Merge pull request #40 from pretzelhands/patch-1
Add "Balea" as budget brand for DM
2023-05-30 10:34:53 +02:00
Mario Zechner
f26b5c3625 Closes #34 2023-05-30 10:34:25 +02:00
pretzelhands
a46d663725
Add "Balea" as budget brand for DM 2023-05-30 10:01:24 +02:00
Mario Zechner
c9cae1ec51
Merge pull request #39 from HannesOberreiter/refactor
refactor: ♻️ refactor some utils
2023-05-30 09:49:57 +02:00
HannesOberreiter
5f0d52a64a fix: 🎨 fix indentations 2023-05-29 19:13:36 +02:00
HannesOberreiter
53520359b1 style: 🎨 change to plural and use correct identations 2023-05-29 19:05:19 +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
HannesOberreiter
f497f1259f style: 🔥 remove unused variables 2023-05-29 16:06:47 +02:00
Mario Zechner
f2cd16aa05 Alasql missing in aktionen/billiger 2023-05-29 12:42:09 +02:00
Mario Zechner
2e1b863f8b Show number of results in aktionen.html, styling. 2023-05-29 12:34:39 +02:00
Mario Zechner
684794e961 Fix filtering in aktionen, add billiger.html/.js to show all products that are cheaper than their previous price. 2023-05-29 12:31:14 +02:00
Mario Zechner
25d4821ccf Fix teurer/billiger in aktionen.html/.js 2023-05-29 12:14:08 +02:00
Mario Zechner
46eb2aff72
Merge pull request #10 from mhochsteger/unify_units
Unify units
2023-05-29 01:01:34 +02:00
Mario Zechner
c9ca788d46 Merge branch 'main' of https://github.com/badlogic/heissepreise 2023-05-29 00:42:32 +02:00
Mario Zechner
611a48809f Add store name to chart. 2023-05-29 00:42:24 +02:00
Markus Tiefenbacher
1fa31bdf7c Add Unimarkt Support 2023-05-29 00:08:32 +02:00
Matthias Hochsteger
dbe22ef5e6 Merge remote-tracking branch 'origin/main' into unify_units 2023-05-28 22:31:12 +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
9bacaf4fe4 Fix budget brand filtering, fix order of stores. 2023-05-28 21:06:19 +02:00
Mario Zechner
35c3bbbcca
Merge pull request #29 from iantsch/ui-generic-store
Refactor UI to generic store syntax
2023-05-28 20:37:45 +02:00
Matthias Hochsteger
cf2171737a Show a scale symbol for weighted articles, convert to l/kg 2023-05-28 19:25:15 +02:00
Matthias Hochsteger
80d749cc84 Merge remote-tracking branch 'ori/main' into unify_units 2023-05-28 18:07:33 +02:00
Mario Zechner
2474e5ec32 Fix filtering in Aktionen. 2023-05-28 09:02:38 +02:00
Mario Zechner
6240ab2aa7 Fix filtering in Aktionen. 2023-05-28 09:02:03 +02:00
Mario Zechner
5499f3b9da Add filtering to cart, refactor charting. 2023-05-27 22:46:59 +02:00
Matthias Hochsteger
2c19a6ccf3 show unit and quantity when available 2023-05-27 22:12:20 +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
9a75561929 Style fixes and cart import/export. 2023-05-27 20:56:26 +02:00
Mario Zechner
ce8e0fb102 Style changes, Ingest Dossier Data from xls converted to csv see https://www.dossier.at/dossiers/supermaerkte/quellen/anatomie-eines-supermarkts-die-methodik/ 2023-05-27 12:33:18 +02:00
Christian Tschugg
a886580469 Refactor UI to generic store syntax 2023-05-26 18:12:29 +02:00
Mario Zechner
42b89fa325 Add highestBefore field for analytic queries, remove price1-10/date1-10. 2023-05-26 16:50:33 +02:00
Mario Zechner
9d22062ca0 Fix button cell in cart table. 2023-05-26 16:13:15 +02:00
Mario Zechner
55af83b3d0 Fix replay(), fix thead see #27 2023-05-26 16:05:42 +02:00
Mario Zechner
bf47a1d268
Merge pull request #27 from iantsch/responsive-tables
Add responsive tables
2023-05-26 15:49:24 +02:00
Christian Tschugg
d427d72174 Fix headerModifier 2023-05-26 14:35:21 +02:00
Christian Tschugg
f1a4c8ce6c Fix responsive tables for carts 2023-05-26 14:21:17 +02:00
Christian Tschugg
0788e7cd53 Add responsive tables 2023-05-26 14:09:15 +02:00
Christian Tschugg
96253ac311 Fix lastPrice to object 2023-05-26 13:24:05 +02:00
Mario Zechner
4d7645efaf Add query link generation. 2023-05-26 11:28:40 +02:00
Mario Zechner
b93ebc1423 No more API, just a static file in site/ 2023-05-26 09:16:26 +02:00
Mario Zechner
f277d207cc Split search filters into more rows. 2023-05-26 08:21:02 +02:00
Mario Zechner
6707b3c1d7 Fix up aktionen, include new stores. 2023-05-26 08:16:35 +02:00
simmac
2de0360298 Added MPREIS support 2023-05-26 00:34:27 +02:00