Commit Graph

452 Commits

Author SHA1 Message Date
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
1b837df6ad Enable etags. 2023-06-10 08:54:40 +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
70cbe07040 Enable JS minification in prod. 2023-06-08 17:09:59 +02:00
Mario Zechner
988b801dff Mario is an idiot. 2023-06-08 16:51:17 +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
6c8993d3de Don't await bundling in server. 2023-06-08 15:14:56 +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
0554e742e6 Merge branch 'badlogic-main' 2023-06-07 22:29:36 +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
Mario Zechner
a728615eff Update README, remove package.sh, let server generate latest-canonical.json. 2023-06-07 16:57:44 +02:00
Mario Zechner
185794ad17
Merge pull request #86 from slhck/improve-env-and-cli
improve node environment handling and CLI
2023-06-07 16:15:03 +02:00
Florian Bauer
878fde581e adapt readme 2023-06-07 15:03:08 +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
Werner Robitza
4e739b98e5 improve node environment handling and CLI
Add proper CLI flags to avoid having positional CLI args. Allow setting options via ENV for other deployments.

Improve README

Split up node environment so that dev/prod can be handled differently in the future.
2023-06-07 14:14:26 +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
c7d2307eb8
Merge pull request #80 from mhochsteger/unimarkt_unit_fixes
Fix unimarkt units
2023-06-06 21:31:01 +02:00
Matthias Hochsteger
17f5b5add4 Fix unimarkt units
Use 1 stk as fallback (7 articles so far).
The other 20 are using "mbe" -> wg (Waschgang).
2023-06-06 21:19:30 +02:00
Mario Zechner
c66bb87895
Merge pull request #79 from mhochsteger/skip_fetching_store_data
Skip fetching store data if SKIP_FETCHING_STORE_DATA env variable is set
2023-06-06 21:13:26 +02:00
Matthias Hochsteger
0184a70fa5 Skip fetching store data if SKIP_FETCHING_STORE_DATA env variable is set 2023-06-06 21:09:45 +02:00
Mario Zechner
098c6b50fa
Merge pull request #78 from mhochsteger/compare_canonical_data_with_reference
Compare generated data with reference file
2023-06-06 20:59:07 +02:00
Matthias Hochsteger
9ff667ec92 Compare generated data with reference file
If existent, compare data with `latest-canonical-reference.json` and store
changes in `latest-canonical-changes.json`. Also prints the number of
changed articles on command line.

This feature is just for development (especially for changes in stores/)
and has no effect on the generated data.
2023-06-06 20:55:02 +02:00
Mario Zechner
689d191769
Merge pull request #77 from tiefenb/main
Add missing unimarkt "haushalt" category
2023-06-06 20:50:22 +02:00
Mario Zechner
8632ca7024
Merge pull request #76 from mhochsteger/fix_spar_units_for_weighted_products
Use price-per-unit field for weighted products in spar
2023-06-06 20:49:50 +02:00
Matthias Hochsteger
e66121e2f2 Use price-per-unit field for weighted products in spar (seems most robust) 2023-06-06 20:38:48 +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