Commit Graph

335 Commits

Author SHA1 Message Date
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
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
Markus Tiefenbacher
f76be098c4 Add missing unimarkt "haushalt" category
Products like pet food, soap, shampoo, etc.
2023-06-06 16:55:22 +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
a5cd0f5de8 Fetch Billa data by category. Yields more items. Can be used for categorizing other store items, see categorize.js. 2023-06-06 15:15:39 +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
2bc04ba48f More pages fixes. 2023-06-05 22:37:49 +02:00
Mario Zechner
f60436b59b More Spar unit fixing. 2023-06-05 22:06:38 +02:00
Mario Zechner
91f30e553f Don't lowercase Spar item names. 2023-06-05 21:59:35 +02:00
Mario Zechner
d85d9d4f24 Make name links take up entire <td> 2023-06-05 21:52:02 +02:00
Mario Zechner
d30ef57d9b Fix a bunch of SPAR unit/quantity issues. See #71. 2023-06-05 21:42:57 +02:00