Commit Graph

270 Commits

Author SHA1 Message Date
Mario Zechner
7e0b6ac1f6 Improved compression 2023-06-14 00:11:34 +02:00
rich
9e780d28ec localized EUR y axis text 2023-06-14 00:09:17 +02:00
Mario Zechner
561194e64d Updated links to @h43z 2023-06-13 22:35:18 +02:00
Mario Zechner
69f11e135a Credit historical data sources. 2023-06-13 22:30:00 +02:00
Christian Tschugg
1d574eba81 Fix select all stores ux 2023-06-13 22:04:12 +02:00
Mario Zechner
7ad2a711f0 Merge branch 'main' of https://github.com/badlogic/heissepreise 2023-06-13 20:13:35 +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
3853c7312d
Merge pull request #88 from pretzelhands/patch-2
Change ZIP code in imprint
2023-06-13 19:34:24 +02:00
Mario Zechner
1d2eb5315e Fix some Hofer unit/quantity mistakes, add price per unit to frontend. 2023-06-13 10:09:52 +02:00
Mario Zechner
96422550e2 Fix default sort in changes. 2023-06-13 01:57:17 +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
Mario Zechner
f2bf774d00 More Spar SI style fixes. 2023-06-12 15:36:57 +02:00
Mario Zechner
f103704c81 Fix Spar SI color. 2023-06-12 15:35:52 +02:00
Mario Zechner
fce2f928c7 Spar SI fixes 2023-06-12 15:31:46 +02:00
Mario Zechner
83a1d996a7 Expand chart when item is checked. 2023-06-12 14:52:11 +02:00
Mario Zechner
599207ea4c Disable non-Austrian stores by default. 2023-06-12 14:19:49 +02:00
pretzelhands
c1e36132eb
Change ZIP code in imprint
Because Schörgelgasse is in St. Leonhard and not St. Peter ;)
2023-06-12 14:07:14 +02:00
Mario Zechner
5c65236f6c Spar Slovenia. 2023-06-12 13:08:51 +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
529cb61204 Query sharing in changes.js. 2023-06-12 11:48:47 +02:00
Mario Zechner
df5b78c1d5 Query serialization. 2023-06-12 11:46:59 +02:00
Mario Zechner
d7426bc395 Use new changes.js 2023-06-12 10:32:42 +02:00
Mario Zechner
833dd632fa Fix alaquery filtering. 2023-06-12 10:02:20 +02:00
Mario Zechner
91ed472184 Creature comforts. 2023-06-12 00:54:11 +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
846f9b5861 Fix carts-list, wasn't clearing table body. 2023-06-11 22:03:49 +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
2eaa529f84 Carts list clean-up. 2023-06-10 13:07:36 +02:00
Mario Zechner
12ef72feae New changes.html/.js WIP 2023-06-09 02:03:57 +02:00
Mario Zechner
f6ef2acfe3 Remove old carts.html/.js 2023-06-09 01:31:30 +02:00
Mario Zechner
e35d30add7 Use cross-env so the scripts in package.json work on Windows as well. 2023-06-09 01:24:51 +02:00
Mario Zechner
2e2df3db38 First iteration of new front end structure. 2023-06-09 00:37:29 +02:00
Mario Zechner
1d4c8a6963 bundle.js now generates html (custom templates), css (tailwind cli), and js (esbuild) 2023-06-08 16:29:48 +02:00
Mario Zechner
5240ab2a46 Fix blocking updateData when SKIP_FETCHING_STORE_DATA is set in env. 2023-06-08 15:14:06 +02:00
Mario Zechner
dd2361515e Merge branch 'main' of https://github.com/flobauer/heissepreise
# Conflicts:
#	package-lock.json
#	package.json
2023-06-08 13:56:44 +02:00
Mario Zechner
ec3c8f4ed3 WIP esbuild, bundling, components. 2023-06-08 13:48:08 +02:00
Florian Bauer
4961995839 Improve performance 2023-06-07 23:37:53 +02:00
Florian Bauer
38b914c2bd Merge branch 'main' of github.com:badlogic/heissepreise into badlogic-main 2023-06-07 22:29:15 +02:00
Mario Zechner
f96745cc81 Minor fixes. 2023-06-07 22:00:35 +02:00
Florian Bauer
0effbc1ce1 Merge branch 'main' of github.com:flobauer/heissepreise 2023-06-07 15:00:34 +02:00
Florian Bauer
20e7ea48ac add tailwind build process 2023-06-07 15:00:15 +02:00
Mario Zechner
5d6969d6fe
Merge pull request #84 from slhck/search-prompt
add min characters needed for search to placeholder
2023-06-07 14:58:36 +02:00
Mario Zechner
b8eca155c9 Vendor tailwind. 2023-06-07 13:31:43 +02:00
Werner Robitza
5126d57d84 add min characters needed for search to placeholder 2023-06-07 11:05:52 +02:00
Mario Zechner
65b45815b6 Fix exception when clicking preis label. Not sure what's going on. 2023-06-07 10:33:46 +02:00
Florian Bauer
762032f25e better spading for imprint 2023-06-07 01:04:05 +02:00
Florian Bauer
a5002e55ff Design fixes on very small handhelds. 2023-06-07 00:49:03 +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
8e0c6d24d9 Fix all checkbox behaviour. 2023-06-06 18:42:40 +02:00
Mario Zechner
cb93299990 Fix sorting by name similarity, Billa deduplication. 2023-06-06 18:36:55 +02:00
Mario Zechner
b9ed07eabb Add stopword filtering, filter by unit mismatch when finding similar items. 2023-06-06 16:55:56 +02:00
Mario Zechner
353e3cc77e More categorization work. Run node categorize.js <cart-or-items-json> to see kNN results. 2023-06-06 16:18:01 +02:00
Mario Zechner
23b1ec978a JSON download of cart. 2023-06-06 15:14:57 +02:00
Mario Zechner
6ab871f022 Limit name similarity sort to small result lists. 2023-06-06 00:32:01 +02:00
Mario Zechner
517e1e4cca Add <, <=, >, >= as unit query operators 2023-06-06 00:16:43 +02:00
Mario Zechner
4c599d13d2 Imprint. 2023-06-06 00:01:01 +02:00
Mario Zechner
675b63cf2e
Merge pull request #75 from simmac/main
Add legal disclaimer
2023-06-05 23:59:50 +02:00
Mario Zechner
57fb15670a Quantity unit search and sort by quantity. 2023-06-05 23:38:39 +02:00
Mario Zechner
9d58e20bbd Fixes #74, fall back fetching REWEDE from GitHub pages. 2023-06-05 23:04:03 +02:00
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