Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhacement 2 (read EAN products from HTML file) #3

Merged
merged 16 commits into from
Nov 13, 2021
Merged

Enhacement 2 (read EAN products from HTML file) #3

merged 16 commits into from
Nov 13, 2021

Conversation

areee
Copy link
Owner

@areee areee commented Nov 13, 2021

  • Add new dependency (intl) & use it with csv file name
  • Add new gitignored file (*.html)
  • Add 'assets/files/' directory where to get .txt & save .csv
  • Add 'html' dependency & start 'web scraping' with local html file
  • Update '_loadHtmlFromAssets' method to get EAN codes
  • Move all methods from 'main' file to own files
  • Some refactoring (e.g. move receipt read -> save as csv logic into ow…
  • Save parsed html into eanProduct list
  • Fine-tune ean product name & add quantity
  • Rename 'product.dart' to 'receipt_product.dart'
  • Add price to EANProduct & parse it from html
  • Refactoring: define filePaths in main method
  • Save eanProducts as csv & some refactoring
  • Refactor 'product' -> 'receiptProduct'
  • Move eanProduct csv generating into own file
  • Refactor html to csv generating into own file

@areee areee merged commit 04c1d54 into main Nov 13, 2021
@areee areee deleted the enhacement-2 branch November 13, 2021 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant